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 /* for raw pointers */ 
 989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) 
 990 #define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags) 
 991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) 
 992 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(ptr, type, flags) 
 993 #define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty)  
 994 #define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src) 
 995 #define swig_owntype                                    int 
 997 /* for raw packed data */ 
 998 #define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
 999 #define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1001 /* for class or struct pointers */ 
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags) 
1003 #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags) 
1005 /* for C or C++ function pointers */ 
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type) 
1007 #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(ptr, type, 0) 
1009 /* for C++ member pointers, ie, member methods */ 
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1011 #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1016 #define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule() 
1017 #define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer) 
1018 #define SWIG_NewClientData(obj)                         PySwigClientData_New(obj) 
1020 #define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                             
1021 #define SWIG_SetErrorMsg                                SWIG_Python_SetErrorMsg                             
1022 #define SWIG_ErrorType(code)                            SWIG_Python_ErrorType(code)                         
1023 #define SWIG_Error(code, msg)                           SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)  
1024 #define SWIG_fail                                       goto fail                                           
1027 /* Runtime API implementation */ 
1029 /* Error manipulation */ 
1032 SWIG_Python_SetErrorObj(PyObject 
*errtype
, PyObject 
*obj
) { 
1033   SWIG_PYTHON_THREAD_BEGIN_BLOCK
;  
1034   PyErr_SetObject(errtype
, obj
); 
1036   SWIG_PYTHON_THREAD_END_BLOCK
; 
1040 SWIG_Python_SetErrorMsg(PyObject 
*errtype
, const char *msg
) { 
1041   SWIG_PYTHON_THREAD_BEGIN_BLOCK
; 
1042   PyErr_SetString(errtype
, (char *) msg
); 
1043   SWIG_PYTHON_THREAD_END_BLOCK
; 
1046 #define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) 
1048 /* Set a constant value */ 
1051 SWIG_Python_SetConstant(PyObject 
*d
, const char *name
, PyObject 
*obj
) {    
1052   PyDict_SetItemString(d
, (char*) name
, obj
); 
1056 /* Append a value to the result obj */ 
1058 SWIGINTERN PyObject
* 
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) { 
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) 
1063   } else if (result 
== Py_None
) { 
1067     if (!PyList_Check(result
)) { 
1068       PyObject 
*o2 
= result
; 
1069       result 
= PyList_New(1); 
1070       PyList_SetItem(result
, 0, o2
); 
1072     PyList_Append(result
,obj
); 
1081   } else if (result 
== Py_None
) { 
1085     if (!PyTuple_Check(result
)) { 
1087       result 
= PyTuple_New(1); 
1088       PyTuple_SET_ITEM(result
, 0, o2
); 
1090     o3 
= PyTuple_New(1); 
1091     PyTuple_SET_ITEM(o3
, 0, obj
); 
1093     result 
= PySequence_Concat(o2
, o3
); 
1101 /* Unpack the argument tuple */ 
1104 SWIG_Python_UnpackTuple(PyObject 
*args
, const char *name
, int min
, int max
, PyObject 
**objs
) 
1110       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",  
1111                    name
, (min 
== max 
? "" : "at least "), min
); 
1115   if (!PyTuple_Check(args
)) { 
1116     PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple"); 
1119     register int l 
= PyTuple_GET_SIZE(args
); 
1121       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1122                    name
, (min 
== max 
? "" : "at least "), min
, l
); 
1124     } else if (l 
> max
) { 
1125       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1126                    name
, (min 
== max 
? "" : "at most "), max
, l
); 
1130       for (i 
= 0; i 
< l
; ++i
) { 
1131         objs
[i
] = PyTuple_GET_ITEM(args
, i
); 
1133       for (; l 
< max
; ++l
) { 
1141 /* A functor is a function object with one single object argument */ 
1142 #if PY_VERSION_HEX >= 0x02020000 
1143 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunctionObjArgs(functor, obj, NULL); 
1145 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunction(functor, "O", obj); 
1149   Helper for static pointer initialization for both C and C++ code, for example 
1150   static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); 
1153 #define SWIG_STATIC_POINTER(var)  var 
1155 #define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var 
1158 /* ----------------------------------------------------------------------------- 
1159  * Pointer declarations 
1160  * ----------------------------------------------------------------------------- */ 
1162 /* Flags for new pointer objects */ 
1163 #define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1) 
1164 #define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) 
1166 #define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1) 
1175 /*  How to access Py_None */ 
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
1177 #  ifndef SWIG_PYTHON_NO_BUILD_NONE 
1178 #    ifndef SWIG_PYTHON_BUILD_NONE 
1179 #      define SWIG_PYTHON_BUILD_NONE 
1184 #ifdef SWIG_PYTHON_BUILD_NONE 
1187 #   define Py_None SWIG_Py_None() 
1189 SWIGRUNTIMEINLINE PyObject 
*  
1192   PyObject 
*none 
= Py_BuildValue(""); 
1196 SWIGRUNTIME PyObject 
*  
1199   static PyObject 
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None(); 
1204 /* The python void return value */ 
1206 SWIGRUNTIMEINLINE PyObject 
*  
1209   PyObject 
*none 
= Py_None
; 
1214 /* PySwigClientData */ 
1225 SWIGRUNTIMEINLINE 
int  
1226 SWIG_Python_CheckImplicit(swig_type_info 
*ty
) 
1228   PySwigClientData 
*data 
= (PySwigClientData 
*)ty
->clientdata
; 
1229   return data 
? data
->implicitconv 
: 0; 
1232 SWIGRUNTIMEINLINE PyObject 
* 
1233 SWIG_Python_ExceptionType(swig_type_info 
*desc
) { 
1234   PySwigClientData 
*data 
= desc 
? (PySwigClientData 
*) desc
->clientdata 
: 0; 
1235   PyObject 
*klass 
= data 
? data
->klass 
: 0; 
1236   return (klass 
? klass 
: PyExc_RuntimeError
); 
1240 SWIGRUNTIME PySwigClientData 
*  
1241 PySwigClientData_New(PyObject
* obj
) 
1246     PySwigClientData 
*data 
= (PySwigClientData 
*)malloc(sizeof(PySwigClientData
)); 
1247     /* the klass element */ 
1249     Py_INCREF(data
->klass
); 
1250     /* the newraw method and newargs arguments used to create a new raw instance */ 
1251     if (PyClass_Check(obj
)) { 
1253       data
->newargs 
= obj
; 
1256 #if (PY_VERSION_HEX < 0x02020000) 
1259       data
->newraw 
= PyObject_GetAttrString(data
->klass
, (char *)"__new__"); 
1262         Py_INCREF(data
->newraw
); 
1263         data
->newargs 
= PyTuple_New(1); 
1264         PyTuple_SetItem(data
->newargs
, 0, obj
); 
1266         data
->newargs 
= obj
; 
1268       Py_INCREF(data
->newargs
); 
1270     /* the destroy method, aka as the C++ delete method */ 
1271     data
->destroy 
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__"); 
1272     if (PyErr_Occurred()) { 
1276     if (data
->destroy
) { 
1278       Py_INCREF(data
->destroy
); 
1279       flags 
= PyCFunction_GET_FLAGS(data
->destroy
); 
1281       data
->delargs 
= !(flags 
& (METH_O
)); 
1288     data
->implicitconv 
= 0; 
1294 PySwigClientData_Del(PySwigClientData
* data
) 
1296   Py_XDECREF(data
->newraw
); 
1297   Py_XDECREF(data
->newargs
); 
1298   Py_XDECREF(data
->destroy
); 
1301 /* =============== PySwigObject =====================*/ 
1311 SWIGRUNTIME PyObject 
* 
1312 PySwigObject_long(PySwigObject 
*v
) 
1314   return PyLong_FromVoidPtr(v
->ptr
); 
1317 SWIGRUNTIME PyObject 
* 
1318 PySwigObject_format(const char* fmt
, PySwigObject 
*v
) 
1320   PyObject 
*res 
= NULL
; 
1321   PyObject 
*args 
= PyTuple_New(1); 
1323     if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) { 
1324       PyObject 
*ofmt 
= PyString_FromString(fmt
); 
1326         res 
= PyString_Format(ofmt
,args
); 
1335 SWIGRUNTIME PyObject 
* 
1336 PySwigObject_oct(PySwigObject 
*v
) 
1338   return PySwigObject_format("%o",v
); 
1341 SWIGRUNTIME PyObject 
* 
1342 PySwigObject_hex(PySwigObject 
*v
) 
1344   return PySwigObject_format("%x",v
); 
1347 SWIGRUNTIME PyObject 
* 
1349 PySwigObject_repr(PySwigObject 
*v
) 
1351 PySwigObject_repr(PySwigObject 
*v
, PyObject 
*args
) 
1354   const char *name 
= SWIG_TypePrettyName(v
->ty
); 
1355   PyObject 
*hex 
= PySwigObject_hex(v
);     
1356   PyObject 
*repr 
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
)); 
1360     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
); 
1362     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
, args
); 
1364     PyString_ConcatAndDel(&repr
,nrep
); 
1370 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1373   PyObject 
*repr 
= PySwigObject_repr(v
); 
1375   PyObject 
*repr 
= PySwigObject_repr(v
, NULL
); 
1378     fputs(PyString_AsString(repr
), fp
); 
1386 SWIGRUNTIME PyObject 
* 
1387 PySwigObject_str(PySwigObject 
*v
) 
1389   char result
[SWIG_BUFFER_SIZE
]; 
1390   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ? 
1391     PyString_FromString(result
) : 0; 
1395 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
1399   return (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void); 
1404 SWIGRUNTIME PyTypeObject
* 
1405 PySwigObject_type(void) { 
1406   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type(); 
1410 SWIGRUNTIMEINLINE 
int 
1411 PySwigObject_Check(PyObject 
*op
) { 
1412   return ((op
)->ob_type 
== PySwigObject_type()) 
1413     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
1416 SWIGRUNTIME PyObject 
* 
1417 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
); 
1420 PySwigObject_dealloc(PyObject 
*v
) 
1422   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1423   PyObject 
*next 
= sobj
->next
; 
1425     swig_type_info 
*ty 
= sobj
->ty
; 
1426     PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
1427     PyObject 
*destroy 
= data 
? data
->destroy 
: 0; 
1429       /* destroy is always a VARARGS method */ 
1431       if (data
->delargs
) { 
1432         /* we need to create a temporal object to carry the destroy operation */ 
1433         PyObject 
*tmp 
= PySwigObject_New(sobj
->ptr
, ty
, 0); 
1434         res 
= SWIG_Python_CallFunctor(destroy
, tmp
); 
1437         PyCFunction meth 
= PyCFunction_GET_FUNCTION(destroy
); 
1438         PyObject 
*mself 
= PyCFunction_GET_SELF(destroy
); 
1439         res 
= ((*meth
)(mself
, v
)); 
1443       const char *name 
= SWIG_TypePrettyName(ty
); 
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 
1445       printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
); 
1453 SWIGRUNTIME PyObject
*  
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
) 
1456   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1459   if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
; 
1462   if (!PySwigObject_Check(next
)) { 
1467   return SWIG_Py_Void(); 
1470 SWIGRUNTIME PyObject
*  
1472 PySwigObject_next(PyObject
* v
) 
1474 PySwigObject_next(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1477   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1479     Py_INCREF(sobj
->next
); 
1482     return SWIG_Py_Void(); 
1486 SWIGINTERN PyObject
* 
1488 PySwigObject_disown(PyObject 
*v
) 
1490 PySwigObject_disown(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1493   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1495   return SWIG_Py_Void(); 
1498 SWIGINTERN PyObject
* 
1500 PySwigObject_acquire(PyObject 
*v
) 
1502 PySwigObject_acquire(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1505   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1506   sobj
->own 
= SWIG_POINTER_OWN
; 
1507   return SWIG_Py_Void(); 
1510 SWIGINTERN PyObject
* 
1511 PySwigObject_own(PyObject 
*v
, PyObject 
*args
) 
1514 #if (PY_VERSION_HEX < 0x02020000) 
1515   if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
)) 
1517   if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))  
1524       PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1525       PyObject 
*obj 
= PyBool_FromLong(sobj
->own
); 
1528         if (PyObject_IsTrue(val
)) { 
1529           PySwigObject_acquire(v
); 
1531           PySwigObject_disown(v
); 
1534         if (PyObject_IsTrue(val
)) { 
1535           PySwigObject_acquire(v
,args
); 
1537           PySwigObject_disown(v
,args
); 
1547 swigobject_methods
[] = { 
1548   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_NOARGS
,  (char *)"releases ownership of the pointer"}, 
1549   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
,  (char *)"aquires ownership of the pointer"}, 
1550   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
, (char *)"returns/sets ownership of the pointer"}, 
1551   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_O
,       (char *)"appends another 'this' object"}, 
1552   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_NOARGS
,  (char *)"returns the next 'this' object"}, 
1553   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,    METH_NOARGS
,  (char *)"returns object representation"}, 
1558 swigobject_methods
[] = { 
1559   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_VARARGS
,  (char *)"releases ownership of the pointer"}, 
1560   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
,  (char *)"aquires ownership of the pointer"}, 
1561   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
,  (char *)"returns/sets ownership of the pointer"}, 
1562   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_VARARGS
,  (char *)"appends another 'this' object"}, 
1563   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_VARARGS
,  (char *)"returns the next 'this' object"}, 
1564   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,   METH_VARARGS
,  (char *)"returns object representation"}, 
1569 #if PY_VERSION_HEX < 0x02020000 
1570 SWIGINTERN PyObject 
* 
1571 PySwigObject_getattr(PySwigObject 
*sobj
,char *name
) 
1573   return Py_FindMethod(swigobject_methods
, (PyObject 
*)sobj
, name
); 
1577 SWIGRUNTIME PyTypeObject
* 
1578 _PySwigObject_type(void) { 
1579   static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1581   static PyNumberMethods PySwigObject_as_number 
= { 
1582     (binaryfunc
)0, /*nb_add*/ 
1583     (binaryfunc
)0, /*nb_subtract*/ 
1584     (binaryfunc
)0, /*nb_multiply*/ 
1585     (binaryfunc
)0, /*nb_divide*/ 
1586     (binaryfunc
)0, /*nb_remainder*/ 
1587     (binaryfunc
)0, /*nb_divmod*/ 
1588     (ternaryfunc
)0,/*nb_power*/ 
1589     (unaryfunc
)0,  /*nb_negative*/ 
1590     (unaryfunc
)0,  /*nb_positive*/ 
1591     (unaryfunc
)0,  /*nb_absolute*/ 
1592     (inquiry
)0,    /*nb_nonzero*/ 
1599     (coercion
)0,   /*nb_coerce*/ 
1600     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
1601     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
1602     (unaryfunc
)0,                 /*nb_float*/ 
1603     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
1604     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
1605 #if PY_VERSION_HEX >= 0x02020000 
1606     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
1607 #elif PY_VERSION_HEX >= 0x02000000 
1608     0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ 
1612   static PyTypeObject pyswigobject_type
;   
1613   static int type_init 
= 0; 
1615     const PyTypeObject tmp
 
1617         PyObject_HEAD_INIT(NULL
) 
1619         (char *)"PySwigObject",             /* tp_name */ 
1620         sizeof(PySwigObject
),               /* tp_basicsize */ 
1621         0,                                  /* tp_itemsize */ 
1622         (destructor
)PySwigObject_dealloc
,   /* tp_dealloc */ 
1623         (printfunc
)PySwigObject_print
,      /* tp_print */ 
1624 #if PY_VERSION_HEX < 0x02020000 
1625         (getattrfunc
)PySwigObject_getattr
,  /* tp_getattr */  
1627         (getattrfunc
)0,                     /* tp_getattr */  
1629         (setattrfunc
)0,                     /* tp_setattr */  
1630         (cmpfunc
)PySwigObject_compare
,      /* tp_compare */  
1631         (reprfunc
)PySwigObject_repr
,        /* tp_repr */     
1632         &PySwigObject_as_number
,            /* tp_as_number */ 
1633         0,                                  /* tp_as_sequence */ 
1634         0,                                  /* tp_as_mapping */ 
1635         (hashfunc
)0,                        /* tp_hash */ 
1636         (ternaryfunc
)0,                     /* tp_call */ 
1637         (reprfunc
)PySwigObject_str
,         /* tp_str */ 
1638         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1639         0,                                  /* tp_setattro */ 
1640         0,                                  /* tp_as_buffer */ 
1641         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1642         swigobject_doc
,                     /* tp_doc */         
1643         0,                                  /* tp_traverse */ 
1645         0,                                  /* tp_richcompare */ 
1646         0,                                  /* tp_weaklistoffset */ 
1647 #if PY_VERSION_HEX >= 0x02020000 
1649         0,                                  /* tp_iternext */ 
1650         swigobject_methods
,                 /* tp_methods */  
1655         0,                                  /* tp_descr_get */           
1656         0,                                  /* tp_descr_set */           
1657         0,                                  /* tp_dictoffset */          
1666         0,                                  /* tp_subclasses */ 
1667         0,                                  /* tp_weaklist */ 
1669 #if PY_VERSION_HEX >= 0x02030000 
1673         0,0,0,0                             /* tp_alloc -> tp_next */ 
1676     pyswigobject_type 
= tmp
; 
1677     pyswigobject_type
.ob_type 
= &PyType_Type
; 
1680   return &pyswigobject_type
; 
1683 SWIGRUNTIME PyObject 
* 
1684 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
) 
1686   PySwigObject 
*sobj 
= PyObject_NEW(PySwigObject
, PySwigObject_type()); 
1693   return (PyObject 
*)sobj
; 
1696 /* ----------------------------------------------------------------------------- 
1697  * Implements a simple Swig Packed type, and use it instead of string 
1698  * ----------------------------------------------------------------------------- */ 
1708 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1710   char result
[SWIG_BUFFER_SIZE
]; 
1711   fputs("<Swig Packed ", fp
);  
1712   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1716   fputs(v
->ty
->name
,fp
);  
1721 SWIGRUNTIME PyObject 
* 
1722 PySwigPacked_repr(PySwigPacked 
*v
) 
1724   char result
[SWIG_BUFFER_SIZE
]; 
1725   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1726     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
); 
1728     return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
); 
1732 SWIGRUNTIME PyObject 
* 
1733 PySwigPacked_str(PySwigPacked 
*v
) 
1735   char result
[SWIG_BUFFER_SIZE
]; 
1736   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
1737     return PyString_FromFormat("%s%s", result
, v
->ty
->name
); 
1739     return PyString_FromString(v
->ty
->name
); 
1744 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
1748   int s 
= (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1749   return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void); 
1754 SWIGRUNTIME PyTypeObject
* 
1755 PySwigPacked_type(void) { 
1756   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type(); 
1760 SWIGRUNTIMEINLINE 
int 
1761 PySwigPacked_Check(PyObject 
*op
) { 
1762   return ((op
)->ob_type 
== _PySwigPacked_type())  
1763     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
1767 PySwigPacked_dealloc(PyObject 
*v
) 
1769   if (PySwigPacked_Check(v
)) { 
1770     PySwigPacked 
*sobj 
= (PySwigPacked 
*) v
; 
1776 SWIGRUNTIME PyTypeObject
* 
1777 _PySwigPacked_type(void) { 
1778   static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1779   static PyTypeObject pyswigpacked_type
; 
1780   static int type_init 
= 0;   
1782     const PyTypeObject tmp
 
1784         PyObject_HEAD_INIT(NULL
) 
1786         (char *)"PySwigPacked",             /* tp_name */        
1787         sizeof(PySwigPacked
),               /* tp_basicsize */   
1788         0,                                  /* tp_itemsize */    
1789         (destructor
)PySwigPacked_dealloc
,   /* tp_dealloc */     
1790         (printfunc
)PySwigPacked_print
,      /* tp_print */       
1791         (getattrfunc
)0,                     /* tp_getattr */     
1792         (setattrfunc
)0,                     /* tp_setattr */     
1793         (cmpfunc
)PySwigPacked_compare
,      /* tp_compare */     
1794         (reprfunc
)PySwigPacked_repr
,        /* tp_repr */        
1795         0,                                  /* tp_as_number */   
1796         0,                                  /* tp_as_sequence */ 
1797         0,                                  /* tp_as_mapping */  
1798         (hashfunc
)0,                        /* tp_hash */        
1799         (ternaryfunc
)0,                     /* tp_call */        
1800         (reprfunc
)PySwigPacked_str
,         /* tp_str */         
1801         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1802         0,                                  /* tp_setattro */ 
1803         0,                                  /* tp_as_buffer */ 
1804         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1805         swigpacked_doc
,                     /* tp_doc */ 
1806         0,                                  /* tp_traverse */ 
1808         0,                                  /* tp_richcompare */ 
1809         0,                                  /* tp_weaklistoffset */ 
1810 #if PY_VERSION_HEX >= 0x02020000 
1812         0,                                  /* tp_iternext */ 
1818         0,                                  /* tp_descr_get */           
1819         0,                                  /* tp_descr_set */           
1820         0,                                  /* tp_dictoffset */          
1829         0,                                  /* tp_subclasses */ 
1830         0,                                  /* tp_weaklist */ 
1832 #if PY_VERSION_HEX >= 0x02030000 
1836         0,0,0,0                             /* tp_alloc -> tp_next */ 
1839     pyswigpacked_type 
= tmp
; 
1840     pyswigpacked_type
.ob_type 
= &PyType_Type
; 
1843   return &pyswigpacked_type
; 
1846 SWIGRUNTIME PyObject 
* 
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info 
*ty
) 
1849   PySwigPacked 
*sobj 
= PyObject_NEW(PySwigPacked
, PySwigPacked_type()); 
1851     void *pack 
= malloc(size
); 
1853       memcpy(pack
, ptr
, size
); 
1858       PyObject_DEL((PyObject 
*) sobj
); 
1862   return (PyObject 
*) sobj
; 
1865 SWIGRUNTIME swig_type_info 
* 
1866 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
1868   if (PySwigPacked_Check(obj
)) { 
1869     PySwigPacked 
*sobj 
= (PySwigPacked 
*)obj
; 
1870     if (sobj
->size 
!= size
) return 0; 
1871     memcpy(ptr
, sobj
->pack
, size
); 
1878 /* ----------------------------------------------------------------------------- 
1879  * pointers/data manipulation 
1880  * ----------------------------------------------------------------------------- */ 
1882 SWIGRUNTIMEINLINE PyObject 
* 
1885   return PyString_FromString("this"); 
1888 SWIGRUNTIME PyObject 
* 
1891   static PyObject 
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This(); 
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ 
1897 SWIGRUNTIME PySwigObject 
* 
1898 SWIG_Python_GetSwigThis(PyObject 
*pyobj
)  
1900   if (PySwigObject_Check(pyobj
)) { 
1901     return (PySwigObject 
*) pyobj
; 
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) 
1905     if (PyInstance_Check(pyobj
)) { 
1906       obj 
= _PyInstance_Lookup(pyobj
, SWIG_This());       
1908       PyObject 
**dictptr 
= _PyObject_GetDictPtr(pyobj
); 
1909       if (dictptr 
!= NULL
) { 
1910         PyObject 
*dict 
= *dictptr
; 
1911         obj 
= dict 
? PyDict_GetItem(dict
, SWIG_This()) : 0; 
1913 #ifdef PyWeakref_CheckProxy 
1914         if (PyWeakref_CheckProxy(pyobj
)) { 
1915           PyObject 
*wobj 
= PyWeakref_GET_OBJECT(pyobj
); 
1916           return wobj 
? SWIG_Python_GetSwigThis(wobj
) : 0; 
1919         obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1923           if (PyErr_Occurred()) PyErr_Clear(); 
1929     obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1933       if (PyErr_Occurred()) PyErr_Clear(); 
1937     if (obj 
&& !PySwigObject_Check(obj
)) { 
1938       /* a PyObject is called 'this', try to get the 'real this' 
1939          PySwigObject from it */  
1940       return SWIG_Python_GetSwigThis(obj
); 
1942     return (PySwigObject 
*)obj
; 
1946 /* Acquire a pointer value */ 
1949 SWIG_Python_AcquirePtr(PyObject 
*obj
, int own
) { 
1951     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1953       int oldown 
= sobj
->own
; 
1961 /* Convert a pointer value */ 
1964 SWIG_Python_ConvertPtrAndOwn(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
, int *own
) { 
1965   if (!obj
) return SWIG_ERROR
; 
1966   if (obj 
== Py_None
) { 
1970     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1972       void *vptr 
= sobj
->ptr
; 
1974         swig_type_info 
*to 
= sobj
->ty
; 
1976           /* no type cast needed */ 
1977           if (ptr
) *ptr 
= vptr
; 
1980           swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
1982             sobj 
= (PySwigObject 
*)sobj
->next
; 
1984             if (ptr
) *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1989         if (ptr
) *ptr 
= vptr
; 
1994       if (own
) *own 
= sobj
->own
; 
1995       if (flags 
& SWIG_POINTER_DISOWN
) { 
2000       int res 
= SWIG_ERROR
; 
2001       if (flags 
& SWIG_POINTER_IMPLICIT_CONV
) { 
2002         PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
2003         if (data 
&& !data
->implicitconv
) { 
2004           PyObject 
*klass 
= data
->klass
; 
2007             data
->implicitconv 
= 1; /* avoid recursion and call 'explicit' constructors*/ 
2008             impconv 
= SWIG_Python_CallFunctor(klass
, obj
); 
2009             data
->implicitconv 
= 0; 
2010             if (PyErr_Occurred()) { 
2015               PySwigObject 
*iobj 
= SWIG_Python_GetSwigThis(impconv
); 
2018                 res 
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0); 
2019                 if (SWIG_IsOK(res
)) { 
2022                     /* transfer the ownership to 'ptr' */ 
2024                     res 
= SWIG_AddCast(res
); 
2025                     res 
= SWIG_AddNewMask(res
); 
2027                     res 
= SWIG_AddCast(res
);                 
2041 /* Convert a function ptr value */ 
2044 SWIG_Python_ConvertFunctionPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
) { 
2045   if (!PyCFunction_Check(obj
)) { 
2046     return SWIG_ConvertPtr(obj
, ptr
, ty
, 0); 
2050     /* here we get the method pointer for callbacks */ 
2051     char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
2052     const char *desc 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
2054       desc 
= ty 
? SWIG_UnpackVoidPtr(desc 
+ 10, &vptr
, ty
->name
) : 0; 
2055       if (!desc
) return SWIG_ERROR
; 
2058       swig_cast_info 
*tc 
= SWIG_TypeCheck(desc
,ty
); 
2059       if (!tc
) return SWIG_ERROR
; 
2060       *ptr 
= SWIG_TypeCast(tc
,vptr
); 
2068 /* Convert a packed value value */ 
2071 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
) { 
2072   swig_type_info 
*to 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
2073   if (!to
) return SWIG_ERROR
; 
2076       /* check type cast? */ 
2077       swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
2078       if (!tc
) return SWIG_ERROR
; 
2084 /* ----------------------------------------------------------------------------- 
2085  * Create a new pointer object 
2086  * ----------------------------------------------------------------------------- */ 
2089   Create a new instance object, whitout calling __init__, and set the 
2093 SWIGRUNTIME PyObject
*  
2094 SWIG_Python_NewShadowInstance(PySwigClientData 
*data
, PyObject 
*swig_this
) 
2096 #if (PY_VERSION_HEX >= 0x02020000) 
2098   PyObject 
*newraw 
= data
->newraw
; 
2100     inst 
= PyObject_Call(newraw
, data
->newargs
, NULL
); 
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2103       PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2104       if (dictptr 
!= NULL
) { 
2105         PyObject 
*dict 
= *dictptr
; 
2107           dict 
= PyDict_New(); 
2109           PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2113       PyObject 
*key 
= SWIG_This(); 
2114       PyObject_SetAttr(inst
, key
, swig_this
); 
2118     PyObject 
*dict 
= PyDict_New(); 
2119     PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2120     inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2125 #if (PY_VERSION_HEX >= 0x02010000) 
2127   PyObject 
*dict 
= PyDict_New(); 
2128   PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2129   inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2131   return (PyObject 
*) inst
; 
2133   PyInstanceObject 
*inst 
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
); 
2137   inst
->in_class 
= (PyClassObject 
*)data
->newargs
; 
2138   Py_INCREF(inst
->in_class
); 
2139   inst
->in_dict 
= PyDict_New(); 
2140   if (inst
->in_dict 
== NULL
) { 
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS 
2145   inst
->in_weakreflist 
= NULL
; 
2147 #ifdef Py_TPFLAGS_GC 
2148   PyObject_GC_Init(inst
); 
2150   PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
); 
2151   return (PyObject 
*) inst
; 
2157 SWIG_Python_SetSwigThis(PyObject 
*inst
, PyObject 
*swig_this
) 
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2161  PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2162  if (dictptr 
!= NULL
) { 
2165      dict 
= PyDict_New(); 
2168    PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2172  dict 
= PyObject_GetAttrString(inst
, "__dict__"); 
2173  PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2178 SWIGINTERN PyObject 
* 
2179 SWIG_Python_InitShadowInstance(PyObject 
*args
) { 
2181   if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) { 
2184     PySwigObject 
*sthis 
= SWIG_Python_GetSwigThis(obj
[0]); 
2186       PySwigObject_append((PyObject
*) sthis
, obj
[1]); 
2188       SWIG_Python_SetSwigThis(obj
[0], obj
[1]); 
2190     return SWIG_Py_Void(); 
2194 /* Create a new pointer object */ 
2196 SWIGRUNTIME PyObject 
* 
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int flags
) { 
2199     return SWIG_Py_Void(); 
2201     int own 
= (flags 
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN 
: 0; 
2202     PyObject 
*robj 
= PySwigObject_New(ptr
, type
, own
); 
2203     PySwigClientData 
*clientdata 
= type 
? (PySwigClientData 
*)(type
->clientdata
) : 0; 
2204     if (clientdata 
&& !(flags 
& SWIG_POINTER_NOSHADOW
)) { 
2205       PyObject 
*inst 
= SWIG_Python_NewShadowInstance(clientdata
, robj
); 
2215 /* Create a new packed object */ 
2217 SWIGRUNTIMEINLINE PyObject 
* 
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
2219   return ptr 
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void(); 
2222 /* -----------------------------------------------------------------------------* 
2224  * -----------------------------------------------------------------------------*/ 
2226 #ifdef SWIG_LINK_RUNTIME 
2227 void *SWIG_ReturnGlobalTypeList(void *); 
2230 SWIGRUNTIME swig_module_info 
* 
2231 SWIG_Python_GetModule(void) { 
2232   static void *type_pointer 
= (void *)0; 
2233   /* first check if module already created */ 
2234   if (!type_pointer
) { 
2235 #ifdef SWIG_LINK_RUNTIME 
2236     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
2238     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2239                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
2240     if (PyErr_Occurred()) { 
2242       type_pointer 
= (void *)0; 
2246   return (swig_module_info 
*) type_pointer
; 
2249 #if PY_MAJOR_VERSION < 2 
2250 /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
2251    is copied out of Python/modsupport.c in python version 2.3.4 */ 
2253 PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
2256   if (!PyModule_Check(m
)) { 
2257     PyErr_SetString(PyExc_TypeError
, 
2258                     "PyModule_AddObject() needs module as first arg"); 
2262     PyErr_SetString(PyExc_TypeError
, 
2263                     "PyModule_AddObject() needs non-NULL value"); 
2267   dict 
= PyModule_GetDict(m
); 
2269     /* Internal error -- modules must have a dict! */ 
2270     PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
2271                  PyModule_GetName(m
)); 
2274   if (PyDict_SetItemString(dict
, name
, o
)) 
2282 SWIG_Python_DestroyModule(void *vptr
) 
2284   swig_module_info 
*swig_module 
= (swig_module_info 
*) vptr
; 
2285   swig_type_info 
**types 
= swig_module
->types
; 
2287   for (i 
=0; i 
< swig_module
->size
; ++i
) { 
2288     swig_type_info 
*ty 
= types
[i
]; 
2290       PySwigClientData 
*data 
= (PySwigClientData 
*) ty
->clientdata
; 
2291       if (data
) PySwigClientData_Del(data
); 
2294   Py_DECREF(SWIG_This()); 
2298 SWIG_Python_SetModule(swig_module_info 
*swig_module
) { 
2299   static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */ 
2301   PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2302                                    swig_empty_runtime_method_table
); 
2303   PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
); 
2304   if (pointer 
&& module) { 
2305     PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
2307     Py_XDECREF(pointer
); 
2311 /* The python cached type query */ 
2312 SWIGRUNTIME PyObject 
* 
2313 SWIG_Python_TypeCache() { 
2314   static PyObject 
*SWIG_STATIC_POINTER(cache
) = PyDict_New(); 
2318 SWIGRUNTIME swig_type_info 
* 
2319 SWIG_Python_TypeQuery(const char *type
) 
2321   PyObject 
*cache 
= SWIG_Python_TypeCache(); 
2322   PyObject 
*key 
= PyString_FromString(type
);  
2323   PyObject 
*obj 
= PyDict_GetItem(cache
, key
); 
2324   swig_type_info 
*descriptor
; 
2326     descriptor 
= (swig_type_info 
*) PyCObject_AsVoidPtr(obj
); 
2328     swig_module_info 
*swig_module 
= SWIG_Python_GetModule(); 
2329     descriptor 
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
); 
2331       obj 
= PyCObject_FromVoidPtr(descriptor
, NULL
); 
2332       PyDict_SetItem(cache
, key
, obj
); 
2341    For backward compatibility only 
2343 #define SWIG_POINTER_EXCEPTION  0 
2344 #define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg) 
2345 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
2350   if (PyErr_Occurred()) { 
2352     PyObject 
*value 
= 0; 
2353     PyObject 
*traceback 
= 0; 
2354     PyErr_Fetch(&type
, &value
, &traceback
); 
2356       PyObject 
*old_str 
= PyObject_Str(value
); 
2360         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
2362         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
2373 SWIG_Python_ArgFail(int argnum
) 
2375   if (PyErr_Occurred()) { 
2376     /* add information about failing argument */ 
2378     PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
); 
2379     return SWIG_Python_AddErrMesg(mesg
, 1); 
2385 SWIGRUNTIMEINLINE 
const char * 
2386 PySwigObject_GetDesc(PyObject 
*self
) 
2388   PySwigObject 
*v 
= (PySwigObject 
*)self
; 
2389   swig_type_info 
*ty 
= v 
? v
->ty 
: 0; 
2390   return ty 
? ty
->str 
: (char*)""; 
2394 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
2397 #if defined(SWIG_COBJECT_TYPES) 
2398     if (obj 
&& PySwigObject_Check(obj
)) { 
2399       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
2401         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
2408       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
2410         PyObject 
*str 
= PyObject_Str(obj
); 
2411         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
2413           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
2416           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
2423     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
2425     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
2430 /* Convert a pointer value, signal an exception on a type mismatch */ 
2432 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
2434   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
2436     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
2437       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
2438       SWIG_Python_ArgFail(argnum
); 
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)  
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else  
2460 /* -------- TYPES TABLE (BEGIN) -------- */ 
2462 #define SWIGTYPE_p_char swig_types[0] 
2463 #define SWIGTYPE_p_form_ops_t swig_types[1] 
2464 #define SWIGTYPE_p_int swig_types[2] 
2465 #define SWIGTYPE_p_long swig_types[3] 
2466 #define SWIGTYPE_p_unsigned_char swig_types[4] 
2467 #define SWIGTYPE_p_unsigned_int swig_types[5] 
2468 #define SWIGTYPE_p_unsigned_long swig_types[6] 
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7] 
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] 
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9] 
2472 #define SWIGTYPE_p_wxArrayString swig_types[10] 
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11] 
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12] 
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13] 
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14] 
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15] 
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16] 
2479 #define SWIGTYPE_p_wxColour swig_types[17] 
2480 #define SWIGTYPE_p_wxColourData swig_types[18] 
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19] 
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20] 
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21] 
2484 #define SWIGTYPE_p_wxControl swig_types[22] 
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23] 
2486 #define SWIGTYPE_p_wxDC swig_types[24] 
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25] 
2488 #define SWIGTYPE_p_wxDialog swig_types[26] 
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27] 
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28] 
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29] 
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30] 
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31] 
2494 #define SWIGTYPE_p_wxEvent swig_types[32] 
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33] 
2496 #define SWIGTYPE_p_wxFSFile swig_types[34] 
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35] 
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36] 
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37] 
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38] 
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39] 
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40] 
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41] 
2504 #define SWIGTYPE_p_wxFont swig_types[42] 
2505 #define SWIGTYPE_p_wxFontData swig_types[43] 
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44] 
2507 #define SWIGTYPE_p_wxFrame swig_types[45] 
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46] 
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47] 
2510 #define SWIGTYPE_p_wxGrid swig_types[48] 
2511 #define SWIGTYPE_p_wxGridBagSizer swig_types[49] 
2512 #define SWIGTYPE_p_wxGridCellAttr swig_types[50] 
2513 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[51] 
2514 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[52] 
2515 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[53] 
2516 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[54] 
2517 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[55] 
2518 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56] 
2519 #define SWIGTYPE_p_wxGridCellCoords swig_types[57] 
2520 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[58] 
2521 #define SWIGTYPE_p_wxGridCellEditor swig_types[59] 
2522 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[60] 
2523 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[61] 
2524 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[62] 
2525 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[63] 
2526 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[64] 
2527 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[65] 
2528 #define SWIGTYPE_p_wxGridCellRenderer swig_types[66] 
2529 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[67] 
2530 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[68] 
2531 #define SWIGTYPE_p_wxGridCellWorker swig_types[69] 
2532 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[70] 
2533 #define SWIGTYPE_p_wxGridEvent swig_types[71] 
2534 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[72] 
2535 #define SWIGTYPE_p_wxGridSizeEvent swig_types[73] 
2536 #define SWIGTYPE_p_wxGridSizer swig_types[74] 
2537 #define SWIGTYPE_p_wxGridStringTable swig_types[75] 
2538 #define SWIGTYPE_p_wxGridTableBase swig_types[76] 
2539 #define SWIGTYPE_p_wxGridTableMessage swig_types[77] 
2540 #define SWIGTYPE_p_wxICOHandler swig_types[78] 
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[79] 
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[80] 
2543 #define SWIGTYPE_p_wxImage swig_types[81] 
2544 #define SWIGTYPE_p_wxImageHandler swig_types[82] 
2545 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83] 
2546 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84] 
2547 #define SWIGTYPE_p_wxJPEGHandler swig_types[85] 
2548 #define SWIGTYPE_p_wxKeyEvent swig_types[86] 
2549 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[87] 
2550 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88] 
2551 #define SWIGTYPE_p_wxMDIChildFrame swig_types[89] 
2552 #define SWIGTYPE_p_wxMDIClientWindow swig_types[90] 
2553 #define SWIGTYPE_p_wxMDIParentFrame swig_types[91] 
2554 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92] 
2555 #define SWIGTYPE_p_wxMenu swig_types[93] 
2556 #define SWIGTYPE_p_wxMenuBar swig_types[94] 
2557 #define SWIGTYPE_p_wxMenuEvent swig_types[95] 
2558 #define SWIGTYPE_p_wxMenuItem swig_types[96] 
2559 #define SWIGTYPE_p_wxMessageDialog swig_types[97] 
2560 #define SWIGTYPE_p_wxMiniFrame swig_types[98] 
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99] 
2562 #define SWIGTYPE_p_wxMouseEvent swig_types[100] 
2563 #define SWIGTYPE_p_wxMoveEvent swig_types[101] 
2564 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[102] 
2565 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103] 
2566 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104] 
2567 #define SWIGTYPE_p_wxNotifyEvent swig_types[105] 
2568 #define SWIGTYPE_p_wxObject swig_types[106] 
2569 #define SWIGTYPE_p_wxPCXHandler swig_types[107] 
2570 #define SWIGTYPE_p_wxPNGHandler swig_types[108] 
2571 #define SWIGTYPE_p_wxPNMHandler swig_types[109] 
2572 #define SWIGTYPE_p_wxPageSetupDialog swig_types[110] 
2573 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[111] 
2574 #define SWIGTYPE_p_wxPaintEvent swig_types[112] 
2575 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113] 
2576 #define SWIGTYPE_p_wxPanel swig_types[114] 
2577 #define SWIGTYPE_p_wxPaperSize swig_types[115] 
2578 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[116] 
2579 #define SWIGTYPE_p_wxPoint swig_types[117] 
2580 #define SWIGTYPE_p_wxPopupWindow swig_types[118] 
2581 #define SWIGTYPE_p_wxPreviewCanvas swig_types[119] 
2582 #define SWIGTYPE_p_wxPreviewControlBar swig_types[120] 
2583 #define SWIGTYPE_p_wxPreviewFrame swig_types[121] 
2584 #define SWIGTYPE_p_wxPrintData swig_types[122] 
2585 #define SWIGTYPE_p_wxPrintDialog swig_types[123] 
2586 #define SWIGTYPE_p_wxPrintDialogData swig_types[124] 
2587 #define SWIGTYPE_p_wxPrintPreview swig_types[125] 
2588 #define SWIGTYPE_p_wxPrinter swig_types[126] 
2589 #define SWIGTYPE_p_wxProgressDialog swig_types[127] 
2590 #define SWIGTYPE_p_wxPyApp swig_types[128] 
2591 #define SWIGTYPE_p_wxPyCommandEvent swig_types[129] 
2592 #define SWIGTYPE_p_wxPyEvent swig_types[130] 
2593 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[131] 
2594 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[132] 
2595 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[133] 
2596 #define SWIGTYPE_p_wxPyGridTableBase swig_types[134] 
2597 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[135] 
2598 #define SWIGTYPE_p_wxPyImageHandler swig_types[136] 
2599 #define SWIGTYPE_p_wxPyPanel swig_types[137] 
2600 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[138] 
2601 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[139] 
2602 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[140] 
2603 #define SWIGTYPE_p_wxPyPrintPreview swig_types[141] 
2604 #define SWIGTYPE_p_wxPyPrintout swig_types[142] 
2605 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[143] 
2606 #define SWIGTYPE_p_wxPySizer swig_types[144] 
2607 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[145] 
2608 #define SWIGTYPE_p_wxPyVListBox swig_types[146] 
2609 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[147] 
2610 #define SWIGTYPE_p_wxPyValidator swig_types[148] 
2611 #define SWIGTYPE_p_wxPyWindow swig_types[149] 
2612 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[150] 
2613 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[151] 
2614 #define SWIGTYPE_p_wxRect swig_types[152] 
2615 #define SWIGTYPE_p_wxSashEvent swig_types[153] 
2616 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[154] 
2617 #define SWIGTYPE_p_wxSashWindow swig_types[155] 
2618 #define SWIGTYPE_p_wxScrollEvent swig_types[156] 
2619 #define SWIGTYPE_p_wxScrollWinEvent swig_types[157] 
2620 #define SWIGTYPE_p_wxScrolledWindow swig_types[158] 
2621 #define SWIGTYPE_p_wxSetCursorEvent swig_types[159] 
2622 #define SWIGTYPE_p_wxShowEvent swig_types[160] 
2623 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[161] 
2624 #define SWIGTYPE_p_wxSizeEvent swig_types[162] 
2625 #define SWIGTYPE_p_wxSizer swig_types[163] 
2626 #define SWIGTYPE_p_wxSizerItem swig_types[164] 
2627 #define SWIGTYPE_p_wxSplashScreen swig_types[165] 
2628 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[166] 
2629 #define SWIGTYPE_p_wxSplitterEvent swig_types[167] 
2630 #define SWIGTYPE_p_wxSplitterWindow swig_types[168] 
2631 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[169] 
2632 #define SWIGTYPE_p_wxStatusBar swig_types[170] 
2633 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[171] 
2634 #define SWIGTYPE_p_wxString swig_types[172] 
2635 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[173] 
2636 #define SWIGTYPE_p_wxTIFFHandler swig_types[174] 
2637 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[175] 
2638 #define SWIGTYPE_p_wxTextEntryDialog swig_types[176] 
2639 #define SWIGTYPE_p_wxTipWindow swig_types[177] 
2640 #define SWIGTYPE_p_wxTopLevelWindow swig_types[178] 
2641 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[179] 
2642 #define SWIGTYPE_p_wxValidator swig_types[180] 
2643 #define SWIGTYPE_p_wxVisualAttributes swig_types[181] 
2644 #define SWIGTYPE_p_wxWindow swig_types[182] 
2645 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[183] 
2646 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184] 
2647 #define SWIGTYPE_p_wxXPMHandler swig_types[185] 
2648 static swig_type_info 
*swig_types
[187]; 
2649 static swig_module_info swig_module 
= {swig_types
, 186, 0, 0, 0, 0}; 
2650 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2651 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2653 /* -------- TYPES TABLE (END) -------- */ 
2655 #if (PY_VERSION_HEX <= 0x02000000) 
2656 # if !defined(SWIG_PYTHON_CLASSIC) 
2657 #  error "This python version requires to use swig with the '-classic' option" 
2660 #if (PY_VERSION_HEX <= 0x02020000) 
2661 # error "This python version requires to use swig with the '-nomodern' option" 
2663 #if (PY_VERSION_HEX <= 0x02020000) 
2664 # error "This python version requires to use swig with the '-nomodernargs' option" 
2667 # error "This python version requires to use swig with the '-nofastunpack' option" 
2670 /*----------------------------------------------- 
2671               @(target):= _grid.so 
2672   ------------------------------------------------*/ 
2673 #define SWIG_init    init_grid 
2675 #define SWIG_name    "_grid" 
2677 #define SWIGVERSION 0x010329  
2680 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2681 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2684 #include <stdexcept> 
2688   class PyObject_ptr 
{ 
2693     PyObject_ptr() :_obj(0) 
2697     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2702     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2704       if (initial_ref
) Py_XINCREF(_obj
); 
2707     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2709       Py_XINCREF(item
._obj
); 
2720     operator PyObject 
*() const 
2725     PyObject 
*operator->() const 
2734   struct PyObject_var 
: PyObject_ptr 
{ 
2735     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2737     PyObject_var 
& operator = (PyObject
* obj
) 
2747 #include "wx/wxPython/wxPython.h" 
2748 #include "wx/wxPython/pyclasses.h" 
2749 #include "wx/wxPython/printfw.h" 
2751 #include <wx/grid.h> 
2752 #include <wx/generic/gridctrl.h> 
2755  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2756  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
2757  static const wxString 
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);  
2760 #define wxPyMake_TEMPLATE(TYPE) \ 
2761 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \ 
2762     PyObject* target = NULL; \ 
2764         /* Check if there is already a pointer to a Python object in the \ 
2765            OOR data that we can use. */ \ 
2766         wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \ 
2768             target = data->m_obj; \ 
2770                 Py_INCREF(target); \ 
2772         /* Otherwise make a new wrapper for it the old fashioned way and \ 
2773            give it the OOR treatment */ \ 
2775             target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \ 
2777                 source->SetClientObject(new wxPyOORClientData(target)); \ 
2779     } else {  /* source was NULL so return None. */ \ 
2780         Py_INCREF(Py_None); target = Py_None; \ 
2786 wxPyMake_TEMPLATE(wxGridCellRenderer) 
2787 wxPyMake_TEMPLATE(wxGridCellEditor
) 
2788 wxPyMake_TEMPLATE(wxGridCellAttr
) 
2789 wxPyMake_TEMPLATE(wxGridCellAttrProvider
) 
2790 wxPyMake_TEMPLATE(wxGridTableBase
) 
2794 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME)                               \ 
2795     wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) {        \ 
2796         wxGridCellAttr* rval = NULL;                                            \ 
2798         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2799         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2801             wxGridCellAttr* ptr;                                                \ 
2802             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \ 
2804                 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \ 
2809         wxPyEndBlockThreads(blocked);                                           \ 
2811             rval = PCLASS::CBNAME(a, b, c);                                     \ 
2816 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME)                                   \ 
2817     void CBNAME(wxGridCellAttr *attr, int a, int b) {                           \ 
2818         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2820         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2821             PyObject* obj = wxPyMake_wxGridCellAttr(attr,false);                \ 
2822             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b));  \ 
2825         wxPyEndBlockThreads(blocked);                                           \ 
2827             PCLASS::CBNAME(attr, a, b);                                         \ 
2832 #define PYCALLBACK__GCAINT(PCLASS, CBNAME)                                      \ 
2833     void CBNAME(wxGridCellAttr *attr, int val) {                                \ 
2834         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2836         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2837             PyObject* obj = wxPyMake_wxGridCellAttr(attr,false);                \ 
2838             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val));    \ 
2841         wxPyEndBlockThreads(blocked);                                           \ 
2843             PCLASS::CBNAME(attr, val);                                          \ 
2848 #define PYCALLBACK_INT__pure(CBNAME)                                            \ 
2850         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2852         if (wxPyCBH_findCallback(m_myInst, #CBNAME))                            \ 
2853             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \ 
2854         wxPyEndBlockThreads(blocked);                                           \ 
2860 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME)                                     \ 
2861     bool CBNAME(int a, int b) {                                                 \ 
2862         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2864         if (wxPyCBH_findCallback(m_myInst, #CBNAME))                            \ 
2865             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b));   \ 
2866         wxPyEndBlockThreads(blocked);                                           \ 
2871 #define PYCALLBACK_STRING_INTINT_pure(CBNAME)                                   \ 
2872     wxString CBNAME(int a, int b) {                                             \ 
2873         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2875         if (wxPyCBH_findCallback(m_myInst, #CBNAME)) {                          \ 
2877             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
2879                 rval = Py2wxString(ro);                                         \ 
2883         wxPyEndBlockThreads(blocked);                                           \ 
2888 #define PYCALLBACK__INTINTSTRING_pure(CBNAME)                                   \ 
2889     void CBNAME(int a, int b, const wxString& c) {                              \ 
2890         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2891         if (wxPyCBH_findCallback(m_myInst, #CBNAME)) {                          \ 
2892             PyObject* s = wx2PyString(c);                                       \ 
2893             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ 
2896         wxPyEndBlockThreads(blocked);                                           \ 
2900 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME)                                \ 
2901     wxString CBNAME(int a, int b) {                                             \ 
2903         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2905         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2907             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
2909                 rval = Py2wxString(ro);                                         \ 
2913         wxPyEndBlockThreads(blocked);                                           \ 
2915             rval = PCLASS::CBNAME(a, b);                                        \ 
2920 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME)                            \ 
2921     bool CBNAME(int a, int b, const wxString& c)  {                             \ 
2924         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2925         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2926             PyObject* s = wx2PyString(c);                                       \ 
2927             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ 
2930         wxPyEndBlockThreads(blocked);                                           \ 
2932             rval = PCLASS::CBNAME(a,b,c);                                       \ 
2939 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME)                                  \ 
2940     long CBNAME(int a, int b)  {                                                \ 
2943         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2944         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
2945             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
2946         wxPyEndBlockThreads(blocked);                                           \ 
2948             rval = PCLASS::CBNAME(a,b);                                         \ 
2953 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME)                                  \ 
2954     bool CBNAME(int a, int b)  {                                                \ 
2957         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2958         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
2959             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
2960         wxPyEndBlockThreads(blocked);                                           \ 
2962             rval = PCLASS::CBNAME(a,b);                                         \ 
2968 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME)                                \ 
2969     double CBNAME(int a, int b) {                                               \ 
2971         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2973         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
2975             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
2977                 PyObject* str = PyObject_Str(ro);                               \ 
2978                 rval = PyFloat_AsDouble(str);                                   \ 
2979                 Py_DECREF(ro);   Py_DECREF(str);                                \ 
2982         wxPyEndBlockThreads(blocked);                                           \ 
2984             rval = PCLASS::CBNAME(a, b);                                        \ 
2990 #define PYCALLBACK__(PCLASS, CBNAME)                                            \ 
2993         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
2994         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
2995             wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));                \ 
2996         wxPyEndBlockThreads(blocked);                                           \ 
3003 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME)                              \ 
3004     bool CBNAME(size_t a, size_t b)  {                                          \ 
3007         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3008         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3009             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
3010         wxPyEndBlockThreads(blocked);                                           \ 
3012             rval = PCLASS::CBNAME(a,b);                                         \ 
3018 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME)                                   \ 
3019     bool CBNAME(size_t a)  {                                                    \ 
3022         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3023         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3024             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a));     \ 
3025         wxPyEndBlockThreads(blocked);                                           \ 
3027             rval = PCLASS::CBNAME(a);                                           \ 
3032 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME)                                   \ 
3033     wxString CBNAME(int a) {                                                    \ 
3035         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3037         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
3039             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a));     \ 
3041                 rval = Py2wxString(ro);                                         \ 
3045         wxPyEndBlockThreads(blocked);                                           \ 
3047             rval = PCLASS::CBNAME(a);                                           \ 
3052 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME)                                   \ 
3053     void CBNAME(int a, const wxString& c)  {                                    \ 
3055         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3056         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
3057             PyObject* s = wx2PyString(c);                                       \ 
3058             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s));          \ 
3061         wxPyEndBlockThreads(blocked);                                           \ 
3063             PCLASS::CBNAME(a,c);                                                \ 
3069 #define PYCALLBACK_BOOL_(PCLASS, CBNAME)                                        \ 
3073         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3074         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3075             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \ 
3076         wxPyEndBlockThreads(blocked);                                           \ 
3078             rval = PCLASS::CBNAME();                                            \ 
3084 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME)                                    \ 
3085     void CBNAME(size_t a, int b)  {                                             \ 
3087         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3088         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3089             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));         \ 
3090         wxPyEndBlockThreads(blocked);                                           \ 
3092             PCLASS::CBNAME(a,b);                                                \ 
3098 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME)                                  \ 
3099     void CBNAME(int a, int b, long c)  {                                        \ 
3101         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3102         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3103             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c));      \ 
3104         wxPyEndBlockThreads(blocked);                                           \ 
3106             PCLASS::CBNAME(a,b,c);                                              \ 
3112 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME)                                \ 
3113     void CBNAME(int a, int b, double c)  {                                      \ 
3115         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3116         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3117             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c));      \ 
3118         wxPyEndBlockThreads(blocked);                                           \ 
3120             PCLASS::CBNAME(a,b,c);                                              \ 
3125 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME)                                  \ 
3126     void CBNAME(int a, int b, bool c)  {                                        \ 
3128         wxPyBlock_t blocked = wxPyBeginBlockThreads();                          \ 
3129         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
3130             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c));      \ 
3131         wxPyEndBlockThreads(blocked);                                           \ 
3133             PCLASS::CBNAME(a,b,c);                                              \ 
3140 SWIGINTERN swig_type_info
* 
3141 SWIG_pchar_descriptor() 
3143   static int init 
= 0; 
3144   static swig_type_info
* info 
= 0; 
3146     info 
= SWIG_TypeQuery("_p_char"); 
3153 SWIGINTERNINLINE PyObject 
* 
3154 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
) 
3157     if (size 
> INT_MAX
) { 
3158       swig_type_info
* pchar_descriptor 
= SWIG_pchar_descriptor(); 
3159       return pchar_descriptor 
?  
3160         SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void(); 
3162       return PyString_FromStringAndSize(carray
, static_cast< int >(size
)); 
3165     return SWIG_Py_Void(); 
3170 SWIGINTERNINLINE PyObject 
*  
3171 SWIG_FromCharPtr(const char *cptr
) 
3173   return SWIG_FromCharPtrAndSize(cptr
, (cptr 
? strlen(cptr
) : 0)); 
3177 #define wxGRID_DEFAULT_NUMBER_ROWS        WXGRID_DEFAULT_NUMBER_ROWS 
3178 #define wxGRID_DEFAULT_NUMBER_COLS        WXGRID_DEFAULT_NUMBER_COLS 
3179 #define wxGRID_DEFAULT_ROW_HEIGHT         WXGRID_DEFAULT_ROW_HEIGHT 
3180 #define wxGRID_DEFAULT_COL_WIDTH          WXGRID_DEFAULT_COL_WIDTH 
3181 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT   WXGRID_DEFAULT_COL_LABEL_HEIGHT 
3182 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH    WXGRID_DEFAULT_ROW_LABEL_WIDTH 
3183 #define wxGRID_LABEL_EDGE_ZONE            WXGRID_LABEL_EDGE_ZONE 
3184 #define wxGRID_MIN_ROW_HEIGHT             WXGRID_MIN_ROW_HEIGHT 
3185 #define wxGRID_MIN_COL_WIDTH              WXGRID_MIN_COL_WIDTH 
3186 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH    WXGRID_DEFAULT_SCROLLBAR_WIDTH 
3189   #define SWIG_From_long   PyInt_FromLong  
3192 SWIGINTERNINLINE PyObject 
* 
3193 SWIG_From_int  (int value
) 
3195   return SWIG_From_long  (value
); 
3198 SWIGINTERN 
void wxGridCellWorker__setOORInfo(wxGridCellWorker 
*self
,PyObject 
*_self
){ 
3199             if (!self
->GetClientObject()) 
3200                 self
->SetClientObject(new wxPyOORClientData(_self
)); 
3202 SWIGINTERN 
void delete_wxGridCellWorker(wxGridCellWorker 
*self
){ 
3205 class wxPyGridCellRenderer 
: public wxGridCellRenderer
 
3208     wxPyGridCellRenderer() : wxGridCellRenderer() {}; 
3210     // Implement Python callback aware virtual methods 
3211     void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
, 
3212               wxDC
& dc
, const wxRect
& rect
, 
3213               int row
, int col
, bool isSelected
) { 
3214         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3215         if (wxPyCBH_findCallback(m_myInst
, "Draw")) { 
3216             PyObject
* go 
= wxPyMake_wxObject(&grid
,false); 
3217             PyObject
* dco 
= wxPyMake_wxObject(&dc
,false); 
3218             PyObject
* ao 
= wxPyMake_wxGridCellAttr(&attr
,false); 
3219             PyObject
* ro 
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0); 
3221             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
, 
3222                                                          row
, col
, isSelected
)); 
3228         wxPyEndBlockThreads(blocked
); 
3231     wxSize 
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
, 
3234         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3235         if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) { 
3238             PyObject
* go 
= wxPyMake_wxObject(&grid
,false); 
3239             PyObject
* dco 
= wxPyMake_wxObject(&dc
,false); 
3240             PyObject
* ao 
= wxPyMake_wxGridCellAttr(&attr
,false); 
3242             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)", 
3250                 const char* errmsg 
= "GetBestSize should return a 2-tuple of integers or a wxSize object."; 
3251                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) { 
3254                 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) { 
3255                     PyObject
* o1 
= PySequence_GetItem(ro
, 0); 
3256                     PyObject
* o2 
= PySequence_GetItem(ro
, 1); 
3257                     if (PyNumber_Check(o1
) && PyNumber_Check(o2
)) 
3258                         rval 
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
)); 
3260                         PyErr_SetString(PyExc_TypeError
, errmsg
); 
3265                     PyErr_SetString(PyExc_TypeError
, errmsg
); 
3270         wxPyEndBlockThreads(blocked
); 
3275     wxGridCellRenderer 
*Clone() const { 
3276         wxGridCellRenderer
* rval 
= NULL
; 
3277         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3278         if (wxPyCBH_findCallback(m_myInst
, "Clone")) { 
3280             wxGridCellRenderer
* ptr
; 
3281             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3283                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer"))) 
3288         wxPyEndBlockThreads(blocked
); 
3292     DEC_PYCALLBACK__STRING(SetParameters
); 
3297 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
); 
3303 # define LLONG_MIN      LONG_LONG_MIN 
3306 # define LLONG_MAX      LONG_LONG_MAX 
3309 # define ULLONG_MAX     ULONG_LONG_MAX 
3314 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
3316     if (PyNumber_Check(obj
)) { 
3317         if (val
) *val 
= PyInt_AsLong(obj
); 
3320     return SWIG_TypeError
; 
3325 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
3328   int res 
= SWIG_AsVal_long (obj
, &v
); 
3329   if (SWIG_IsOK(res
)) { 
3330     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
3331       return SWIG_OverflowError
; 
3333       if (val
) *val 
= static_cast< int >(v
); 
3341 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
3343   if (obj 
== Py_True
) { 
3344     if (val
) *val 
= true; 
3346   } else if (obj 
== Py_False
) { 
3347     if (val
) *val 
= false; 
3351     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
3352     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
3358 class wxPyGridCellEditor 
: public wxGridCellEditor
 
3361     wxPyGridCellEditor() : wxGridCellEditor() {} 
3363     void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) { 
3364         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3365         if (wxPyCBH_findCallback(m_myInst
, "Create")) { 
3366             PyObject
* po 
= wxPyMake_wxObject(parent
,false); 
3367             PyObject
* eo 
= wxPyMake_wxObject(evtHandler
,false); 
3369             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
)); 
3373         wxPyEndBlockThreads(blocked
); 
3377     void BeginEdit(int row
, int col
, wxGrid
* grid
) { 
3378         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3379         if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) { 
3380             PyObject
* go 
= wxPyMake_wxObject(grid
,false); 
3381             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
)); 
3384         wxPyEndBlockThreads(blocked
); 
3388     bool EndEdit(int row
, int col
, wxGrid
* grid
) { 
3390         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3391         if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) { 
3392             PyObject
* go 
= wxPyMake_wxObject(grid
,false); 
3393             rv 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
)); 
3396         wxPyEndBlockThreads(blocked
); 
3401     wxGridCellEditor
* Clone() const { 
3402         wxGridCellEditor
* rval 
= NULL
; 
3403         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3404         if (wxPyCBH_findCallback(m_myInst
, "Clone")) { 
3406             wxGridCellEditor
* ptr
; 
3407             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3409                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor"))) 
3414         wxPyEndBlockThreads(blocked
); 
3419     void Show(bool show
, wxGridCellAttr 
*attr
) { 
3421         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3422         if ((found 
= wxPyCBH_findCallback(m_myInst
, "Show"))) { 
3423             PyObject
* ao 
= wxPyMake_wxGridCellAttr(attr
,false); 
3424             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
)); 
3427         wxPyEndBlockThreads(blocked
); 
3429             wxGridCellEditor::Show(show
, attr
); 
3433     void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr 
*attr
) { 
3435         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3436         if ((found 
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) { 
3437             PyObject
* ao 
= wxPyMake_wxGridCellAttr(attr
,false); 
3438             PyObject
* ro 
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0); 
3440             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
)); 
3445         wxPyEndBlockThreads(blocked
); 
3447             wxGridCellEditor::PaintBackground(rectCell
, attr
); 
3451     DEC_PYCALLBACK___pure(Reset
); 
3452     DEC_PYCALLBACK__constany(SetSize
, wxRect
); 
3453     DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
); 
3454     DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
); 
3455     DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
); 
3456     DEC_PYCALLBACK__(StartingClick
); 
3457     DEC_PYCALLBACK__(Destroy
); 
3458     DEC_PYCALLBACK__STRING(SetParameters
); 
3459     DEC_PYCALLBACK_STRING__constpure(GetValue
); 
3465 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
); 
3466 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
); 
3467 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
); 
3468 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
); 
3469 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
); 
3470 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
); 
3471 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
); 
3472 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
); 
3473 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
); 
3476 SWIGINTERN 
void wxGridCellAttr__setOORInfo(wxGridCellAttr 
*self
,PyObject 
*_self
){ 
3477             if (!self
->GetClientObject()) 
3478                 self
->SetClientObject(new wxPyOORClientData(_self
)); 
3480 SWIGINTERN 
void delete_wxGridCellAttr(wxGridCellAttr 
*self
){ 
3482 SWIGINTERN 
void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider 
*self
,PyObject 
*_self
){ 
3483             if (!self
->GetClientObject()) 
3484                 self
->SetClientObject(new wxPyOORClientData(_self
)); 
3488 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
3491     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
3492         return SWIG_TypeError
; 
3495         *val 
= (unsigned long)v
; 
3500 SWIGINTERNINLINE 
int 
3501 SWIG_AsVal_size_t (PyObject 
* obj
, size_t *val
) 
3504   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, val 
? &v 
: 0); 
3505   if (SWIG_IsOK(res
) && val
) *val 
= static_cast< size_t >(v
); 
3510 class wxPyGridCellAttrProvider 
: public wxGridCellAttrProvider
 
3513     wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {}; 
3515     PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
); 
3516     PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
); 
3517     PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
); 
3518     PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
); 
3523 SWIGINTERN 
void wxGridTableBase__setOORInfo(wxGridTableBase 
*self
,PyObject 
*_self
){ 
3524             if (!self
->GetClientObject()) 
3525                 self
->SetClientObject(new wxPyOORClientData(_self
)); 
3528   #define SWIG_From_double   PyFloat_FromDouble  
3532 SWIG_AsVal_double (PyObject 
*obj
, double* val
) 
3534     if (PyNumber_Check(obj
)) { 
3535         if (val
) *val 
= PyFloat_AsDouble(obj
); 
3538     return SWIG_TypeError
; 
3542 class wxPyGridTableBase 
: public wxGridTableBase
 
3545     wxPyGridTableBase() : wxGridTableBase() {} 
3547     PYCALLBACK_INT__pure(GetNumberRows
); 
3548     PYCALLBACK_INT__pure(GetNumberCols
); 
3549     PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
); 
3550     PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
); 
3551     PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
); 
3552     PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
); 
3553     PYCALLBACK__(wxGridTableBase
, Clear
); 
3554     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
); 
3555     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
); 
3556     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
); 
3557     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
); 
3558     PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
); 
3559     PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
); 
3560     PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
); 
3561     PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
); 
3562     PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
); 
3563     PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
); 
3564     PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
); 
3565     PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
); 
3566     PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
); 
3567     PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
); 
3568     PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
); 
3571     wxString 
GetValue(int row
, int col
) { 
3572         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3574         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
3576             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
)); 
3578                 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) { 
3580                     ro 
= PyObject_Str(ro
); 
3583                 rval 
= Py2wxString(ro
); 
3587         wxPyEndBlockThreads(blocked
); 
3591     void SetValue(int row
, int col
, const wxString
& val
) { 
3592         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3593         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
3594             PyObject
* s 
= wx2PyString(val
); 
3595             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
)); 
3598         wxPyEndBlockThreads(blocked
); 
3602     // Map the Get/Set methods for the standard non-string types to 
3603     // the GetValue and SetValue python methods. 
3604     long GetValueAsLong( int row
, int col 
) { 
3606         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3607         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
3610             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
)); 
3611             if (ro 
&& PyNumber_Check(ro
)) { 
3612                 num 
= PyNumber_Int(ro
); 
3614                     rval 
= PyInt_AsLong(num
); 
3620         wxPyEndBlockThreads(blocked
); 
3624     double GetValueAsDouble( int row
, int col 
) { 
3626         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3627         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
3630             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
)); 
3631             if (ro 
&& PyNumber_Check(ro
)) { 
3632                 num 
= PyNumber_Float(ro
); 
3634                     rval 
= PyFloat_AsDouble(num
); 
3640         wxPyEndBlockThreads(blocked
); 
3644     bool GetValueAsBool( int row
, int col 
) { 
3645         return (bool)GetValueAsLong(row
, col
); 
3648     void SetValueAsLong( int row
, int col
, long value 
) { 
3649         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3650         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
3651             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
)); 
3653         wxPyEndBlockThreads(blocked
); 
3656     void SetValueAsDouble( int row
, int col
, double value 
) { 
3657         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3658         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
3659             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
)); 
3661         wxPyEndBlockThreads(blocked
); 
3664     void SetValueAsBool( int row
, int col
, bool value 
) { 
3665         SetValueAsLong( row
, col
, (long)value 
); 
3672 SWIGINTERN 
void wxPyGridTableBase_Destroy(wxPyGridTableBase 
*self
){ delete self
; } 
3674 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) { 
3676     if (source 
== Py_None
) { 
3677         **obj 
= wxGridCellCoords(-1,-1); 
3681     // If source is an object instance then it may already be the right type 
3682     if (wxPySwigInstance_Check(source
)) { 
3683         wxGridCellCoords
* ptr
; 
3684         if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords"))) 
3689     // otherwise a 2-tuple of integers is expected 
3690     else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) { 
3691         PyObject
* o1 
= PySequence_GetItem(source
, 0); 
3692         PyObject
* o2 
= PySequence_GetItem(source
, 1); 
3693         if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) { 
3698         **obj 
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
)); 
3705     PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object."); 
3710 bool wxGridCellCoords_typecheck(PyObject
* source
) { 
3713     if (wxPySwigInstance_Check(source
) && 
3714         wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords"))) 
3718     if (PySequence_Check(source
) && PySequence_Length(source
) == 2) 
3725 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
) 
3727     PyObject
* list 
= PyList_New(0); 
3729     for (idx 
= 0; idx 
< source
.GetCount(); idx 
+= 1) { 
3730         wxGridCellCoords
& coord 
= source
.Item(idx
); 
3731         PyObject
* tup 
= PyTuple_New(2); 
3732         PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow())); 
3733         PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol())); 
3734         PyList_Append(list
, tup
); 
3740 SWIGINTERN PyObject 
*wxGridCellCoords_Get(wxGridCellCoords 
*self
){ 
3741             PyObject
* tup 
= PyTuple_New(2); 
3742             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow())); 
3743             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol())); 
3747 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
; 
3749 SWIGINTERN wxGridCellCoords 
wxGrid_XYToCell(wxGrid 
*self
,int x
,int y
){ 
3750             wxGridCellCoords rv
; 
3751             self
->XYToCell(x
, y
, rv
); 
3757 SWIGINTERN 
int GridNoCellCoords_set(PyObject 
*) { 
3758   SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellCoords is read-only."); 
3763 SWIGINTERN PyObject 
*GridNoCellCoords_get(void) { 
3764   PyObject 
*pyobj 
= 0; 
3766   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
,  0 ); 
3771 SWIGINTERN 
int GridNoCellRect_set(PyObject 
*) { 
3772   SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellRect is read-only."); 
3777 SWIGINTERN PyObject 
*GridNoCellRect_get(void) { 
3778   PyObject 
*pyobj 
= 0; 
3780   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
,  0 ); 
3785 SWIGINTERN PyObject 
*_wrap_GridCellWorker__setOORInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3786   PyObject 
*resultobj 
= 0; 
3787   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3788   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3791   PyObject 
* obj0 
= 0 ; 
3792   PyObject 
* obj1 
= 0 ; 
3793   char *  kwnames
[] = { 
3794     (char *) "self",(char *) "_self", NULL 
 
3797   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3798   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 |  0 ); 
3799   if (!SWIG_IsOK(res1
)) { 
3800     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3802   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3805     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3806     wxGridCellWorker__setOORInfo(arg1
,arg2
); 
3807     wxPyEndAllowThreads(__tstate
); 
3808     if (PyErr_Occurred()) SWIG_fail
; 
3810   resultobj 
= SWIG_Py_Void(); 
3817 SWIGINTERN PyObject 
*_wrap_delete_GridCellWorker(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3818   PyObject 
*resultobj 
= 0; 
3819   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3822   PyObject 
*swig_obj
[1] ; 
3824   if (!args
) SWIG_fail
; 
3826   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, SWIG_POINTER_DISOWN 
|  0 ); 
3827   if (!SWIG_IsOK(res1
)) { 
3828     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellWorker" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3830   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3832     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3833     delete_wxGridCellWorker(arg1
); 
3835     wxPyEndAllowThreads(__tstate
); 
3836     if (PyErr_Occurred()) SWIG_fail
; 
3838   resultobj 
= SWIG_Py_Void(); 
3845 SWIGINTERN PyObject 
*_wrap_GridCellWorker_SetParameters(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3846   PyObject 
*resultobj 
= 0; 
3847   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3848   wxString 
*arg2 
= 0 ; 
3851   bool temp2 
= false ; 
3852   PyObject 
* obj0 
= 0 ; 
3853   PyObject 
* obj1 
= 0 ; 
3854   char *  kwnames
[] = { 
3855     (char *) "self",(char *) "params", NULL 
 
3858   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3859   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 |  0 ); 
3860   if (!SWIG_IsOK(res1
)) { 
3861     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_SetParameters" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3863   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3865     arg2 
= wxString_in_helper(obj1
); 
3866     if (arg2 
== NULL
) SWIG_fail
; 
3870     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3871     (arg1
)->SetParameters((wxString 
const &)*arg2
); 
3872     wxPyEndAllowThreads(__tstate
); 
3873     if (PyErr_Occurred()) SWIG_fail
; 
3875   resultobj 
= SWIG_Py_Void(); 
3890 SWIGINTERN PyObject 
*_wrap_GridCellWorker_IncRef(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3891   PyObject 
*resultobj 
= 0; 
3892   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3895   PyObject 
*swig_obj
[1] ; 
3897   if (!args
) SWIG_fail
; 
3899   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 |  0 ); 
3900   if (!SWIG_IsOK(res1
)) { 
3901     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_IncRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3903   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3905     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3907     wxPyEndAllowThreads(__tstate
); 
3908     if (PyErr_Occurred()) SWIG_fail
; 
3910   resultobj 
= SWIG_Py_Void(); 
3917 SWIGINTERN PyObject 
*_wrap_GridCellWorker_DecRef(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3918   PyObject 
*resultobj 
= 0; 
3919   wxGridCellWorker 
*arg1 
= (wxGridCellWorker 
*) 0 ; 
3922   PyObject 
*swig_obj
[1] ; 
3924   if (!args
) SWIG_fail
; 
3926   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 |  0 ); 
3927   if (!SWIG_IsOK(res1
)) { 
3928     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_DecRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");  
3930   arg1 
= reinterpret_cast< wxGridCellWorker 
* >(argp1
); 
3932     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3934     wxPyEndAllowThreads(__tstate
); 
3935     if (PyErr_Occurred()) SWIG_fail
; 
3937   resultobj 
= SWIG_Py_Void(); 
3944 SWIGINTERN PyObject 
*GridCellWorker_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3946   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3947   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellWorker
, SWIG_NewClientData(obj
)); 
3948   return SWIG_Py_Void(); 
3951 SWIGINTERN PyObject 
*GridCellRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3953   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3954   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellRenderer
, SWIG_NewClientData(obj
)); 
3955   return SWIG_Py_Void(); 
3958 SWIGINTERN PyObject 
*_wrap_new_PyGridCellRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3959   PyObject 
*resultobj 
= 0; 
3960   wxPyGridCellRenderer 
*result 
= 0 ; 
3962   if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellRenderer",0,0,0)) SWIG_fail
; 
3964     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3965     result 
= (wxPyGridCellRenderer 
*)new wxPyGridCellRenderer(); 
3966     wxPyEndAllowThreads(__tstate
); 
3967     if (PyErr_Occurred()) SWIG_fail
; 
3969   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_NEW 
|  0 ); 
3976 SWIGINTERN PyObject 
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3977   PyObject 
*resultobj 
= 0; 
3978   wxPyGridCellRenderer 
*arg1 
= (wxPyGridCellRenderer 
*) 0 ; 
3979   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3980   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
3983   PyObject 
* obj0 
= 0 ; 
3984   PyObject 
* obj1 
= 0 ; 
3985   PyObject 
* obj2 
= 0 ; 
3986   char *  kwnames
[] = { 
3987     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
3990   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3991   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 |  0 ); 
3992   if (!SWIG_IsOK(res1
)) { 
3993     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");  
3995   arg1 
= reinterpret_cast< wxPyGridCellRenderer 
* >(argp1
); 
3999     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4000     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
4001     wxPyEndAllowThreads(__tstate
); 
4002     if (PyErr_Occurred()) SWIG_fail
; 
4004   resultobj 
= SWIG_Py_Void(); 
4011 SWIGINTERN PyObject 
*_wrap_PyGridCellRenderer_SetParameters(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4012   PyObject 
*resultobj 
= 0; 
4013   wxPyGridCellRenderer 
*arg1 
= (wxPyGridCellRenderer 
*) 0 ; 
4014   wxString 
*arg2 
= 0 ; 
4017   bool temp2 
= false ; 
4018   PyObject 
* obj0 
= 0 ; 
4019   PyObject 
* obj1 
= 0 ; 
4020   char *  kwnames
[] = { 
4021     (char *) "self",(char *) "params", NULL 
 
4024   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4025   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 |  0 ); 
4026   if (!SWIG_IsOK(res1
)) { 
4027     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");  
4029   arg1 
= reinterpret_cast< wxPyGridCellRenderer 
* >(argp1
); 
4031     arg2 
= wxString_in_helper(obj1
); 
4032     if (arg2 
== NULL
) SWIG_fail
; 
4036     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4037     (arg1
)->SetParameters((wxString 
const &)*arg2
); 
4038     wxPyEndAllowThreads(__tstate
); 
4039     if (PyErr_Occurred()) SWIG_fail
; 
4041   resultobj 
= SWIG_Py_Void(); 
4056 SWIGINTERN PyObject 
*PyGridCellRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4058   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4059   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_NewClientData(obj
)); 
4060   return SWIG_Py_Void(); 
4063 SWIGINTERN PyObject 
*PyGridCellRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4064   return SWIG_Python_InitShadowInstance(args
); 
4067 SWIGINTERN PyObject 
*_wrap_new_GridCellStringRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4068   PyObject 
*resultobj 
= 0; 
4069   wxGridCellStringRenderer 
*result 
= 0 ; 
4071   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellStringRenderer",0,0,0)) SWIG_fail
; 
4073     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4074     result 
= (wxGridCellStringRenderer 
*)new wxGridCellStringRenderer(); 
4075     wxPyEndAllowThreads(__tstate
); 
4076     if (PyErr_Occurred()) SWIG_fail
; 
4078   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4085 SWIGINTERN PyObject 
*GridCellStringRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4087   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4088   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_NewClientData(obj
)); 
4089   return SWIG_Py_Void(); 
4092 SWIGINTERN PyObject 
*GridCellStringRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4093   return SWIG_Python_InitShadowInstance(args
); 
4096 SWIGINTERN PyObject 
*_wrap_new_GridCellNumberRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4097   PyObject 
*resultobj 
= 0; 
4098   wxGridCellNumberRenderer 
*result 
= 0 ; 
4100   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellNumberRenderer",0,0,0)) SWIG_fail
; 
4102     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4103     result 
= (wxGridCellNumberRenderer 
*)new wxGridCellNumberRenderer(); 
4104     wxPyEndAllowThreads(__tstate
); 
4105     if (PyErr_Occurred()) SWIG_fail
; 
4107   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4114 SWIGINTERN PyObject 
*GridCellNumberRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4116   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4117   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_NewClientData(obj
)); 
4118   return SWIG_Py_Void(); 
4121 SWIGINTERN PyObject 
*GridCellNumberRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4122   return SWIG_Python_InitShadowInstance(args
); 
4125 SWIGINTERN PyObject 
*_wrap_new_GridCellFloatRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4126   PyObject 
*resultobj 
= 0; 
4127   int arg1 
= (int) -1 ; 
4128   int arg2 
= (int) -1 ; 
4129   wxGridCellFloatRenderer 
*result 
= 0 ; 
4134   PyObject 
* obj0 
= 0 ; 
4135   PyObject 
* obj1 
= 0 ; 
4136   char *  kwnames
[] = { 
4137     (char *) "width",(char *) "precision", NULL 
 
4140   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4142     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
4143     if (!SWIG_IsOK(ecode1
)) { 
4144       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "1"" of type '" "int""'"); 
4146     arg1 
= static_cast< int >(val1
); 
4149     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4150     if (!SWIG_IsOK(ecode2
)) { 
4151       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "2"" of type '" "int""'"); 
4153     arg2 
= static_cast< int >(val2
); 
4156     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4157     result 
= (wxGridCellFloatRenderer 
*)new wxGridCellFloatRenderer(arg1
,arg2
); 
4158     wxPyEndAllowThreads(__tstate
); 
4159     if (PyErr_Occurred()) SWIG_fail
; 
4161   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4168 SWIGINTERN PyObject 
*_wrap_GridCellFloatRenderer_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4169   PyObject 
*resultobj 
= 0; 
4170   wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
4174   PyObject 
*swig_obj
[1] ; 
4176   if (!args
) SWIG_fail
; 
4178   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 |  0 ); 
4179   if (!SWIG_IsOK(res1
)) { 
4180     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");  
4182   arg1 
= reinterpret_cast< wxGridCellFloatRenderer 
* >(argp1
); 
4184     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4185     result 
= (int)((wxGridCellFloatRenderer 
const *)arg1
)->GetWidth(); 
4186     wxPyEndAllowThreads(__tstate
); 
4187     if (PyErr_Occurred()) SWIG_fail
; 
4189   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4196 SWIGINTERN PyObject 
*_wrap_GridCellFloatRenderer_SetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4197   PyObject 
*resultobj 
= 0; 
4198   wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
4204   PyObject 
* obj0 
= 0 ; 
4205   PyObject 
* obj1 
= 0 ; 
4206   char *  kwnames
[] = { 
4207     (char *) "self",(char *) "width", NULL 
 
4210   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4211   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 |  0 ); 
4212   if (!SWIG_IsOK(res1
)) { 
4213     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");  
4215   arg1 
= reinterpret_cast< wxGridCellFloatRenderer 
* >(argp1
); 
4216   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4217   if (!SWIG_IsOK(ecode2
)) { 
4218     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "2"" of type '" "int""'"); 
4220   arg2 
= static_cast< int >(val2
); 
4222     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4223     (arg1
)->SetWidth(arg2
); 
4224     wxPyEndAllowThreads(__tstate
); 
4225     if (PyErr_Occurred()) SWIG_fail
; 
4227   resultobj 
= SWIG_Py_Void(); 
4234 SWIGINTERN PyObject 
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4235   PyObject 
*resultobj 
= 0; 
4236   wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
4240   PyObject 
*swig_obj
[1] ; 
4242   if (!args
) SWIG_fail
; 
4244   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 |  0 ); 
4245   if (!SWIG_IsOK(res1
)) { 
4246     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");  
4248   arg1 
= reinterpret_cast< wxGridCellFloatRenderer 
* >(argp1
); 
4250     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4251     result 
= (int)((wxGridCellFloatRenderer 
const *)arg1
)->GetPrecision(); 
4252     wxPyEndAllowThreads(__tstate
); 
4253     if (PyErr_Occurred()) SWIG_fail
; 
4255   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4262 SWIGINTERN PyObject 
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4263   PyObject 
*resultobj 
= 0; 
4264   wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
4270   PyObject 
* obj0 
= 0 ; 
4271   PyObject 
* obj1 
= 0 ; 
4272   char *  kwnames
[] = { 
4273     (char *) "self",(char *) "precision", NULL 
 
4276   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4277   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 |  0 ); 
4278   if (!SWIG_IsOK(res1
)) { 
4279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");  
4281   arg1 
= reinterpret_cast< wxGridCellFloatRenderer 
* >(argp1
); 
4282   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4283   if (!SWIG_IsOK(ecode2
)) { 
4284     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "2"" of type '" "int""'"); 
4286   arg2 
= static_cast< int >(val2
); 
4288     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4289     (arg1
)->SetPrecision(arg2
); 
4290     wxPyEndAllowThreads(__tstate
); 
4291     if (PyErr_Occurred()) SWIG_fail
; 
4293   resultobj 
= SWIG_Py_Void(); 
4300 SWIGINTERN PyObject 
*GridCellFloatRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4302   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4303   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_NewClientData(obj
)); 
4304   return SWIG_Py_Void(); 
4307 SWIGINTERN PyObject 
*GridCellFloatRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4308   return SWIG_Python_InitShadowInstance(args
); 
4311 SWIGINTERN PyObject 
*_wrap_new_GridCellBoolRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4312   PyObject 
*resultobj 
= 0; 
4313   wxGridCellBoolRenderer 
*result 
= 0 ; 
4315   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolRenderer",0,0,0)) SWIG_fail
; 
4317     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4318     result 
= (wxGridCellBoolRenderer 
*)new wxGridCellBoolRenderer(); 
4319     wxPyEndAllowThreads(__tstate
); 
4320     if (PyErr_Occurred()) SWIG_fail
; 
4322   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4329 SWIGINTERN PyObject 
*GridCellBoolRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4331   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4332   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_NewClientData(obj
)); 
4333   return SWIG_Py_Void(); 
4336 SWIGINTERN PyObject 
*GridCellBoolRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4337   return SWIG_Python_InitShadowInstance(args
); 
4340 SWIGINTERN PyObject 
*_wrap_new_GridCellDateTimeRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4341   PyObject 
*resultobj 
= 0; 
4342   wxString arg1 
= (wxString
) wxPyDefaultDateTimeFormat 
; 
4343   wxString arg2 
= (wxString
) wxPyDefaultDateTimeFormat 
; 
4344   wxGridCellDateTimeRenderer 
*result 
= 0 ; 
4345   PyObject 
* obj0 
= 0 ; 
4346   PyObject 
* obj1 
= 0 ; 
4347   char *  kwnames
[] = { 
4348     (char *) "outformat",(char *) "informat", NULL 
 
4351   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4354       wxString
* sptr 
= wxString_in_helper(obj0
); 
4355       if (sptr 
== NULL
) SWIG_fail
; 
4362       wxString
* sptr 
= wxString_in_helper(obj1
); 
4363       if (sptr 
== NULL
) SWIG_fail
; 
4369     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4370     result 
= (wxGridCellDateTimeRenderer 
*)new wxGridCellDateTimeRenderer(arg1
,arg2
); 
4371     wxPyEndAllowThreads(__tstate
); 
4372     if (PyErr_Occurred()) SWIG_fail
; 
4374   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4381 SWIGINTERN PyObject 
*GridCellDateTimeRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4383   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4384   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_NewClientData(obj
)); 
4385   return SWIG_Py_Void(); 
4388 SWIGINTERN PyObject 
*GridCellDateTimeRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4389   return SWIG_Python_InitShadowInstance(args
); 
4392 SWIGINTERN PyObject 
*_wrap_new_GridCellEnumRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4393   PyObject 
*resultobj 
= 0; 
4394   wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
4395   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
4396   wxGridCellEnumRenderer 
*result 
= 0 ; 
4397   bool temp1 
= false ; 
4398   PyObject 
* obj0 
= 0 ; 
4399   char *  kwnames
[] = { 
4400     (char *) "choices", NULL 
 
4403   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) SWIG_fail
; 
4406       arg1 
= wxString_in_helper(obj0
); 
4407       if (arg1 
== NULL
) SWIG_fail
; 
4412     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4413     result 
= (wxGridCellEnumRenderer 
*)new wxGridCellEnumRenderer((wxString 
const &)*arg1
); 
4414     wxPyEndAllowThreads(__tstate
); 
4415     if (PyErr_Occurred()) SWIG_fail
; 
4417   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4432 SWIGINTERN PyObject 
*GridCellEnumRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4434   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4435   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_NewClientData(obj
)); 
4436   return SWIG_Py_Void(); 
4439 SWIGINTERN PyObject 
*GridCellEnumRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4440   return SWIG_Python_InitShadowInstance(args
); 
4443 SWIGINTERN PyObject 
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4444   PyObject 
*resultobj 
= 0; 
4445   wxGridCellAutoWrapStringRenderer 
*result 
= 0 ; 
4447   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringRenderer",0,0,0)) SWIG_fail
; 
4449     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4450     result 
= (wxGridCellAutoWrapStringRenderer 
*)new wxGridCellAutoWrapStringRenderer(); 
4451     wxPyEndAllowThreads(__tstate
); 
4452     if (PyErr_Occurred()) SWIG_fail
; 
4454   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_POINTER_NEW 
|  0 ); 
4461 SWIGINTERN PyObject 
*GridCellAutoWrapStringRenderer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4463   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4464   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_NewClientData(obj
)); 
4465   return SWIG_Py_Void(); 
4468 SWIGINTERN PyObject 
*GridCellAutoWrapStringRenderer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4469   return SWIG_Python_InitShadowInstance(args
); 
4472 SWIGINTERN PyObject 
*_wrap_GridCellEditor_IsCreated(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4473   PyObject 
*resultobj 
= 0; 
4474   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4478   PyObject 
*swig_obj
[1] ; 
4480   if (!args
) SWIG_fail
; 
4482   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4483   if (!SWIG_IsOK(res1
)) { 
4484     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsCreated" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4486   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4488     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4489     result 
= (bool)(arg1
)->IsCreated(); 
4490     wxPyEndAllowThreads(__tstate
); 
4491     if (PyErr_Occurred()) SWIG_fail
; 
4494     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4502 SWIGINTERN PyObject 
*_wrap_GridCellEditor_GetControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4503   PyObject 
*resultobj 
= 0; 
4504   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4505   wxControl 
*result 
= 0 ; 
4508   PyObject 
*swig_obj
[1] ; 
4510   if (!args
) SWIG_fail
; 
4512   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4513   if (!SWIG_IsOK(res1
)) { 
4514     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4516   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4518     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4519     result 
= (wxControl 
*)(arg1
)->GetControl(); 
4520     wxPyEndAllowThreads(__tstate
); 
4521     if (PyErr_Occurred()) SWIG_fail
; 
4524     resultobj 
= wxPyMake_wxObject(result
, 0);  
4532 SWIGINTERN PyObject 
*_wrap_GridCellEditor_SetControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4533   PyObject 
*resultobj 
= 0; 
4534   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4535   wxControl 
*arg2 
= (wxControl 
*) 0 ; 
4540   PyObject 
* obj0 
= 0 ; 
4541   PyObject 
* obj1 
= 0 ; 
4542   char *  kwnames
[] = { 
4543     (char *) "self",(char *) "control", NULL 
 
4546   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4547   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4548   if (!SWIG_IsOK(res1
)) { 
4549     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4551   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4552   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 |  0 ); 
4553   if (!SWIG_IsOK(res2
)) { 
4554     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");  
4556   arg2 
= reinterpret_cast< wxControl 
* >(argp2
); 
4558     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4559     (arg1
)->SetControl(arg2
); 
4560     wxPyEndAllowThreads(__tstate
); 
4561     if (PyErr_Occurred()) SWIG_fail
; 
4563   resultobj 
= SWIG_Py_Void(); 
4570 SWIGINTERN PyObject 
*_wrap_GridCellEditor_GetCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4571   PyObject 
*resultobj 
= 0; 
4572   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4573   wxGridCellAttr 
*result 
= 0 ; 
4576   PyObject 
*swig_obj
[1] ; 
4578   if (!args
) SWIG_fail
; 
4580   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4581   if (!SWIG_IsOK(res1
)) { 
4582     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4584   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4587     result 
= (wxGridCellAttr 
*)(arg1
)->GetCellAttr(); 
4588     wxPyEndAllowThreads(__tstate
); 
4589     if (PyErr_Occurred()) SWIG_fail
; 
4592     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
4600 SWIGINTERN PyObject 
*_wrap_GridCellEditor_SetCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4601   PyObject 
*resultobj 
= 0; 
4602   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4603   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
4608   PyObject 
* obj0 
= 0 ; 
4609   PyObject 
* obj1 
= 0 ; 
4610   char *  kwnames
[] = { 
4611     (char *) "self",(char *) "attr", NULL 
 
4614   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4615   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4616   if (!SWIG_IsOK(res1
)) { 
4617     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4619   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4620   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
4621   if (!SWIG_IsOK(res2
)) { 
4622     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
4624   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
4626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4627     (arg1
)->SetCellAttr(arg2
); 
4628     wxPyEndAllowThreads(__tstate
); 
4629     if (PyErr_Occurred()) SWIG_fail
; 
4631   resultobj 
= SWIG_Py_Void(); 
4638 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4639   PyObject 
*resultobj 
= 0; 
4640   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4641   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4643   wxEvtHandler 
*arg4 
= (wxEvtHandler 
*) 0 ; 
4652   PyObject 
* obj0 
= 0 ; 
4653   PyObject 
* obj1 
= 0 ; 
4654   PyObject 
* obj2 
= 0 ; 
4655   PyObject 
* obj3 
= 0 ; 
4656   char *  kwnames
[] = { 
4657     (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL 
 
4660   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
4661   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4662   if (!SWIG_IsOK(res1
)) { 
4663     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Create" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4665   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4666   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
4667   if (!SWIG_IsOK(res2
)) { 
4668     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
4670   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
4671   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4672   if (!SWIG_IsOK(ecode3
)) { 
4673     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_Create" "', expected argument " "3"" of type '" "int""'"); 
4675   arg3 
= static_cast< int >(val3
); 
4676   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxEvtHandler
, 0 |  0 ); 
4677   if (!SWIG_IsOK(res4
)) { 
4678     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_Create" "', expected argument " "4"" of type '" "wxEvtHandler *""'");  
4680   arg4 
= reinterpret_cast< wxEvtHandler 
* >(argp4
); 
4682     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4683     (arg1
)->Create(arg2
,arg3
,arg4
); 
4684     wxPyEndAllowThreads(__tstate
); 
4685     if (PyErr_Occurred()) SWIG_fail
; 
4687   resultobj 
= SWIG_Py_Void(); 
4694 SWIGINTERN PyObject 
*_wrap_GridCellEditor_BeginEdit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4695   PyObject 
*resultobj 
= 0; 
4696   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4699   wxGrid 
*arg4 
= (wxGrid 
*) 0 ; 
4708   PyObject 
* obj0 
= 0 ; 
4709   PyObject 
* obj1 
= 0 ; 
4710   PyObject 
* obj2 
= 0 ; 
4711   PyObject 
* obj3 
= 0 ; 
4712   char *  kwnames
[] = { 
4713     (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL 
 
4716   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
4717   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4718   if (!SWIG_IsOK(res1
)) { 
4719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4721   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4722   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4723   if (!SWIG_IsOK(ecode2
)) { 
4724     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "2"" of type '" "int""'"); 
4726   arg2 
= static_cast< int >(val2
); 
4727   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4728   if (!SWIG_IsOK(ecode3
)) { 
4729     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "3"" of type '" "int""'"); 
4731   arg3 
= static_cast< int >(val3
); 
4732   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
4733   if (!SWIG_IsOK(res4
)) { 
4734     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "4"" of type '" "wxGrid *""'");  
4736   arg4 
= reinterpret_cast< wxGrid 
* >(argp4
); 
4738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4739     (arg1
)->BeginEdit(arg2
,arg3
,arg4
); 
4740     wxPyEndAllowThreads(__tstate
); 
4741     if (PyErr_Occurred()) SWIG_fail
; 
4743   resultobj 
= SWIG_Py_Void(); 
4750 SWIGINTERN PyObject 
*_wrap_GridCellEditor_EndEdit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4751   PyObject 
*resultobj 
= 0; 
4752   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4755   wxGrid 
*arg4 
= (wxGrid 
*) 0 ; 
4765   PyObject 
* obj0 
= 0 ; 
4766   PyObject 
* obj1 
= 0 ; 
4767   PyObject 
* obj2 
= 0 ; 
4768   PyObject 
* obj3 
= 0 ; 
4769   char *  kwnames
[] = { 
4770     (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL 
 
4773   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
4774   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4775   if (!SWIG_IsOK(res1
)) { 
4776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4778   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4779   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4780   if (!SWIG_IsOK(ecode2
)) { 
4781     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "2"" of type '" "int""'"); 
4783   arg2 
= static_cast< int >(val2
); 
4784   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4785   if (!SWIG_IsOK(ecode3
)) { 
4786     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "3"" of type '" "int""'"); 
4788   arg3 
= static_cast< int >(val3
); 
4789   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
4790   if (!SWIG_IsOK(res4
)) { 
4791     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "4"" of type '" "wxGrid *""'");  
4793   arg4 
= reinterpret_cast< wxGrid 
* >(argp4
); 
4795     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4796     result 
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
); 
4797     wxPyEndAllowThreads(__tstate
); 
4798     if (PyErr_Occurred()) SWIG_fail
; 
4801     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4809 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Reset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4810   PyObject 
*resultobj 
= 0; 
4811   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4814   PyObject 
*swig_obj
[1] ; 
4816   if (!args
) SWIG_fail
; 
4818   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4819   if (!SWIG_IsOK(res1
)) { 
4820     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Reset" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4822   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4824     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4826     wxPyEndAllowThreads(__tstate
); 
4827     if (PyErr_Occurred()) SWIG_fail
; 
4829   resultobj 
= SWIG_Py_Void(); 
4836 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Clone(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4837   PyObject 
*resultobj 
= 0; 
4838   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4839   wxGridCellEditor 
*result 
= 0 ; 
4842   PyObject 
*swig_obj
[1] ; 
4844   if (!args
) SWIG_fail
; 
4846   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4847   if (!SWIG_IsOK(res1
)) { 
4848     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Clone" "', expected argument " "1"" of type '" "wxGridCellEditor const *""'");  
4850   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4853     result 
= (wxGridCellEditor 
*)((wxGridCellEditor 
const *)arg1
)->Clone(); 
4854     wxPyEndAllowThreads(__tstate
); 
4855     if (PyErr_Occurred()) SWIG_fail
; 
4858     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
4866 SWIGINTERN PyObject 
*_wrap_GridCellEditor_SetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4867   PyObject 
*resultobj 
= 0; 
4868   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4873   PyObject 
* obj0 
= 0 ; 
4874   PyObject 
* obj1 
= 0 ; 
4875   char *  kwnames
[] = { 
4876     (char *) "self",(char *) "rect", NULL 
 
4879   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4880   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4881   if (!SWIG_IsOK(res1
)) { 
4882     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetSize" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4884   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4887     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
4890     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4891     (arg1
)->SetSize((wxRect 
const &)*arg2
); 
4892     wxPyEndAllowThreads(__tstate
); 
4893     if (PyErr_Occurred()) SWIG_fail
; 
4895   resultobj 
= SWIG_Py_Void(); 
4902 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Show(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4903   PyObject 
*resultobj 
= 0; 
4904   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4906   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) NULL 
; 
4913   PyObject 
* obj0 
= 0 ; 
4914   PyObject 
* obj1 
= 0 ; 
4915   PyObject 
* obj2 
= 0 ; 
4916   char *  kwnames
[] = { 
4917     (char *) "self",(char *) "show",(char *) "attr", NULL 
 
4920   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4921   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4922   if (!SWIG_IsOK(res1
)) { 
4923     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Show" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4925   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4926   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
4927   if (!SWIG_IsOK(ecode2
)) { 
4928     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_Show" "', expected argument " "2"" of type '" "bool""'"); 
4930   arg2 
= static_cast< bool >(val2
); 
4932     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
4933     if (!SWIG_IsOK(res3
)) { 
4934       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_Show" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");  
4936     arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
4939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4940     (arg1
)->Show(arg2
,arg3
); 
4941     wxPyEndAllowThreads(__tstate
); 
4942     if (PyErr_Occurred()) SWIG_fail
; 
4944   resultobj 
= SWIG_Py_Void(); 
4951 SWIGINTERN PyObject 
*_wrap_GridCellEditor_PaintBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4952   PyObject 
*resultobj 
= 0; 
4953   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4955   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
4961   PyObject 
* obj0 
= 0 ; 
4962   PyObject 
* obj1 
= 0 ; 
4963   PyObject 
* obj2 
= 0 ; 
4964   char *  kwnames
[] = { 
4965     (char *) "self",(char *) "rectCell",(char *) "attr", NULL 
 
4968   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4969   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
4970   if (!SWIG_IsOK(res1
)) { 
4971     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
4973   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
4976     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
4978   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
4979   if (!SWIG_IsOK(res3
)) { 
4980     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");  
4982   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
4984     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4985     (arg1
)->PaintBackground((wxRect 
const &)*arg2
,arg3
); 
4986     wxPyEndAllowThreads(__tstate
); 
4987     if (PyErr_Occurred()) SWIG_fail
; 
4989   resultobj 
= SWIG_Py_Void(); 
4996 SWIGINTERN PyObject 
*_wrap_GridCellEditor_IsAcceptedKey(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4997   PyObject 
*resultobj 
= 0; 
4998   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
4999   wxKeyEvent 
*arg2 
= 0 ; 
5005   PyObject 
* obj0 
= 0 ; 
5006   PyObject 
* obj1 
= 0 ; 
5007   char *  kwnames
[] = { 
5008     (char *) "self",(char *) "event", NULL 
 
5011   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5012   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5013   if (!SWIG_IsOK(res1
)) { 
5014     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5016   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5017   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
,  0 ); 
5018   if (!SWIG_IsOK(res2
)) { 
5019     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5022     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5024   arg2 
= reinterpret_cast< wxKeyEvent 
* >(argp2
); 
5026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5027     result 
= (bool)(arg1
)->IsAcceptedKey(*arg2
); 
5028     wxPyEndAllowThreads(__tstate
); 
5029     if (PyErr_Occurred()) SWIG_fail
; 
5032     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5040 SWIGINTERN PyObject 
*_wrap_GridCellEditor_StartingKey(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5041   PyObject 
*resultobj 
= 0; 
5042   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5043   wxKeyEvent 
*arg2 
= 0 ; 
5048   PyObject 
* obj0 
= 0 ; 
5049   PyObject 
* obj1 
= 0 ; 
5050   char *  kwnames
[] = { 
5051     (char *) "self",(char *) "event", NULL 
 
5054   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5055   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5056   if (!SWIG_IsOK(res1
)) { 
5057     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5059   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5060   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
,  0 ); 
5061   if (!SWIG_IsOK(res2
)) { 
5062     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5065     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5067   arg2 
= reinterpret_cast< wxKeyEvent 
* >(argp2
); 
5069     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5070     (arg1
)->StartingKey(*arg2
); 
5071     wxPyEndAllowThreads(__tstate
); 
5072     if (PyErr_Occurred()) SWIG_fail
; 
5074   resultobj 
= SWIG_Py_Void(); 
5081 SWIGINTERN PyObject 
*_wrap_GridCellEditor_StartingClick(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5082   PyObject 
*resultobj 
= 0; 
5083   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5086   PyObject 
*swig_obj
[1] ; 
5088   if (!args
) SWIG_fail
; 
5090   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5091   if (!SWIG_IsOK(res1
)) { 
5092     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingClick" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5094   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5096     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5097     (arg1
)->StartingClick(); 
5098     wxPyEndAllowThreads(__tstate
); 
5099     if (PyErr_Occurred()) SWIG_fail
; 
5101   resultobj 
= SWIG_Py_Void(); 
5108 SWIGINTERN PyObject 
*_wrap_GridCellEditor_HandleReturn(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5109   PyObject 
*resultobj 
= 0; 
5110   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5111   wxKeyEvent 
*arg2 
= 0 ; 
5116   PyObject 
* obj0 
= 0 ; 
5117   PyObject 
* obj1 
= 0 ; 
5118   char *  kwnames
[] = { 
5119     (char *) "self",(char *) "event", NULL 
 
5122   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5123   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5124   if (!SWIG_IsOK(res1
)) { 
5125     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5127   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5128   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
,  0 ); 
5129   if (!SWIG_IsOK(res2
)) { 
5130     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5133     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");  
5135   arg2 
= reinterpret_cast< wxKeyEvent 
* >(argp2
); 
5137     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5138     (arg1
)->HandleReturn(*arg2
); 
5139     wxPyEndAllowThreads(__tstate
); 
5140     if (PyErr_Occurred()) SWIG_fail
; 
5142   resultobj 
= SWIG_Py_Void(); 
5149 SWIGINTERN PyObject 
*_wrap_GridCellEditor_Destroy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5150   PyObject 
*resultobj 
= 0; 
5151   wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
5154   PyObject 
*swig_obj
[1] ; 
5156   if (!args
) SWIG_fail
; 
5158   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
5159   if (!SWIG_IsOK(res1
)) { 
5160     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Destroy" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");  
5162   arg1 
= reinterpret_cast< wxGridCellEditor 
* >(argp1
); 
5164     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5166     wxPyEndAllowThreads(__tstate
); 
5167     if (PyErr_Occurred()) SWIG_fail
; 
5169   resultobj 
= SWIG_Py_Void(); 
5176 SWIGINTERN PyObject 
*GridCellEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5178   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5179   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEditor
, SWIG_NewClientData(obj
)); 
5180   return SWIG_Py_Void(); 
5183 SWIGINTERN PyObject 
*_wrap_new_PyGridCellEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5184   PyObject 
*resultobj 
= 0; 
5185   wxPyGridCellEditor 
*result 
= 0 ; 
5187   if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellEditor",0,0,0)) SWIG_fail
; 
5189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5190     result 
= (wxPyGridCellEditor 
*)new wxPyGridCellEditor(); 
5191     wxPyEndAllowThreads(__tstate
); 
5192     if (PyErr_Occurred()) SWIG_fail
; 
5194   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_NEW 
|  0 ); 
5201 SWIGINTERN PyObject 
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5202   PyObject 
*resultobj 
= 0; 
5203   wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
5204   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5205   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
5208   PyObject 
* obj0 
= 0 ; 
5209   PyObject 
* obj1 
= 0 ; 
5210   PyObject 
* obj2 
= 0 ; 
5211   char *  kwnames
[] = { 
5212     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
5215   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
5216   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 |  0 ); 
5217   if (!SWIG_IsOK(res1
)) { 
5218     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");  
5220   arg1 
= reinterpret_cast< wxPyGridCellEditor 
* >(argp1
); 
5224     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5225     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
5226     wxPyEndAllowThreads(__tstate
); 
5227     if (PyErr_Occurred()) SWIG_fail
; 
5229   resultobj 
= SWIG_Py_Void(); 
5236 SWIGINTERN PyObject 
*_wrap_PyGridCellEditor_SetParameters(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5237   PyObject 
*resultobj 
= 0; 
5238   wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
5239   wxString 
*arg2 
= 0 ; 
5242   bool temp2 
= false ; 
5243   PyObject 
* obj0 
= 0 ; 
5244   PyObject 
* obj1 
= 0 ; 
5245   char *  kwnames
[] = { 
5246     (char *) "self",(char *) "params", NULL 
 
5249   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5250   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 |  0 ); 
5251   if (!SWIG_IsOK(res1
)) { 
5252     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");  
5254   arg1 
= reinterpret_cast< wxPyGridCellEditor 
* >(argp1
); 
5256     arg2 
= wxString_in_helper(obj1
); 
5257     if (arg2 
== NULL
) SWIG_fail
; 
5261     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5262     (arg1
)->SetParameters((wxString 
const &)*arg2
); 
5263     wxPyEndAllowThreads(__tstate
); 
5264     if (PyErr_Occurred()) SWIG_fail
; 
5266   resultobj 
= SWIG_Py_Void(); 
5281 SWIGINTERN PyObject 
*PyGridCellEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5283   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5284   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellEditor
, SWIG_NewClientData(obj
)); 
5285   return SWIG_Py_Void(); 
5288 SWIGINTERN PyObject 
*PyGridCellEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5289   return SWIG_Python_InitShadowInstance(args
); 
5292 SWIGINTERN PyObject 
*_wrap_new_GridCellTextEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5293   PyObject 
*resultobj 
= 0; 
5294   wxGridCellTextEditor 
*result 
= 0 ; 
5296   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellTextEditor",0,0,0)) SWIG_fail
; 
5298     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5299     result 
= (wxGridCellTextEditor 
*)new wxGridCellTextEditor(); 
5300     wxPyEndAllowThreads(__tstate
); 
5301     if (PyErr_Occurred()) SWIG_fail
; 
5303   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_NEW 
|  0 ); 
5310 SWIGINTERN PyObject 
*_wrap_GridCellTextEditor_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5311   PyObject 
*resultobj 
= 0; 
5312   wxGridCellTextEditor 
*arg1 
= (wxGridCellTextEditor 
*) 0 ; 
5316   PyObject 
*swig_obj
[1] ; 
5318   if (!args
) SWIG_fail
; 
5320   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellTextEditor
, 0 |  0 ); 
5321   if (!SWIG_IsOK(res1
)) { 
5322     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellTextEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellTextEditor *""'");  
5324   arg1 
= reinterpret_cast< wxGridCellTextEditor 
* >(argp1
); 
5326     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5327     result 
= (arg1
)->GetValue(); 
5328     wxPyEndAllowThreads(__tstate
); 
5329     if (PyErr_Occurred()) SWIG_fail
; 
5333     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5335     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5344 SWIGINTERN PyObject 
*GridCellTextEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5346   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5347   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellTextEditor
, SWIG_NewClientData(obj
)); 
5348   return SWIG_Py_Void(); 
5351 SWIGINTERN PyObject 
*GridCellTextEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5352   return SWIG_Python_InitShadowInstance(args
); 
5355 SWIGINTERN PyObject 
*_wrap_new_GridCellNumberEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5356   PyObject 
*resultobj 
= 0; 
5357   int arg1 
= (int) -1 ; 
5358   int arg2 
= (int) -1 ; 
5359   wxGridCellNumberEditor 
*result 
= 0 ; 
5364   PyObject 
* obj0 
= 0 ; 
5365   PyObject 
* obj1 
= 0 ; 
5366   char *  kwnames
[] = { 
5367     (char *) "min",(char *) "max", NULL 
 
5370   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5372     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
5373     if (!SWIG_IsOK(ecode1
)) { 
5374       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellNumberEditor" "', expected argument " "1"" of type '" "int""'"); 
5376     arg1 
= static_cast< int >(val1
); 
5379     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5380     if (!SWIG_IsOK(ecode2
)) { 
5381       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellNumberEditor" "', expected argument " "2"" of type '" "int""'"); 
5383     arg2 
= static_cast< int >(val2
); 
5386     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5387     result 
= (wxGridCellNumberEditor 
*)new wxGridCellNumberEditor(arg1
,arg2
); 
5388     wxPyEndAllowThreads(__tstate
); 
5389     if (PyErr_Occurred()) SWIG_fail
; 
5391   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_NEW 
|  0 ); 
5398 SWIGINTERN PyObject 
*GridCellNumberEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5400   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5401   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_NewClientData(obj
)); 
5402   return SWIG_Py_Void(); 
5405 SWIGINTERN PyObject 
*GridCellNumberEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5406   return SWIG_Python_InitShadowInstance(args
); 
5409 SWIGINTERN PyObject 
*_wrap_new_GridCellFloatEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5410   PyObject 
*resultobj 
= 0; 
5411   int arg1 
= (int) -1 ; 
5412   int arg2 
= (int) -1 ; 
5413   wxGridCellFloatEditor 
*result 
= 0 ; 
5418   PyObject 
* obj0 
= 0 ; 
5419   PyObject 
* obj1 
= 0 ; 
5420   char *  kwnames
[] = { 
5421     (char *) "width",(char *) "precision", NULL 
 
5424   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5426     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
5427     if (!SWIG_IsOK(ecode1
)) { 
5428       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatEditor" "', expected argument " "1"" of type '" "int""'"); 
5430     arg1 
= static_cast< int >(val1
); 
5433     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5434     if (!SWIG_IsOK(ecode2
)) { 
5435       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatEditor" "', expected argument " "2"" of type '" "int""'"); 
5437     arg2 
= static_cast< int >(val2
); 
5440     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5441     result 
= (wxGridCellFloatEditor 
*)new wxGridCellFloatEditor(arg1
,arg2
); 
5442     wxPyEndAllowThreads(__tstate
); 
5443     if (PyErr_Occurred()) SWIG_fail
; 
5445   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_NEW 
|  0 ); 
5452 SWIGINTERN PyObject 
*GridCellFloatEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5454   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5455   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_NewClientData(obj
)); 
5456   return SWIG_Py_Void(); 
5459 SWIGINTERN PyObject 
*GridCellFloatEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5460   return SWIG_Python_InitShadowInstance(args
); 
5463 SWIGINTERN PyObject 
*_wrap_new_GridCellBoolEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5464   PyObject 
*resultobj 
= 0; 
5465   wxGridCellBoolEditor 
*result 
= 0 ; 
5467   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolEditor",0,0,0)) SWIG_fail
; 
5469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5470     result 
= (wxGridCellBoolEditor 
*)new wxGridCellBoolEditor(); 
5471     wxPyEndAllowThreads(__tstate
); 
5472     if (PyErr_Occurred()) SWIG_fail
; 
5474   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_NEW 
|  0 ); 
5481 SWIGINTERN PyObject 
*_wrap_GridCellBoolEditor_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5482   PyObject 
*resultobj 
= 0; 
5483   wxGridCellBoolEditor 
*arg1 
= (wxGridCellBoolEditor 
*) 0 ; 
5487   PyObject 
*swig_obj
[1] ; 
5489   if (!args
) SWIG_fail
; 
5491   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellBoolEditor
, 0 |  0 ); 
5492   if (!SWIG_IsOK(res1
)) { 
5493     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellBoolEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellBoolEditor *""'");  
5495   arg1 
= reinterpret_cast< wxGridCellBoolEditor 
* >(argp1
); 
5497     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5498     result 
= (arg1
)->GetValue(); 
5499     wxPyEndAllowThreads(__tstate
); 
5500     if (PyErr_Occurred()) SWIG_fail
; 
5504     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5506     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5515 SWIGINTERN PyObject 
*GridCellBoolEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5517   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5518   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_NewClientData(obj
)); 
5519   return SWIG_Py_Void(); 
5522 SWIGINTERN PyObject 
*GridCellBoolEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5523   return SWIG_Python_InitShadowInstance(args
); 
5526 SWIGINTERN PyObject 
*_wrap_new_GridCellChoiceEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5527   PyObject 
*resultobj 
= 0; 
5528   int arg1 
= (int) 0 ; 
5529   wxString 
*arg2 
= (wxString 
*) NULL 
; 
5530   bool arg3 
= (bool) false ; 
5531   wxGridCellChoiceEditor 
*result 
= 0 ; 
5534   PyObject 
* obj0 
= 0 ; 
5535   PyObject 
* obj1 
= 0 ; 
5536   char *  kwnames
[] = { 
5537     (char *) "choices",(char *) "allowOthers", NULL 
 
5540   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5543       arg1 
= PyList_Size(obj0
); 
5544       arg2 
= wxString_LIST_helper(obj0
); 
5545       if (arg2 
== NULL
) SWIG_fail
; 
5549     ecode3 
= SWIG_AsVal_bool(obj1
, &val3
); 
5550     if (!SWIG_IsOK(ecode3
)) { 
5551       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridCellChoiceEditor" "', expected argument " "3"" of type '" "bool""'"); 
5553     arg3 
= static_cast< bool >(val3
); 
5556     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5557     result 
= (wxGridCellChoiceEditor 
*)new wxGridCellChoiceEditor(arg1
,(wxString 
const *)arg2
,arg3
); 
5558     wxPyEndAllowThreads(__tstate
); 
5559     if (PyErr_Occurred()) SWIG_fail
; 
5561   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_NEW 
|  0 ); 
5563     if (arg2
) delete [] arg2
; 
5568     if (arg2
) delete [] arg2
; 
5574 SWIGINTERN PyObject 
*_wrap_GridCellChoiceEditor_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5575   PyObject 
*resultobj 
= 0; 
5576   wxGridCellChoiceEditor 
*arg1 
= (wxGridCellChoiceEditor 
*) 0 ; 
5580   PyObject 
*swig_obj
[1] ; 
5582   if (!args
) SWIG_fail
; 
5584   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellChoiceEditor
, 0 |  0 ); 
5585   if (!SWIG_IsOK(res1
)) { 
5586     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellChoiceEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellChoiceEditor *""'");  
5588   arg1 
= reinterpret_cast< wxGridCellChoiceEditor 
* >(argp1
); 
5590     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5591     result 
= (arg1
)->GetValue(); 
5592     wxPyEndAllowThreads(__tstate
); 
5593     if (PyErr_Occurred()) SWIG_fail
; 
5597     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5599     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5608 SWIGINTERN PyObject 
*GridCellChoiceEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5610   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5611   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_NewClientData(obj
)); 
5612   return SWIG_Py_Void(); 
5615 SWIGINTERN PyObject 
*GridCellChoiceEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5616   return SWIG_Python_InitShadowInstance(args
); 
5619 SWIGINTERN PyObject 
*_wrap_new_GridCellEnumEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5620   PyObject 
*resultobj 
= 0; 
5621   wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
5622   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
5623   wxGridCellEnumEditor 
*result 
= 0 ; 
5624   bool temp1 
= false ; 
5625   PyObject 
* obj0 
= 0 ; 
5626   char *  kwnames
[] = { 
5627     (char *) "choices", NULL 
 
5630   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) SWIG_fail
; 
5633       arg1 
= wxString_in_helper(obj0
); 
5634       if (arg1 
== NULL
) SWIG_fail
; 
5639     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5640     result 
= (wxGridCellEnumEditor 
*)new wxGridCellEnumEditor((wxString 
const &)*arg1
); 
5641     wxPyEndAllowThreads(__tstate
); 
5642     if (PyErr_Occurred()) SWIG_fail
; 
5644   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_NEW 
|  0 ); 
5659 SWIGINTERN PyObject 
*GridCellEnumEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5661   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5662   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_NewClientData(obj
)); 
5663   return SWIG_Py_Void(); 
5666 SWIGINTERN PyObject 
*GridCellEnumEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5667   return SWIG_Python_InitShadowInstance(args
); 
5670 SWIGINTERN PyObject 
*_wrap_new_GridCellAutoWrapStringEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5671   PyObject 
*resultobj 
= 0; 
5672   wxGridCellAutoWrapStringEditor 
*result 
= 0 ; 
5674   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringEditor",0,0,0)) SWIG_fail
; 
5676     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5677     result 
= (wxGridCellAutoWrapStringEditor 
*)new wxGridCellAutoWrapStringEditor(); 
5678     wxPyEndAllowThreads(__tstate
); 
5679     if (PyErr_Occurred()) SWIG_fail
; 
5681   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_NEW 
|  0 ); 
5688 SWIGINTERN PyObject 
*GridCellAutoWrapStringEditor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5690   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5691   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_NewClientData(obj
)); 
5692   return SWIG_Py_Void(); 
5695 SWIGINTERN PyObject 
*GridCellAutoWrapStringEditor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5696   return SWIG_Python_InitShadowInstance(args
); 
5699 SWIGINTERN PyObject 
*_wrap_GridCellAttr__setOORInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5700   PyObject 
*resultobj 
= 0; 
5701   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5702   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5705   PyObject 
* obj0 
= 0 ; 
5706   PyObject 
* obj1 
= 0 ; 
5707   char *  kwnames
[] = { 
5708     (char *) "self",(char *) "_self", NULL 
 
5711   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5712   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5713   if (!SWIG_IsOK(res1
)) { 
5714     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
5716   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
5719     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5720     wxGridCellAttr__setOORInfo(arg1
,arg2
); 
5721     wxPyEndAllowThreads(__tstate
); 
5722     if (PyErr_Occurred()) SWIG_fail
; 
5724   resultobj 
= SWIG_Py_Void(); 
5731 SWIGINTERN PyObject 
*_wrap_new_GridCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5732   PyObject 
*resultobj 
= 0; 
5733   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) NULL 
; 
5734   wxGridCellAttr 
*result 
= 0 ; 
5737   PyObject 
* obj0 
= 0 ; 
5738   char *  kwnames
[] = { 
5739     (char *) "attrDefault", NULL 
 
5742   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) SWIG_fail
; 
5744     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5745     if (!SWIG_IsOK(res1
)) { 
5746       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
5748     arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
5751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5752     result 
= (wxGridCellAttr 
*)new wxGridCellAttr(arg1
); 
5753     wxPyEndAllowThreads(__tstate
); 
5754     if (PyErr_Occurred()) SWIG_fail
; 
5757     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)SWIG_POINTER_NEW
);  
5765 SWIGINTERN PyObject 
*_wrap_delete_GridCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5766   PyObject 
*resultobj 
= 0; 
5767   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5770   PyObject 
*swig_obj
[1] ; 
5772   if (!args
) SWIG_fail
; 
5774   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_DISOWN 
|  0 ); 
5775   if (!SWIG_IsOK(res1
)) { 
5776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
5778   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
5780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5781     delete_wxGridCellAttr(arg1
); 
5783     wxPyEndAllowThreads(__tstate
); 
5784     if (PyErr_Occurred()) SWIG_fail
; 
5786   resultobj 
= SWIG_Py_Void(); 
5793 SWIGINTERN PyObject 
*_wrap_GridCellAttr_Clone(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5794   PyObject 
*resultobj 
= 0; 
5795   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5796   wxGridCellAttr 
*result 
= 0 ; 
5799   PyObject 
*swig_obj
[1] ; 
5801   if (!args
) SWIG_fail
; 
5803   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5804   if (!SWIG_IsOK(res1
)) { 
5805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_Clone" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
5807   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
5809     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5810     result 
= (wxGridCellAttr 
*)((wxGridCellAttr 
const *)arg1
)->Clone(); 
5811     wxPyEndAllowThreads(__tstate
); 
5812     if (PyErr_Occurred()) SWIG_fail
; 
5815     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
5823 SWIGINTERN PyObject 
*_wrap_GridCellAttr_MergeWith(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5824   PyObject 
*resultobj 
= 0; 
5825   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5826   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
5831   PyObject 
* obj0 
= 0 ; 
5832   PyObject 
* obj1 
= 0 ; 
5833   char *  kwnames
[] = { 
5834     (char *) "self",(char *) "mergefrom", NULL 
 
5837   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5838   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5839   if (!SWIG_IsOK(res1
)) { 
5840     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
5842   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
5843   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5844   if (!SWIG_IsOK(res2
)) { 
5845     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
5847   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
5849     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5850     (arg1
)->MergeWith(arg2
); 
5851     wxPyEndAllowThreads(__tstate
); 
5852     if (PyErr_Occurred()) SWIG_fail
; 
5854   resultobj 
= SWIG_Py_Void(); 
5861 SWIGINTERN PyObject 
*_wrap_GridCellAttr_IncRef(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5862   PyObject 
*resultobj 
= 0; 
5863   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5866   PyObject 
*swig_obj
[1] ; 
5868   if (!args
) SWIG_fail
; 
5870   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5871   if (!SWIG_IsOK(res1
)) { 
5872     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IncRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
5874   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
5876     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5878     wxPyEndAllowThreads(__tstate
); 
5879     if (PyErr_Occurred()) SWIG_fail
; 
5881   resultobj 
= SWIG_Py_Void(); 
5888 SWIGINTERN PyObject 
*_wrap_GridCellAttr_DecRef(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5889   PyObject 
*resultobj 
= 0; 
5890   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5893   PyObject 
*swig_obj
[1] ; 
5895   if (!args
) SWIG_fail
; 
5897   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5898   if (!SWIG_IsOK(res1
)) { 
5899     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_DecRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
5901   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
5903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5905     wxPyEndAllowThreads(__tstate
); 
5906     if (PyErr_Occurred()) SWIG_fail
; 
5908   resultobj 
= SWIG_Py_Void(); 
5915 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5916   PyObject 
*resultobj 
= 0; 
5917   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5918   wxColour 
*arg2 
= 0 ; 
5922   PyObject 
* obj0 
= 0 ; 
5923   PyObject 
* obj1 
= 0 ; 
5924   char *  kwnames
[] = { 
5925     (char *) "self",(char *) "colText", NULL 
 
5928   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5929   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5930   if (!SWIG_IsOK(res1
)) { 
5931     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
5933   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
5936     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
5939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5940     (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
5941     wxPyEndAllowThreads(__tstate
); 
5942     if (PyErr_Occurred()) SWIG_fail
; 
5944   resultobj 
= SWIG_Py_Void(); 
5951 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5952   PyObject 
*resultobj 
= 0; 
5953   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5954   wxColour 
*arg2 
= 0 ; 
5958   PyObject 
* obj0 
= 0 ; 
5959   PyObject 
* obj1 
= 0 ; 
5960   char *  kwnames
[] = { 
5961     (char *) "self",(char *) "colBack", NULL 
 
5964   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5965   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
5966   if (!SWIG_IsOK(res1
)) { 
5967     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
5969   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
5972     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
5975     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5976     (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
5977     wxPyEndAllowThreads(__tstate
); 
5978     if (PyErr_Occurred()) SWIG_fail
; 
5980   resultobj 
= SWIG_Py_Void(); 
5987 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5988   PyObject 
*resultobj 
= 0; 
5989   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
5995   PyObject 
* obj0 
= 0 ; 
5996   PyObject 
* obj1 
= 0 ; 
5997   char *  kwnames
[] = { 
5998     (char *) "self",(char *) "font", NULL 
 
6001   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6002   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6003   if (!SWIG_IsOK(res1
)) { 
6004     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetFont" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6006   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6007   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
6008   if (!SWIG_IsOK(res2
)) { 
6009     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
6012     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
6014   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
6016     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6017     (arg1
)->SetFont((wxFont 
const &)*arg2
); 
6018     wxPyEndAllowThreads(__tstate
); 
6019     if (PyErr_Occurred()) SWIG_fail
; 
6021   resultobj 
= SWIG_Py_Void(); 
6028 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6029   PyObject 
*resultobj 
= 0; 
6030   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6039   PyObject 
* obj0 
= 0 ; 
6040   PyObject 
* obj1 
= 0 ; 
6041   PyObject 
* obj2 
= 0 ; 
6042   char *  kwnames
[] = { 
6043     (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL 
 
6046   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6047   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6048   if (!SWIG_IsOK(res1
)) { 
6049     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6051   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6052   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6053   if (!SWIG_IsOK(ecode2
)) { 
6054     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "2"" of type '" "int""'"); 
6056   arg2 
= static_cast< int >(val2
); 
6057   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6058   if (!SWIG_IsOK(ecode3
)) { 
6059     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "3"" of type '" "int""'"); 
6061   arg3 
= static_cast< int >(val3
); 
6063     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6064     (arg1
)->SetAlignment(arg2
,arg3
); 
6065     wxPyEndAllowThreads(__tstate
); 
6066     if (PyErr_Occurred()) SWIG_fail
; 
6068   resultobj 
= SWIG_Py_Void(); 
6075 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6076   PyObject 
*resultobj 
= 0; 
6077   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6086   PyObject 
* obj0 
= 0 ; 
6087   PyObject 
* obj1 
= 0 ; 
6088   PyObject 
* obj2 
= 0 ; 
6089   char *  kwnames
[] = { 
6090     (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL 
 
6093   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6094   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6095   if (!SWIG_IsOK(res1
)) { 
6096     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetSize" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6098   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6099   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6100   if (!SWIG_IsOK(ecode2
)) { 
6101     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetSize" "', expected argument " "2"" of type '" "int""'"); 
6103   arg2 
= static_cast< int >(val2
); 
6104   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6105   if (!SWIG_IsOK(ecode3
)) { 
6106     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetSize" "', expected argument " "3"" of type '" "int""'"); 
6108   arg3 
= static_cast< int >(val3
); 
6110     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6111     (arg1
)->SetSize(arg2
,arg3
); 
6112     wxPyEndAllowThreads(__tstate
); 
6113     if (PyErr_Occurred()) SWIG_fail
; 
6115   resultobj 
= SWIG_Py_Void(); 
6122 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6123   PyObject 
*resultobj 
= 0; 
6124   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6125   bool arg2 
= (bool) true ; 
6130   PyObject 
* obj0 
= 0 ; 
6131   PyObject 
* obj1 
= 0 ; 
6132   char *  kwnames
[] = { 
6133     (char *) "self",(char *) "allow", NULL 
 
6136   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6137   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6138   if (!SWIG_IsOK(res1
)) { 
6139     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6141   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6143     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
6144     if (!SWIG_IsOK(ecode2
)) { 
6145       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "2"" of type '" "bool""'"); 
6147     arg2 
= static_cast< bool >(val2
); 
6150     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6151     (arg1
)->SetOverflow(arg2
); 
6152     wxPyEndAllowThreads(__tstate
); 
6153     if (PyErr_Occurred()) SWIG_fail
; 
6155   resultobj 
= SWIG_Py_Void(); 
6162 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6163   PyObject 
*resultobj 
= 0; 
6164   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6165   bool arg2 
= (bool) true ; 
6170   PyObject 
* obj0 
= 0 ; 
6171   PyObject 
* obj1 
= 0 ; 
6172   char *  kwnames
[] = { 
6173     (char *) "self",(char *) "isReadOnly", NULL 
 
6176   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6177   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6178   if (!SWIG_IsOK(res1
)) { 
6179     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6181   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6183     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
6184     if (!SWIG_IsOK(ecode2
)) { 
6185       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "2"" of type '" "bool""'"); 
6187     arg2 
= static_cast< bool >(val2
); 
6190     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6191     (arg1
)->SetReadOnly(arg2
); 
6192     wxPyEndAllowThreads(__tstate
); 
6193     if (PyErr_Occurred()) SWIG_fail
; 
6195   resultobj 
= SWIG_Py_Void(); 
6202 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6203   PyObject 
*resultobj 
= 0; 
6204   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6205   wxGridCellRenderer 
*arg2 
= (wxGridCellRenderer 
*) 0 ; 
6210   PyObject 
* obj0 
= 0 ; 
6211   PyObject 
* obj1 
= 0 ; 
6212   char *  kwnames
[] = { 
6213     (char *) "self",(char *) "renderer", NULL 
 
6216   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6217   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6218   if (!SWIG_IsOK(res1
)) { 
6219     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6221   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6222   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
6223   if (!SWIG_IsOK(res2
)) { 
6224     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");  
6226   arg2 
= reinterpret_cast< wxGridCellRenderer 
* >(argp2
); 
6228     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6229     (arg1
)->SetRenderer(arg2
); 
6230     wxPyEndAllowThreads(__tstate
); 
6231     if (PyErr_Occurred()) SWIG_fail
; 
6233   resultobj 
= SWIG_Py_Void(); 
6240 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6241   PyObject 
*resultobj 
= 0; 
6242   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6243   wxGridCellEditor 
*arg2 
= (wxGridCellEditor 
*) 0 ; 
6248   PyObject 
* obj0 
= 0 ; 
6249   PyObject 
* obj1 
= 0 ; 
6250   char *  kwnames
[] = { 
6251     (char *) "self",(char *) "editor", NULL 
 
6254   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6255   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6256   if (!SWIG_IsOK(res1
)) { 
6257     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6259   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6260   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
6261   if (!SWIG_IsOK(res2
)) { 
6262     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");  
6264   arg2 
= reinterpret_cast< wxGridCellEditor 
* >(argp2
); 
6266     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6267     (arg1
)->SetEditor(arg2
); 
6268     wxPyEndAllowThreads(__tstate
); 
6269     if (PyErr_Occurred()) SWIG_fail
; 
6271   resultobj 
= SWIG_Py_Void(); 
6278 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetKind(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6279   PyObject 
*resultobj 
= 0; 
6280   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6281   wxGridCellAttr::wxAttrKind arg2 
; 
6286   PyObject 
* obj0 
= 0 ; 
6287   PyObject 
* obj1 
= 0 ; 
6288   char *  kwnames
[] = { 
6289     (char *) "self",(char *) "kind", NULL 
 
6292   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6293   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6294   if (!SWIG_IsOK(res1
)) { 
6295     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6297   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6298   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6299   if (!SWIG_IsOK(ecode2
)) { 
6300     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetKind" "', expected argument " "2"" of type '" "wxGridCellAttr::wxAttrKind""'"); 
6302   arg2 
= static_cast< wxGridCellAttr::wxAttrKind 
>(val2
); 
6304     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6305     (arg1
)->SetKind(arg2
); 
6306     wxPyEndAllowThreads(__tstate
); 
6307     if (PyErr_Occurred()) SWIG_fail
; 
6309   resultobj 
= SWIG_Py_Void(); 
6316 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6317   PyObject 
*resultobj 
= 0; 
6318   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6322   PyObject 
*swig_obj
[1] ; 
6324   if (!args
) SWIG_fail
; 
6326   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6327   if (!SWIG_IsOK(res1
)) { 
6328     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6330   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6332     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6333     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasTextColour(); 
6334     wxPyEndAllowThreads(__tstate
); 
6335     if (PyErr_Occurred()) SWIG_fail
; 
6338     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6346 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6347   PyObject 
*resultobj 
= 0; 
6348   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6352   PyObject 
*swig_obj
[1] ; 
6354   if (!args
) SWIG_fail
; 
6356   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6357   if (!SWIG_IsOK(res1
)) { 
6358     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6360   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6362     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6363     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasBackgroundColour(); 
6364     wxPyEndAllowThreads(__tstate
); 
6365     if (PyErr_Occurred()) SWIG_fail
; 
6368     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6376 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6377   PyObject 
*resultobj 
= 0; 
6378   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6382   PyObject 
*swig_obj
[1] ; 
6384   if (!args
) SWIG_fail
; 
6386   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6387   if (!SWIG_IsOK(res1
)) { 
6388     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6390   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6392     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6393     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasFont(); 
6394     wxPyEndAllowThreads(__tstate
); 
6395     if (PyErr_Occurred()) SWIG_fail
; 
6398     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6406 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6407   PyObject 
*resultobj 
= 0; 
6408   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6412   PyObject 
*swig_obj
[1] ; 
6414   if (!args
) SWIG_fail
; 
6416   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6417   if (!SWIG_IsOK(res1
)) { 
6418     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6420   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6422     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6423     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasAlignment(); 
6424     wxPyEndAllowThreads(__tstate
); 
6425     if (PyErr_Occurred()) SWIG_fail
; 
6428     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6436 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6437   PyObject 
*resultobj 
= 0; 
6438   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6442   PyObject 
*swig_obj
[1] ; 
6444   if (!args
) SWIG_fail
; 
6446   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6447   if (!SWIG_IsOK(res1
)) { 
6448     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6450   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6452     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6453     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasRenderer(); 
6454     wxPyEndAllowThreads(__tstate
); 
6455     if (PyErr_Occurred()) SWIG_fail
; 
6458     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6466 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6467   PyObject 
*resultobj 
= 0; 
6468   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6472   PyObject 
*swig_obj
[1] ; 
6474   if (!args
) SWIG_fail
; 
6476   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6477   if (!SWIG_IsOK(res1
)) { 
6478     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6480   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6483     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasEditor(); 
6484     wxPyEndAllowThreads(__tstate
); 
6485     if (PyErr_Occurred()) SWIG_fail
; 
6488     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6496 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasReadWriteMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6497   PyObject 
*resultobj 
= 0; 
6498   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6502   PyObject 
*swig_obj
[1] ; 
6504   if (!args
) SWIG_fail
; 
6506   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6507   if (!SWIG_IsOK(res1
)) { 
6508     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasReadWriteMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6510   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6513     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasReadWriteMode(); 
6514     wxPyEndAllowThreads(__tstate
); 
6515     if (PyErr_Occurred()) SWIG_fail
; 
6518     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6526 SWIGINTERN PyObject 
*_wrap_GridCellAttr_HasOverflowMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6527   PyObject 
*resultobj 
= 0; 
6528   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6532   PyObject 
*swig_obj
[1] ; 
6534   if (!args
) SWIG_fail
; 
6536   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6537   if (!SWIG_IsOK(res1
)) { 
6538     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasOverflowMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6540   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6542     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6543     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasOverflowMode(); 
6544     wxPyEndAllowThreads(__tstate
); 
6545     if (PyErr_Occurred()) SWIG_fail
; 
6548     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6556 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6557   PyObject 
*resultobj 
= 0; 
6558   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6562   PyObject 
*swig_obj
[1] ; 
6564   if (!args
) SWIG_fail
; 
6566   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6567   if (!SWIG_IsOK(res1
)) { 
6568     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6570   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6572     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6573     result 
= ((wxGridCellAttr 
const *)arg1
)->GetTextColour(); 
6574     wxPyEndAllowThreads(__tstate
); 
6575     if (PyErr_Occurred()) SWIG_fail
; 
6577   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
6584 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6585   PyObject 
*resultobj 
= 0; 
6586   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6590   PyObject 
*swig_obj
[1] ; 
6592   if (!args
) SWIG_fail
; 
6594   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6595   if (!SWIG_IsOK(res1
)) { 
6596     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6598   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6600     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6601     result 
= ((wxGridCellAttr 
const *)arg1
)->GetBackgroundColour(); 
6602     wxPyEndAllowThreads(__tstate
); 
6603     if (PyErr_Occurred()) SWIG_fail
; 
6605   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
6612 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6613   PyObject 
*resultobj 
= 0; 
6614   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6618   PyObject 
*swig_obj
[1] ; 
6620   if (!args
) SWIG_fail
; 
6622   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6623   if (!SWIG_IsOK(res1
)) { 
6624     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6626   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6628     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6629     result 
= ((wxGridCellAttr 
const *)arg1
)->GetFont(); 
6630     wxPyEndAllowThreads(__tstate
); 
6631     if (PyErr_Occurred()) SWIG_fail
; 
6633   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
6640 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6641   PyObject 
*resultobj 
= 0; 
6642   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6643   int *arg2 
= (int *) 0 ; 
6644   int *arg3 
= (int *) 0 ; 
6648   int res2 
= SWIG_TMPOBJ 
; 
6650   int res3 
= SWIG_TMPOBJ 
; 
6651   PyObject 
*swig_obj
[1] ; 
6655   if (!args
) SWIG_fail
; 
6657   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6658   if (!SWIG_IsOK(res1
)) { 
6659     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6661   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6663     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6664     ((wxGridCellAttr 
const *)arg1
)->GetAlignment(arg2
,arg3
); 
6665     wxPyEndAllowThreads(__tstate
); 
6666     if (PyErr_Occurred()) SWIG_fail
; 
6668   resultobj 
= SWIG_Py_Void(); 
6669   if (SWIG_IsTmpObj(res2
)) { 
6670     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
6672     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6673     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
6675   if (SWIG_IsTmpObj(res3
)) { 
6676     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
6678     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6679     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
6687 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6688   PyObject 
*resultobj 
= 0; 
6689   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6690   int *arg2 
= (int *) 0 ; 
6691   int *arg3 
= (int *) 0 ; 
6695   int res2 
= SWIG_TMPOBJ 
; 
6697   int res3 
= SWIG_TMPOBJ 
; 
6698   PyObject 
*swig_obj
[1] ; 
6702   if (!args
) SWIG_fail
; 
6704   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6705   if (!SWIG_IsOK(res1
)) { 
6706     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetSize" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6708   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6710     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6711     ((wxGridCellAttr 
const *)arg1
)->GetSize(arg2
,arg3
); 
6712     wxPyEndAllowThreads(__tstate
); 
6713     if (PyErr_Occurred()) SWIG_fail
; 
6715   resultobj 
= SWIG_Py_Void(); 
6716   if (SWIG_IsTmpObj(res2
)) { 
6717     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
6719     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6720     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
6722   if (SWIG_IsTmpObj(res3
)) { 
6723     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
6725     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6726     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
6734 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6735   PyObject 
*resultobj 
= 0; 
6736   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6740   PyObject 
*swig_obj
[1] ; 
6742   if (!args
) SWIG_fail
; 
6744   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6745   if (!SWIG_IsOK(res1
)) { 
6746     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6748   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6751     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->GetOverflow(); 
6752     wxPyEndAllowThreads(__tstate
); 
6753     if (PyErr_Occurred()) SWIG_fail
; 
6756     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6764 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6765   PyObject 
*resultobj 
= 0; 
6766   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6767   wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
6770   wxGridCellRenderer 
*result 
= 0 ; 
6779   PyObject 
* obj0 
= 0 ; 
6780   PyObject 
* obj1 
= 0 ; 
6781   PyObject 
* obj2 
= 0 ; 
6782   PyObject 
* obj3 
= 0 ; 
6783   char *  kwnames
[] = { 
6784     (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL 
 
6787   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6788   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6789   if (!SWIG_IsOK(res1
)) { 
6790     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6792   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6793   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
6794   if (!SWIG_IsOK(res2
)) { 
6795     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "2"" of type '" "wxGrid *""'");  
6797   arg2 
= reinterpret_cast< wxGrid 
* >(argp2
); 
6798   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6799   if (!SWIG_IsOK(ecode3
)) { 
6800     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "3"" of type '" "int""'"); 
6802   arg3 
= static_cast< int >(val3
); 
6803   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
6804   if (!SWIG_IsOK(ecode4
)) { 
6805     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "4"" of type '" "int""'"); 
6807   arg4 
= static_cast< int >(val4
); 
6809     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6810     result 
= (wxGridCellRenderer 
*)((wxGridCellAttr 
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
); 
6811     wxPyEndAllowThreads(__tstate
); 
6812     if (PyErr_Occurred()) SWIG_fail
; 
6815     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
6823 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6824   PyObject 
*resultobj 
= 0; 
6825   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6826   wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
6829   wxGridCellEditor 
*result 
= 0 ; 
6838   PyObject 
* obj0 
= 0 ; 
6839   PyObject 
* obj1 
= 0 ; 
6840   PyObject 
* obj2 
= 0 ; 
6841   PyObject 
* obj3 
= 0 ; 
6842   char *  kwnames
[] = { 
6843     (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL 
 
6846   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6847   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6848   if (!SWIG_IsOK(res1
)) { 
6849     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6851   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6852   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
6853   if (!SWIG_IsOK(res2
)) { 
6854     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "2"" of type '" "wxGrid *""'");  
6856   arg2 
= reinterpret_cast< wxGrid 
* >(argp2
); 
6857   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6858   if (!SWIG_IsOK(ecode3
)) { 
6859     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "3"" of type '" "int""'"); 
6861   arg3 
= static_cast< int >(val3
); 
6862   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
6863   if (!SWIG_IsOK(ecode4
)) { 
6864     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "4"" of type '" "int""'"); 
6866   arg4 
= static_cast< int >(val4
); 
6868     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6869     result 
= (wxGridCellEditor 
*)((wxGridCellAttr 
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
); 
6870     wxPyEndAllowThreads(__tstate
); 
6871     if (PyErr_Occurred()) SWIG_fail
; 
6874     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
6882 SWIGINTERN PyObject 
*_wrap_GridCellAttr_IsReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6883   PyObject 
*resultobj 
= 0; 
6884   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6888   PyObject 
*swig_obj
[1] ; 
6890   if (!args
) SWIG_fail
; 
6892   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6893   if (!SWIG_IsOK(res1
)) { 
6894     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IsReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");  
6896   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6898     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6899     result 
= (bool)((wxGridCellAttr 
const *)arg1
)->IsReadOnly(); 
6900     wxPyEndAllowThreads(__tstate
); 
6901     if (PyErr_Occurred()) SWIG_fail
; 
6904     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6912 SWIGINTERN PyObject 
*_wrap_GridCellAttr_GetKind(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6913   PyObject 
*resultobj 
= 0; 
6914   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6915   wxGridCellAttr::wxAttrKind result
; 
6918   PyObject 
*swig_obj
[1] ; 
6920   if (!args
) SWIG_fail
; 
6922   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6923   if (!SWIG_IsOK(res1
)) { 
6924     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6926   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6928     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6929     result 
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind(); 
6930     wxPyEndAllowThreads(__tstate
); 
6931     if (PyErr_Occurred()) SWIG_fail
; 
6933   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6940 SWIGINTERN PyObject 
*_wrap_GridCellAttr_SetDefAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6941   PyObject 
*resultobj 
= 0; 
6942   wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
6943   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
6948   PyObject 
* obj0 
= 0 ; 
6949   PyObject 
* obj1 
= 0 ; 
6950   char *  kwnames
[] = { 
6951     (char *) "self",(char *) "defAttr", NULL 
 
6954   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6955   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6956   if (!SWIG_IsOK(res1
)) { 
6957     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");  
6959   arg1 
= reinterpret_cast< wxGridCellAttr 
* >(argp1
); 
6960   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
6961   if (!SWIG_IsOK(res2
)) { 
6962     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
6964   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
6966     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6967     (arg1
)->SetDefAttr(arg2
); 
6968     wxPyEndAllowThreads(__tstate
); 
6969     if (PyErr_Occurred()) SWIG_fail
; 
6971   resultobj 
= SWIG_Py_Void(); 
6978 SWIGINTERN PyObject 
*GridCellAttr_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6980   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
6981   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttr
, SWIG_NewClientData(obj
)); 
6982   return SWIG_Py_Void(); 
6985 SWIGINTERN PyObject 
*GridCellAttr_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6986   return SWIG_Python_InitShadowInstance(args
); 
6989 SWIGINTERN PyObject 
*_wrap_new_GridCellAttrProvider(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6990   PyObject 
*resultobj 
= 0; 
6991   wxGridCellAttrProvider 
*result 
= 0 ; 
6993   if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAttrProvider",0,0,0)) SWIG_fail
; 
6995     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6996     result 
= (wxGridCellAttrProvider 
*)new wxGridCellAttrProvider(); 
6997     wxPyEndAllowThreads(__tstate
); 
6998     if (PyErr_Occurred()) SWIG_fail
; 
7001     resultobj 
= wxPyMake_wxGridCellAttrProvider(result
, (bool)SWIG_POINTER_NEW
);  
7009 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider__setOORInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7010   PyObject 
*resultobj 
= 0; 
7011   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7012   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
7015   PyObject 
* obj0 
= 0 ; 
7016   PyObject 
* obj1 
= 0 ; 
7017   char *  kwnames
[] = { 
7018     (char *) "self",(char *) "_self", NULL 
 
7021   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7022   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7023   if (!SWIG_IsOK(res1
)) { 
7024     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7026   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7030     wxGridCellAttrProvider__setOORInfo(arg1
,arg2
); 
7031     wxPyEndAllowThreads(__tstate
); 
7032     if (PyErr_Occurred()) SWIG_fail
; 
7034   resultobj 
= SWIG_Py_Void(); 
7041 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_GetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7042   PyObject 
*resultobj 
= 0; 
7043   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7046   wxGridCellAttr::wxAttrKind arg4 
; 
7047   wxGridCellAttr 
*result 
= 0 ; 
7056   PyObject 
* obj0 
= 0 ; 
7057   PyObject 
* obj1 
= 0 ; 
7058   PyObject 
* obj2 
= 0 ; 
7059   PyObject 
* obj3 
= 0 ; 
7060   char *  kwnames
[] = { 
7061     (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
7064   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7065   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7066   if (!SWIG_IsOK(res1
)) { 
7067     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider const *""'");  
7069   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7070   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7071   if (!SWIG_IsOK(ecode2
)) { 
7072     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'"); 
7074   arg2 
= static_cast< int >(val2
); 
7075   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7076   if (!SWIG_IsOK(ecode3
)) { 
7077     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'"); 
7079   arg3 
= static_cast< int >(val3
); 
7080   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7081   if (!SWIG_IsOK(ecode4
)) { 
7082     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'"); 
7084   arg4 
= static_cast< wxGridCellAttr::wxAttrKind 
>(val4
); 
7086     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7087     result 
= (wxGridCellAttr 
*)((wxGridCellAttrProvider 
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
); 
7088     wxPyEndAllowThreads(__tstate
); 
7089     if (PyErr_Occurred()) SWIG_fail
; 
7092     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
7100 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_SetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7101   PyObject 
*resultobj 
= 0; 
7102   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7103   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7114   PyObject 
* obj0 
= 0 ; 
7115   PyObject 
* obj1 
= 0 ; 
7116   PyObject 
* obj2 
= 0 ; 
7117   PyObject 
* obj3 
= 0 ; 
7118   char *  kwnames
[] = { 
7119     (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
7122   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7123   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7124   if (!SWIG_IsOK(res1
)) { 
7125     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7127   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7128   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7129   if (!SWIG_IsOK(res2
)) { 
7130     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7132   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7133   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7134   if (!SWIG_IsOK(ecode3
)) { 
7135     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'"); 
7137   arg3 
= static_cast< int >(val3
); 
7138   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7139   if (!SWIG_IsOK(ecode4
)) { 
7140     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'"); 
7142   arg4 
= static_cast< int >(val4
); 
7144     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7145     (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
7146     wxPyEndAllowThreads(__tstate
); 
7147     if (PyErr_Occurred()) SWIG_fail
; 
7149   resultobj 
= SWIG_Py_Void(); 
7156 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7157   PyObject 
*resultobj 
= 0; 
7158   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7159   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7167   PyObject 
* obj0 
= 0 ; 
7168   PyObject 
* obj1 
= 0 ; 
7169   PyObject 
* obj2 
= 0 ; 
7170   char *  kwnames
[] = { 
7171     (char *) "self",(char *) "attr",(char *) "row", NULL 
 
7174   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7175   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7176   if (!SWIG_IsOK(res1
)) { 
7177     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7179   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7180   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7181   if (!SWIG_IsOK(res2
)) { 
7182     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7184   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7185   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7186   if (!SWIG_IsOK(ecode3
)) { 
7187     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'"); 
7189   arg3 
= static_cast< int >(val3
); 
7191     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7192     (arg1
)->SetRowAttr(arg2
,arg3
); 
7193     wxPyEndAllowThreads(__tstate
); 
7194     if (PyErr_Occurred()) SWIG_fail
; 
7196   resultobj 
= SWIG_Py_Void(); 
7203 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_SetColAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7204   PyObject 
*resultobj 
= 0; 
7205   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7206   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7214   PyObject 
* obj0 
= 0 ; 
7215   PyObject 
* obj1 
= 0 ; 
7216   PyObject 
* obj2 
= 0 ; 
7217   char *  kwnames
[] = { 
7218     (char *) "self",(char *) "attr",(char *) "col", NULL 
 
7221   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7222   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7223   if (!SWIG_IsOK(res1
)) { 
7224     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7226   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7227   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7228   if (!SWIG_IsOK(res2
)) { 
7229     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7231   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7232   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7233   if (!SWIG_IsOK(ecode3
)) { 
7234     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'"); 
7236   arg3 
= static_cast< int >(val3
); 
7238     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7239     (arg1
)->SetColAttr(arg2
,arg3
); 
7240     wxPyEndAllowThreads(__tstate
); 
7241     if (PyErr_Occurred()) SWIG_fail
; 
7243   resultobj 
= SWIG_Py_Void(); 
7250 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7251   PyObject 
*resultobj 
= 0; 
7252   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7261   PyObject 
* obj0 
= 0 ; 
7262   PyObject 
* obj1 
= 0 ; 
7263   PyObject 
* obj2 
= 0 ; 
7264   char *  kwnames
[] = { 
7265     (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
7268   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7269   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7270   if (!SWIG_IsOK(res1
)) { 
7271     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7273   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7274   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
7275   if (!SWIG_IsOK(ecode2
)) { 
7276     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "2"" of type '" "size_t""'"); 
7278   arg2 
= static_cast< size_t >(val2
); 
7279   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7280   if (!SWIG_IsOK(ecode3
)) { 
7281     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "3"" of type '" "int""'"); 
7283   arg3 
= static_cast< int >(val3
); 
7285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7286     (arg1
)->UpdateAttrRows(arg2
,arg3
); 
7287     wxPyEndAllowThreads(__tstate
); 
7288     if (PyErr_Occurred()) SWIG_fail
; 
7290   resultobj 
= SWIG_Py_Void(); 
7297 SWIGINTERN PyObject 
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7298   PyObject 
*resultobj 
= 0; 
7299   wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
7308   PyObject 
* obj0 
= 0 ; 
7309   PyObject 
* obj1 
= 0 ; 
7310   PyObject 
* obj2 
= 0 ; 
7311   char *  kwnames
[] = { 
7312     (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
7315   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) 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_UpdateAttrCols" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");  
7320   arg1 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp1
); 
7321   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
7322   if (!SWIG_IsOK(ecode2
)) { 
7323     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "2"" of type '" "size_t""'"); 
7325   arg2 
= static_cast< size_t >(val2
); 
7326   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7327   if (!SWIG_IsOK(ecode3
)) { 
7328     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "3"" of type '" "int""'"); 
7330   arg3 
= static_cast< int >(val3
); 
7332     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7333     (arg1
)->UpdateAttrCols(arg2
,arg3
); 
7334     wxPyEndAllowThreads(__tstate
); 
7335     if (PyErr_Occurred()) SWIG_fail
; 
7337   resultobj 
= SWIG_Py_Void(); 
7344 SWIGINTERN PyObject 
*GridCellAttrProvider_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7346   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7347   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_NewClientData(obj
)); 
7348   return SWIG_Py_Void(); 
7351 SWIGINTERN PyObject 
*GridCellAttrProvider_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7352   return SWIG_Python_InitShadowInstance(args
); 
7355 SWIGINTERN PyObject 
*_wrap_new_PyGridCellAttrProvider(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7356   PyObject 
*resultobj 
= 0; 
7357   wxPyGridCellAttrProvider 
*result 
= 0 ; 
7359   if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellAttrProvider",0,0,0)) SWIG_fail
; 
7361     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7362     result 
= (wxPyGridCellAttrProvider 
*)new wxPyGridCellAttrProvider(); 
7363     wxPyEndAllowThreads(__tstate
); 
7364     if (PyErr_Occurred()) SWIG_fail
; 
7366   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_NEW 
|  0 ); 
7373 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7374   PyObject 
*resultobj 
= 0; 
7375   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7376   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
7377   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
7380   PyObject 
* obj0 
= 0 ; 
7381   PyObject 
* obj1 
= 0 ; 
7382   PyObject 
* obj2 
= 0 ; 
7383   char *  kwnames
[] = { 
7384     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
7387   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7388   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7389   if (!SWIG_IsOK(res1
)) { 
7390     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7392   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7396     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7397     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
7398     wxPyEndAllowThreads(__tstate
); 
7399     if (PyErr_Occurred()) SWIG_fail
; 
7401   resultobj 
= SWIG_Py_Void(); 
7408 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7409   PyObject 
*resultobj 
= 0; 
7410   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7413   wxGridCellAttr::wxAttrKind arg4 
; 
7414   wxGridCellAttr 
*result 
= 0 ; 
7423   PyObject 
* obj0 
= 0 ; 
7424   PyObject 
* obj1 
= 0 ; 
7425   PyObject 
* obj2 
= 0 ; 
7426   PyObject 
* obj3 
= 0 ; 
7427   char *  kwnames
[] = { 
7428     (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
7431   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7432   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7433   if (!SWIG_IsOK(res1
)) { 
7434     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7436   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7437   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7438   if (!SWIG_IsOK(ecode2
)) { 
7439     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'"); 
7441   arg2 
= static_cast< int >(val2
); 
7442   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7443   if (!SWIG_IsOK(ecode3
)) { 
7444     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'"); 
7446   arg3 
= static_cast< int >(val3
); 
7447   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7448   if (!SWIG_IsOK(ecode4
)) { 
7449     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'"); 
7451   arg4 
= static_cast< wxGridCellAttr::wxAttrKind 
>(val4
); 
7453     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7454     result 
= (wxGridCellAttr 
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
); 
7455     wxPyEndAllowThreads(__tstate
); 
7456     if (PyErr_Occurred()) SWIG_fail
; 
7459     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
7467 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7468   PyObject 
*resultobj 
= 0; 
7469   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7470   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7481   PyObject 
* obj0 
= 0 ; 
7482   PyObject 
* obj1 
= 0 ; 
7483   PyObject 
* obj2 
= 0 ; 
7484   PyObject 
* obj3 
= 0 ; 
7485   char *  kwnames
[] = { 
7486     (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
7489   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7490   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7491   if (!SWIG_IsOK(res1
)) { 
7492     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7494   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7495   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7496   if (!SWIG_IsOK(res2
)) { 
7497     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7499   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7500   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7501   if (!SWIG_IsOK(ecode3
)) { 
7502     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'"); 
7504   arg3 
= static_cast< int >(val3
); 
7505   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7506   if (!SWIG_IsOK(ecode4
)) { 
7507     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'"); 
7509   arg4 
= static_cast< int >(val4
); 
7511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7512     (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
7513     wxPyEndAllowThreads(__tstate
); 
7514     if (PyErr_Occurred()) SWIG_fail
; 
7516   resultobj 
= SWIG_Py_Void(); 
7523 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7524   PyObject 
*resultobj 
= 0; 
7525   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7526   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7534   PyObject 
* obj0 
= 0 ; 
7535   PyObject 
* obj1 
= 0 ; 
7536   PyObject 
* obj2 
= 0 ; 
7537   char *  kwnames
[] = { 
7538     (char *) "self",(char *) "attr",(char *) "row", NULL 
 
7541   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7542   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7543   if (!SWIG_IsOK(res1
)) { 
7544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7546   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7547   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7548   if (!SWIG_IsOK(res2
)) { 
7549     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7551   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7552   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7553   if (!SWIG_IsOK(ecode3
)) { 
7554     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'"); 
7556   arg3 
= static_cast< int >(val3
); 
7558     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7559     (arg1
)->SetRowAttr(arg2
,arg3
); 
7560     wxPyEndAllowThreads(__tstate
); 
7561     if (PyErr_Occurred()) SWIG_fail
; 
7563   resultobj 
= SWIG_Py_Void(); 
7570 SWIGINTERN PyObject 
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7571   PyObject 
*resultobj 
= 0; 
7572   wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
7573   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7581   PyObject 
* obj0 
= 0 ; 
7582   PyObject 
* obj1 
= 0 ; 
7583   PyObject 
* obj2 
= 0 ; 
7584   char *  kwnames
[] = { 
7585     (char *) "self",(char *) "attr",(char *) "col", NULL 
 
7588   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7589   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 |  0 ); 
7590   if (!SWIG_IsOK(res1
)) { 
7591     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");  
7593   arg1 
= reinterpret_cast< wxPyGridCellAttrProvider 
* >(argp1
); 
7594   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
7595   if (!SWIG_IsOK(res2
)) { 
7596     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
7598   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
7599   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7600   if (!SWIG_IsOK(ecode3
)) { 
7601     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'"); 
7603   arg3 
= static_cast< int >(val3
); 
7605     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7606     (arg1
)->SetColAttr(arg2
,arg3
); 
7607     wxPyEndAllowThreads(__tstate
); 
7608     if (PyErr_Occurred()) SWIG_fail
; 
7610   resultobj 
= SWIG_Py_Void(); 
7617 SWIGINTERN PyObject 
*PyGridCellAttrProvider_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7619   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7620   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_NewClientData(obj
)); 
7621   return SWIG_Py_Void(); 
7624 SWIGINTERN PyObject 
*PyGridCellAttrProvider_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7625   return SWIG_Python_InitShadowInstance(args
); 
7628 SWIGINTERN PyObject 
*_wrap_GridTableBase__setOORInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7629   PyObject 
*resultobj 
= 0; 
7630   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7631   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
7634   PyObject 
* obj0 
= 0 ; 
7635   PyObject 
* obj1 
= 0 ; 
7636   char *  kwnames
[] = { 
7637     (char *) "self",(char *) "_self", NULL 
 
7640   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7641   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7642   if (!SWIG_IsOK(res1
)) { 
7643     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase__setOORInfo" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7645   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7649     wxGridTableBase__setOORInfo(arg1
,arg2
); 
7650     wxPyEndAllowThreads(__tstate
); 
7651     if (PyErr_Occurred()) SWIG_fail
; 
7653   resultobj 
= SWIG_Py_Void(); 
7660 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetAttrProvider(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7661   PyObject 
*resultobj 
= 0; 
7662   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7663   wxGridCellAttrProvider 
*arg2 
= (wxGridCellAttrProvider 
*) 0 ; 
7668   PyObject 
* obj0 
= 0 ; 
7669   PyObject 
* obj1 
= 0 ; 
7670   char *  kwnames
[] = { 
7671     (char *) "self",(char *) "attrProvider", NULL 
 
7674   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7675   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7676   if (!SWIG_IsOK(res1
)) { 
7677     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7679   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7680   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 |  0 ); 
7681   if (!SWIG_IsOK(res2
)) { 
7682     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "2"" of type '" "wxGridCellAttrProvider *""'");  
7684   arg2 
= reinterpret_cast< wxGridCellAttrProvider 
* >(argp2
); 
7686     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7687     (arg1
)->SetAttrProvider(arg2
); 
7688     wxPyEndAllowThreads(__tstate
); 
7689     if (PyErr_Occurred()) SWIG_fail
; 
7691   resultobj 
= SWIG_Py_Void(); 
7698 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetAttrProvider(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7699   PyObject 
*resultobj 
= 0; 
7700   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7701   wxGridCellAttrProvider 
*result 
= 0 ; 
7704   PyObject 
*swig_obj
[1] ; 
7706   if (!args
) SWIG_fail
; 
7708   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7709   if (!SWIG_IsOK(res1
)) { 
7710     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");  
7712   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7714     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7715     result 
= (wxGridCellAttrProvider 
*)((wxGridTableBase 
const *)arg1
)->GetAttrProvider(); 
7716     wxPyEndAllowThreads(__tstate
); 
7717     if (PyErr_Occurred()) SWIG_fail
; 
7720     resultobj 
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);  
7728 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetView(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7729   PyObject 
*resultobj 
= 0; 
7730   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7731   wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
7736   PyObject 
* obj0 
= 0 ; 
7737   PyObject 
* obj1 
= 0 ; 
7738   char *  kwnames
[] = { 
7739     (char *) "self",(char *) "grid", NULL 
 
7742   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7743   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7744   if (!SWIG_IsOK(res1
)) { 
7745     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetView" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7747   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7748   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
7749   if (!SWIG_IsOK(res2
)) { 
7750     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetView" "', expected argument " "2"" of type '" "wxGrid *""'");  
7752   arg2 
= reinterpret_cast< wxGrid 
* >(argp2
); 
7754     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7755     (arg1
)->SetView(arg2
); 
7756     wxPyEndAllowThreads(__tstate
); 
7757     if (PyErr_Occurred()) SWIG_fail
; 
7759   resultobj 
= SWIG_Py_Void(); 
7766 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetView(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7767   PyObject 
*resultobj 
= 0; 
7768   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7769   wxGrid 
*result 
= 0 ; 
7772   PyObject 
*swig_obj
[1] ; 
7774   if (!args
) SWIG_fail
; 
7776   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7777   if (!SWIG_IsOK(res1
)) { 
7778     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetView" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");  
7780   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7782     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7783     result 
= (wxGrid 
*)((wxGridTableBase 
const *)arg1
)->GetView(); 
7784     wxPyEndAllowThreads(__tstate
); 
7785     if (PyErr_Occurred()) SWIG_fail
; 
7788     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
7796 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetNumberRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7797   PyObject 
*resultobj 
= 0; 
7798   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7802   PyObject 
*swig_obj
[1] ; 
7804   if (!args
) SWIG_fail
; 
7806   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7807   if (!SWIG_IsOK(res1
)) { 
7808     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7810   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7812     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7813     result 
= (int)(arg1
)->GetNumberRows(); 
7814     wxPyEndAllowThreads(__tstate
); 
7815     if (PyErr_Occurred()) SWIG_fail
; 
7817   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7824 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetNumberCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7825   PyObject 
*resultobj 
= 0; 
7826   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7830   PyObject 
*swig_obj
[1] ; 
7832   if (!args
) SWIG_fail
; 
7834   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7835   if (!SWIG_IsOK(res1
)) { 
7836     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7838   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7840     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7841     result 
= (int)(arg1
)->GetNumberCols(); 
7842     wxPyEndAllowThreads(__tstate
); 
7843     if (PyErr_Occurred()) SWIG_fail
; 
7845   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7852 SWIGINTERN PyObject 
*_wrap_GridTableBase_IsEmptyCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7853   PyObject 
*resultobj 
= 0; 
7854   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7864   PyObject 
* obj0 
= 0 ; 
7865   PyObject 
* obj1 
= 0 ; 
7866   PyObject 
* obj2 
= 0 ; 
7867   char *  kwnames
[] = { 
7868     (char *) "self",(char *) "row",(char *) "col", NULL 
 
7871   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7872   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7873   if (!SWIG_IsOK(res1
)) { 
7874     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7876   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7877   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7878   if (!SWIG_IsOK(ecode2
)) { 
7879     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "2"" of type '" "int""'"); 
7881   arg2 
= static_cast< int >(val2
); 
7882   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7883   if (!SWIG_IsOK(ecode3
)) { 
7884     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "3"" of type '" "int""'"); 
7886   arg3 
= static_cast< int >(val3
); 
7888     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7889     result 
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
); 
7890     wxPyEndAllowThreads(__tstate
); 
7891     if (PyErr_Occurred()) SWIG_fail
; 
7894     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7902 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7903   PyObject 
*resultobj 
= 0; 
7904   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7914   PyObject 
* obj0 
= 0 ; 
7915   PyObject 
* obj1 
= 0 ; 
7916   PyObject 
* obj2 
= 0 ; 
7917   char *  kwnames
[] = { 
7918     (char *) "self",(char *) "row",(char *) "col", NULL 
 
7921   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7922   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7923   if (!SWIG_IsOK(res1
)) { 
7924     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7926   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7927   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7928   if (!SWIG_IsOK(ecode2
)) { 
7929     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValue" "', expected argument " "2"" of type '" "int""'"); 
7931   arg2 
= static_cast< int >(val2
); 
7932   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7933   if (!SWIG_IsOK(ecode3
)) { 
7934     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValue" "', expected argument " "3"" of type '" "int""'"); 
7936   arg3 
= static_cast< int >(val3
); 
7938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7939     result 
= (arg1
)->GetValue(arg2
,arg3
); 
7940     wxPyEndAllowThreads(__tstate
); 
7941     if (PyErr_Occurred()) SWIG_fail
; 
7945     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7947     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7956 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7957   PyObject 
*resultobj 
= 0; 
7958   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7961   wxString 
*arg4 
= 0 ; 
7968   bool temp4 
= false ; 
7969   PyObject 
* obj0 
= 0 ; 
7970   PyObject 
* obj1 
= 0 ; 
7971   PyObject 
* obj2 
= 0 ; 
7972   PyObject 
* obj3 
= 0 ; 
7973   char *  kwnames
[] = { 
7974     (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
7977   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7978   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
7979   if (!SWIG_IsOK(res1
)) { 
7980     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
7982   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
7983   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7984   if (!SWIG_IsOK(ecode2
)) { 
7985     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValue" "', expected argument " "2"" of type '" "int""'"); 
7987   arg2 
= static_cast< int >(val2
); 
7988   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7989   if (!SWIG_IsOK(ecode3
)) { 
7990     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValue" "', expected argument " "3"" of type '" "int""'"); 
7992   arg3 
= static_cast< int >(val3
); 
7994     arg4 
= wxString_in_helper(obj3
); 
7995     if (arg4 
== NULL
) SWIG_fail
; 
7999     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8000     (arg1
)->SetValue(arg2
,arg3
,(wxString 
const &)*arg4
); 
8001     wxPyEndAllowThreads(__tstate
); 
8002     if (PyErr_Occurred()) SWIG_fail
; 
8004   resultobj 
= SWIG_Py_Void(); 
8019 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetTypeName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8020   PyObject 
*resultobj 
= 0; 
8021   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8031   PyObject 
* obj0 
= 0 ; 
8032   PyObject 
* obj1 
= 0 ; 
8033   PyObject 
* obj2 
= 0 ; 
8034   char *  kwnames
[] = { 
8035     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8038   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8039   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8040   if (!SWIG_IsOK(res1
)) { 
8041     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8043   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8044   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8045   if (!SWIG_IsOK(ecode2
)) { 
8046     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "2"" of type '" "int""'"); 
8048   arg2 
= static_cast< int >(val2
); 
8049   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8050   if (!SWIG_IsOK(ecode3
)) { 
8051     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "3"" of type '" "int""'"); 
8053   arg3 
= static_cast< int >(val3
); 
8055     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8056     result 
= (arg1
)->GetTypeName(arg2
,arg3
); 
8057     wxPyEndAllowThreads(__tstate
); 
8058     if (PyErr_Occurred()) SWIG_fail
; 
8062     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8064     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8073 SWIGINTERN PyObject 
*_wrap_GridTableBase_CanGetValueAs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8074   PyObject 
*resultobj 
= 0; 
8075   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8078   wxString 
*arg4 
= 0 ; 
8086   bool temp4 
= false ; 
8087   PyObject 
* obj0 
= 0 ; 
8088   PyObject 
* obj1 
= 0 ; 
8089   PyObject 
* obj2 
= 0 ; 
8090   PyObject 
* obj3 
= 0 ; 
8091   char *  kwnames
[] = { 
8092     (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
8095   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8096   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8097   if (!SWIG_IsOK(res1
)) { 
8098     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8100   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8101   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8102   if (!SWIG_IsOK(ecode2
)) { 
8103     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "2"" of type '" "int""'"); 
8105   arg2 
= static_cast< int >(val2
); 
8106   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8107   if (!SWIG_IsOK(ecode3
)) { 
8108     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "3"" of type '" "int""'"); 
8110   arg3 
= static_cast< int >(val3
); 
8112     arg4 
= wxString_in_helper(obj3
); 
8113     if (arg4 
== NULL
) SWIG_fail
; 
8117     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8118     result 
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
8119     wxPyEndAllowThreads(__tstate
); 
8120     if (PyErr_Occurred()) SWIG_fail
; 
8123     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8139 SWIGINTERN PyObject 
*_wrap_GridTableBase_CanSetValueAs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8140   PyObject 
*resultobj 
= 0; 
8141   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8144   wxString 
*arg4 
= 0 ; 
8152   bool temp4 
= false ; 
8153   PyObject 
* obj0 
= 0 ; 
8154   PyObject 
* obj1 
= 0 ; 
8155   PyObject 
* obj2 
= 0 ; 
8156   PyObject 
* obj3 
= 0 ; 
8157   char *  kwnames
[] = { 
8158     (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
8161   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8162   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8163   if (!SWIG_IsOK(res1
)) { 
8164     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8166   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8167   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8168   if (!SWIG_IsOK(ecode2
)) { 
8169     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "2"" of type '" "int""'"); 
8171   arg2 
= static_cast< int >(val2
); 
8172   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8173   if (!SWIG_IsOK(ecode3
)) { 
8174     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "3"" of type '" "int""'"); 
8176   arg3 
= static_cast< int >(val3
); 
8178     arg4 
= wxString_in_helper(obj3
); 
8179     if (arg4 
== NULL
) SWIG_fail
; 
8183     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8184     result 
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
8185     wxPyEndAllowThreads(__tstate
); 
8186     if (PyErr_Occurred()) SWIG_fail
; 
8189     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8205 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetValueAsLong(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8206   PyObject 
*resultobj 
= 0; 
8207   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8217   PyObject 
* obj0 
= 0 ; 
8218   PyObject 
* obj1 
= 0 ; 
8219   PyObject 
* obj2 
= 0 ; 
8220   char *  kwnames
[] = { 
8221     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8224   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8225   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8226   if (!SWIG_IsOK(res1
)) { 
8227     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8229   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8230   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8231   if (!SWIG_IsOK(ecode2
)) { 
8232     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "2"" of type '" "int""'"); 
8234   arg2 
= static_cast< int >(val2
); 
8235   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8236   if (!SWIG_IsOK(ecode3
)) { 
8237     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "3"" of type '" "int""'"); 
8239   arg3 
= static_cast< int >(val3
); 
8241     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8242     result 
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
); 
8243     wxPyEndAllowThreads(__tstate
); 
8244     if (PyErr_Occurred()) SWIG_fail
; 
8246   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8253 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetValueAsDouble(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8254   PyObject 
*resultobj 
= 0; 
8255   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8265   PyObject 
* obj0 
= 0 ; 
8266   PyObject 
* obj1 
= 0 ; 
8267   PyObject 
* obj2 
= 0 ; 
8268   char *  kwnames
[] = { 
8269     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8272   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8273   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8274   if (!SWIG_IsOK(res1
)) { 
8275     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8277   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8278   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8279   if (!SWIG_IsOK(ecode2
)) { 
8280     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "2"" of type '" "int""'"); 
8282   arg2 
= static_cast< int >(val2
); 
8283   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8284   if (!SWIG_IsOK(ecode3
)) { 
8285     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "3"" of type '" "int""'"); 
8287   arg3 
= static_cast< int >(val3
); 
8289     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8290     result 
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
); 
8291     wxPyEndAllowThreads(__tstate
); 
8292     if (PyErr_Occurred()) SWIG_fail
; 
8294   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
8301 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetValueAsBool(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8302   PyObject 
*resultobj 
= 0; 
8303   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8313   PyObject 
* obj0 
= 0 ; 
8314   PyObject 
* obj1 
= 0 ; 
8315   PyObject 
* obj2 
= 0 ; 
8316   char *  kwnames
[] = { 
8317     (char *) "self",(char *) "row",(char *) "col", NULL 
 
8320   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8321   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8322   if (!SWIG_IsOK(res1
)) { 
8323     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8325   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8326   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8327   if (!SWIG_IsOK(ecode2
)) { 
8328     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "2"" of type '" "int""'"); 
8330   arg2 
= static_cast< int >(val2
); 
8331   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8332   if (!SWIG_IsOK(ecode3
)) { 
8333     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "3"" of type '" "int""'"); 
8335   arg3 
= static_cast< int >(val3
); 
8337     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8338     result 
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
); 
8339     wxPyEndAllowThreads(__tstate
); 
8340     if (PyErr_Occurred()) SWIG_fail
; 
8343     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8351 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetValueAsLong(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8352   PyObject 
*resultobj 
= 0; 
8353   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8365   PyObject 
* obj0 
= 0 ; 
8366   PyObject 
* obj1 
= 0 ; 
8367   PyObject 
* obj2 
= 0 ; 
8368   PyObject 
* obj3 
= 0 ; 
8369   char *  kwnames
[] = { 
8370     (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
8373   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8374   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8375   if (!SWIG_IsOK(res1
)) { 
8376     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8378   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8379   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8380   if (!SWIG_IsOK(ecode2
)) { 
8381     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "2"" of type '" "int""'"); 
8383   arg2 
= static_cast< int >(val2
); 
8384   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8385   if (!SWIG_IsOK(ecode3
)) { 
8386     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "3"" of type '" "int""'"); 
8388   arg3 
= static_cast< int >(val3
); 
8389   ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
8390   if (!SWIG_IsOK(ecode4
)) { 
8391     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "4"" of type '" "long""'"); 
8393   arg4 
= static_cast< long >(val4
); 
8395     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8396     (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
); 
8397     wxPyEndAllowThreads(__tstate
); 
8398     if (PyErr_Occurred()) SWIG_fail
; 
8400   resultobj 
= SWIG_Py_Void(); 
8407 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetValueAsDouble(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8408   PyObject 
*resultobj 
= 0; 
8409   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8421   PyObject 
* obj0 
= 0 ; 
8422   PyObject 
* obj1 
= 0 ; 
8423   PyObject 
* obj2 
= 0 ; 
8424   PyObject 
* obj3 
= 0 ; 
8425   char *  kwnames
[] = { 
8426     (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
8429   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8430   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8431   if (!SWIG_IsOK(res1
)) { 
8432     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8434   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8435   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8436   if (!SWIG_IsOK(ecode2
)) { 
8437     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "2"" of type '" "int""'"); 
8439   arg2 
= static_cast< int >(val2
); 
8440   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8441   if (!SWIG_IsOK(ecode3
)) { 
8442     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "3"" of type '" "int""'"); 
8444   arg3 
= static_cast< int >(val3
); 
8445   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
8446   if (!SWIG_IsOK(ecode4
)) { 
8447     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "4"" of type '" "double""'"); 
8449   arg4 
= static_cast< double >(val4
); 
8451     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8452     (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
); 
8453     wxPyEndAllowThreads(__tstate
); 
8454     if (PyErr_Occurred()) SWIG_fail
; 
8456   resultobj 
= SWIG_Py_Void(); 
8463 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetValueAsBool(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8464   PyObject 
*resultobj 
= 0; 
8465   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8477   PyObject 
* obj0 
= 0 ; 
8478   PyObject 
* obj1 
= 0 ; 
8479   PyObject 
* obj2 
= 0 ; 
8480   PyObject 
* obj3 
= 0 ; 
8481   char *  kwnames
[] = { 
8482     (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
8485   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8486   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8487   if (!SWIG_IsOK(res1
)) { 
8488     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8490   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8491   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8492   if (!SWIG_IsOK(ecode2
)) { 
8493     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "2"" of type '" "int""'"); 
8495   arg2 
= static_cast< int >(val2
); 
8496   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8497   if (!SWIG_IsOK(ecode3
)) { 
8498     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "3"" of type '" "int""'"); 
8500   arg3 
= static_cast< int >(val3
); 
8501   ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
8502   if (!SWIG_IsOK(ecode4
)) { 
8503     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "4"" of type '" "bool""'"); 
8505   arg4 
= static_cast< bool >(val4
); 
8507     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8508     (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
); 
8509     wxPyEndAllowThreads(__tstate
); 
8510     if (PyErr_Occurred()) SWIG_fail
; 
8512   resultobj 
= SWIG_Py_Void(); 
8519 SWIGINTERN PyObject 
*_wrap_GridTableBase_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8520   PyObject 
*resultobj 
= 0; 
8521   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8524   PyObject 
*swig_obj
[1] ; 
8526   if (!args
) SWIG_fail
; 
8528   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8529   if (!SWIG_IsOK(res1
)) { 
8530     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_Clear" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8532   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8534     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8536     wxPyEndAllowThreads(__tstate
); 
8537     if (PyErr_Occurred()) SWIG_fail
; 
8539   resultobj 
= SWIG_Py_Void(); 
8546 SWIGINTERN PyObject 
*_wrap_GridTableBase_InsertRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8547   PyObject 
*resultobj 
= 0; 
8548   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8549   size_t arg2 
= (size_t) 0 ; 
8550   size_t arg3 
= (size_t) 1 ; 
8558   PyObject 
* obj0 
= 0 ; 
8559   PyObject 
* obj1 
= 0 ; 
8560   PyObject 
* obj2 
= 0 ; 
8561   char *  kwnames
[] = { 
8562     (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
8565   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8566   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8567   if (!SWIG_IsOK(res1
)) { 
8568     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8570   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8572     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
8573     if (!SWIG_IsOK(ecode2
)) { 
8574       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertRows" "', expected argument " "2"" of type '" "size_t""'"); 
8576     arg2 
= static_cast< size_t >(val2
); 
8579     ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
8580     if (!SWIG_IsOK(ecode3
)) { 
8581       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertRows" "', expected argument " "3"" of type '" "size_t""'"); 
8583     arg3 
= static_cast< size_t >(val3
); 
8586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8587     result 
= (bool)(arg1
)->InsertRows(arg2
,arg3
); 
8588     wxPyEndAllowThreads(__tstate
); 
8589     if (PyErr_Occurred()) SWIG_fail
; 
8592     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8600 SWIGINTERN PyObject 
*_wrap_GridTableBase_AppendRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8601   PyObject 
*resultobj 
= 0; 
8602   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8603   size_t arg2 
= (size_t) 1 ; 
8609   PyObject 
* obj0 
= 0 ; 
8610   PyObject 
* obj1 
= 0 ; 
8611   char *  kwnames
[] = { 
8612     (char *) "self",(char *) "numRows", NULL 
 
8615   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8616   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8617   if (!SWIG_IsOK(res1
)) { 
8618     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8620   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8622     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
8623     if (!SWIG_IsOK(ecode2
)) { 
8624       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendRows" "', expected argument " "2"" of type '" "size_t""'"); 
8626     arg2 
= static_cast< size_t >(val2
); 
8629     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8630     result 
= (bool)(arg1
)->AppendRows(arg2
); 
8631     wxPyEndAllowThreads(__tstate
); 
8632     if (PyErr_Occurred()) SWIG_fail
; 
8635     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8643 SWIGINTERN PyObject 
*_wrap_GridTableBase_DeleteRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8644   PyObject 
*resultobj 
= 0; 
8645   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8646   size_t arg2 
= (size_t) 0 ; 
8647   size_t arg3 
= (size_t) 1 ; 
8655   PyObject 
* obj0 
= 0 ; 
8656   PyObject 
* obj1 
= 0 ; 
8657   PyObject 
* obj2 
= 0 ; 
8658   char *  kwnames
[] = { 
8659     (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
8662   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8663   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8664   if (!SWIG_IsOK(res1
)) { 
8665     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8667   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8669     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
8670     if (!SWIG_IsOK(ecode2
)) { 
8671       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "2"" of type '" "size_t""'"); 
8673     arg2 
= static_cast< size_t >(val2
); 
8676     ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
8677     if (!SWIG_IsOK(ecode3
)) { 
8678       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "3"" of type '" "size_t""'"); 
8680     arg3 
= static_cast< size_t >(val3
); 
8683     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8684     result 
= (bool)(arg1
)->DeleteRows(arg2
,arg3
); 
8685     wxPyEndAllowThreads(__tstate
); 
8686     if (PyErr_Occurred()) SWIG_fail
; 
8689     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8697 SWIGINTERN PyObject 
*_wrap_GridTableBase_InsertCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8698   PyObject 
*resultobj 
= 0; 
8699   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8700   size_t arg2 
= (size_t) 0 ; 
8701   size_t arg3 
= (size_t) 1 ; 
8709   PyObject 
* obj0 
= 0 ; 
8710   PyObject 
* obj1 
= 0 ; 
8711   PyObject 
* obj2 
= 0 ; 
8712   char *  kwnames
[] = { 
8713     (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
8716   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8717   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8718   if (!SWIG_IsOK(res1
)) { 
8719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8721   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8723     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
8724     if (!SWIG_IsOK(ecode2
)) { 
8725       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertCols" "', expected argument " "2"" of type '" "size_t""'"); 
8727     arg2 
= static_cast< size_t >(val2
); 
8730     ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
8731     if (!SWIG_IsOK(ecode3
)) { 
8732       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertCols" "', expected argument " "3"" of type '" "size_t""'"); 
8734     arg3 
= static_cast< size_t >(val3
); 
8737     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8738     result 
= (bool)(arg1
)->InsertCols(arg2
,arg3
); 
8739     wxPyEndAllowThreads(__tstate
); 
8740     if (PyErr_Occurred()) SWIG_fail
; 
8743     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8751 SWIGINTERN PyObject 
*_wrap_GridTableBase_AppendCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8752   PyObject 
*resultobj 
= 0; 
8753   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8754   size_t arg2 
= (size_t) 1 ; 
8760   PyObject 
* obj0 
= 0 ; 
8761   PyObject 
* obj1 
= 0 ; 
8762   char *  kwnames
[] = { 
8763     (char *) "self",(char *) "numCols", NULL 
 
8766   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8767   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8768   if (!SWIG_IsOK(res1
)) { 
8769     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8771   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8773     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
8774     if (!SWIG_IsOK(ecode2
)) { 
8775       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendCols" "', expected argument " "2"" of type '" "size_t""'"); 
8777     arg2 
= static_cast< size_t >(val2
); 
8780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8781     result 
= (bool)(arg1
)->AppendCols(arg2
); 
8782     wxPyEndAllowThreads(__tstate
); 
8783     if (PyErr_Occurred()) SWIG_fail
; 
8786     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8794 SWIGINTERN PyObject 
*_wrap_GridTableBase_DeleteCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8795   PyObject 
*resultobj 
= 0; 
8796   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8797   size_t arg2 
= (size_t) 0 ; 
8798   size_t arg3 
= (size_t) 1 ; 
8806   PyObject 
* obj0 
= 0 ; 
8807   PyObject 
* obj1 
= 0 ; 
8808   PyObject 
* obj2 
= 0 ; 
8809   char *  kwnames
[] = { 
8810     (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
8813   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8814   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8815   if (!SWIG_IsOK(res1
)) { 
8816     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8818   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8820     ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
8821     if (!SWIG_IsOK(ecode2
)) { 
8822       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "2"" of type '" "size_t""'"); 
8824     arg2 
= static_cast< size_t >(val2
); 
8827     ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
8828     if (!SWIG_IsOK(ecode3
)) { 
8829       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "3"" of type '" "size_t""'"); 
8831     arg3 
= static_cast< size_t >(val3
); 
8834     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8835     result 
= (bool)(arg1
)->DeleteCols(arg2
,arg3
); 
8836     wxPyEndAllowThreads(__tstate
); 
8837     if (PyErr_Occurred()) SWIG_fail
; 
8840     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8848 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetRowLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8849   PyObject 
*resultobj 
= 0; 
8850   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8857   PyObject 
* obj0 
= 0 ; 
8858   PyObject 
* obj1 
= 0 ; 
8859   char *  kwnames
[] = { 
8860     (char *) "self",(char *) "row", NULL 
 
8863   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8864   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8865   if (!SWIG_IsOK(res1
)) { 
8866     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8868   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8869   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8870   if (!SWIG_IsOK(ecode2
)) { 
8871     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'"); 
8873   arg2 
= static_cast< int >(val2
); 
8875     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8876     result 
= (arg1
)->GetRowLabelValue(arg2
); 
8877     wxPyEndAllowThreads(__tstate
); 
8878     if (PyErr_Occurred()) SWIG_fail
; 
8882     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8884     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8893 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetColLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8894   PyObject 
*resultobj 
= 0; 
8895   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8902   PyObject 
* obj0 
= 0 ; 
8903   PyObject 
* obj1 
= 0 ; 
8904   char *  kwnames
[] = { 
8905     (char *) "self",(char *) "col", NULL 
 
8908   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8909   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8910   if (!SWIG_IsOK(res1
)) { 
8911     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8913   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8914   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8915   if (!SWIG_IsOK(ecode2
)) { 
8916     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "2"" of type '" "int""'"); 
8918   arg2 
= static_cast< int >(val2
); 
8920     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8921     result 
= (arg1
)->GetColLabelValue(arg2
); 
8922     wxPyEndAllowThreads(__tstate
); 
8923     if (PyErr_Occurred()) SWIG_fail
; 
8927     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8929     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8938 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetRowLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8939   PyObject 
*resultobj 
= 0; 
8940   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8942   wxString 
*arg3 
= 0 ; 
8947   bool temp3 
= false ; 
8948   PyObject 
* obj0 
= 0 ; 
8949   PyObject 
* obj1 
= 0 ; 
8950   PyObject 
* obj2 
= 0 ; 
8951   char *  kwnames
[] = { 
8952     (char *) "self",(char *) "row",(char *) "value", NULL 
 
8955   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8956   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
8957   if (!SWIG_IsOK(res1
)) { 
8958     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
8960   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
8961   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8962   if (!SWIG_IsOK(ecode2
)) { 
8963     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'"); 
8965   arg2 
= static_cast< int >(val2
); 
8967     arg3 
= wxString_in_helper(obj2
); 
8968     if (arg3 
== NULL
) SWIG_fail
; 
8972     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8973     (arg1
)->SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
8974     wxPyEndAllowThreads(__tstate
); 
8975     if (PyErr_Occurred()) SWIG_fail
; 
8977   resultobj 
= SWIG_Py_Void(); 
8992 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetColLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8993   PyObject 
*resultobj 
= 0; 
8994   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
8996   wxString 
*arg3 
= 0 ; 
9001   bool temp3 
= false ; 
9002   PyObject 
* obj0 
= 0 ; 
9003   PyObject 
* obj1 
= 0 ; 
9004   PyObject 
* obj2 
= 0 ; 
9005   char *  kwnames
[] = { 
9006     (char *) "self",(char *) "col",(char *) "value", NULL 
 
9009   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9010   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9011   if (!SWIG_IsOK(res1
)) { 
9012     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9014   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9015   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9016   if (!SWIG_IsOK(ecode2
)) { 
9017     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "2"" of type '" "int""'"); 
9019   arg2 
= static_cast< int >(val2
); 
9021     arg3 
= wxString_in_helper(obj2
); 
9022     if (arg3 
== NULL
) SWIG_fail
; 
9026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9027     (arg1
)->SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
9028     wxPyEndAllowThreads(__tstate
); 
9029     if (PyErr_Occurred()) SWIG_fail
; 
9031   resultobj 
= SWIG_Py_Void(); 
9046 SWIGINTERN PyObject 
*_wrap_GridTableBase_CanHaveAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9047   PyObject 
*resultobj 
= 0; 
9048   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9052   PyObject 
*swig_obj
[1] ; 
9054   if (!args
) SWIG_fail
; 
9056   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9057   if (!SWIG_IsOK(res1
)) { 
9058     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanHaveAttributes" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9060   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9062     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9063     result 
= (bool)(arg1
)->CanHaveAttributes(); 
9064     wxPyEndAllowThreads(__tstate
); 
9065     if (PyErr_Occurred()) SWIG_fail
; 
9068     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9076 SWIGINTERN PyObject 
*_wrap_GridTableBase_GetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9077   PyObject 
*resultobj 
= 0; 
9078   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9081   wxGridCellAttr::wxAttrKind arg4 
; 
9082   wxGridCellAttr 
*result 
= 0 ; 
9091   PyObject 
* obj0 
= 0 ; 
9092   PyObject 
* obj1 
= 0 ; 
9093   PyObject 
* obj2 
= 0 ; 
9094   PyObject 
* obj3 
= 0 ; 
9095   char *  kwnames
[] = { 
9096     (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
9099   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9100   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9101   if (!SWIG_IsOK(res1
)) { 
9102     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9104   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9105   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9106   if (!SWIG_IsOK(ecode2
)) { 
9107     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetAttr" "', expected argument " "2"" of type '" "int""'"); 
9109   arg2 
= static_cast< int >(val2
); 
9110   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9111   if (!SWIG_IsOK(ecode3
)) { 
9112     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetAttr" "', expected argument " "3"" of type '" "int""'"); 
9114   arg3 
= static_cast< int >(val3
); 
9115   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9116   if (!SWIG_IsOK(ecode4
)) { 
9117     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'"); 
9119   arg4 
= static_cast< wxGridCellAttr::wxAttrKind 
>(val4
); 
9121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9122     result 
= (wxGridCellAttr 
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
); 
9123     wxPyEndAllowThreads(__tstate
); 
9124     if (PyErr_Occurred()) SWIG_fail
; 
9127     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
9135 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9136   PyObject 
*resultobj 
= 0; 
9137   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9138   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
9149   PyObject 
* obj0 
= 0 ; 
9150   PyObject 
* obj1 
= 0 ; 
9151   PyObject 
* obj2 
= 0 ; 
9152   PyObject 
* obj3 
= 0 ; 
9153   char *  kwnames
[] = { 
9154     (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
9157   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9158   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9159   if (!SWIG_IsOK(res1
)) { 
9160     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9162   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9163   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
9164   if (!SWIG_IsOK(res2
)) { 
9165     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
9167   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
9168   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9169   if (!SWIG_IsOK(ecode3
)) { 
9170     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetAttr" "', expected argument " "3"" of type '" "int""'"); 
9172   arg3 
= static_cast< int >(val3
); 
9173   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9174   if (!SWIG_IsOK(ecode4
)) { 
9175     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetAttr" "', expected argument " "4"" of type '" "int""'"); 
9177   arg4 
= static_cast< int >(val4
); 
9179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9180     (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
9181     wxPyEndAllowThreads(__tstate
); 
9182     if (PyErr_Occurred()) SWIG_fail
; 
9184   resultobj 
= SWIG_Py_Void(); 
9191 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetRowAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9192   PyObject 
*resultobj 
= 0; 
9193   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9194   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
9202   PyObject 
* obj0 
= 0 ; 
9203   PyObject 
* obj1 
= 0 ; 
9204   PyObject 
* obj2 
= 0 ; 
9205   char *  kwnames
[] = { 
9206     (char *) "self",(char *) "attr",(char *) "row", NULL 
 
9209   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9210   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9211   if (!SWIG_IsOK(res1
)) { 
9212     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9214   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9215   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
9216   if (!SWIG_IsOK(res2
)) { 
9217     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
9219   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
9220   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9221   if (!SWIG_IsOK(ecode3
)) { 
9222     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "3"" of type '" "int""'"); 
9224   arg3 
= static_cast< int >(val3
); 
9226     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9227     (arg1
)->SetRowAttr(arg2
,arg3
); 
9228     wxPyEndAllowThreads(__tstate
); 
9229     if (PyErr_Occurred()) SWIG_fail
; 
9231   resultobj 
= SWIG_Py_Void(); 
9238 SWIGINTERN PyObject 
*_wrap_GridTableBase_SetColAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9239   PyObject 
*resultobj 
= 0; 
9240   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9241   wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
9249   PyObject 
* obj0 
= 0 ; 
9250   PyObject 
* obj1 
= 0 ; 
9251   PyObject 
* obj2 
= 0 ; 
9252   char *  kwnames
[] = { 
9253     (char *) "self",(char *) "attr",(char *) "col", NULL 
 
9256   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9257   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9258   if (!SWIG_IsOK(res1
)) { 
9259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9261   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9262   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
9263   if (!SWIG_IsOK(res2
)) { 
9264     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");  
9266   arg2 
= reinterpret_cast< wxGridCellAttr 
* >(argp2
); 
9267   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9268   if (!SWIG_IsOK(ecode3
)) { 
9269     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "3"" of type '" "int""'"); 
9271   arg3 
= static_cast< int >(val3
); 
9273     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9274     (arg1
)->SetColAttr(arg2
,arg3
); 
9275     wxPyEndAllowThreads(__tstate
); 
9276     if (PyErr_Occurred()) SWIG_fail
; 
9278   resultobj 
= SWIG_Py_Void(); 
9285 SWIGINTERN PyObject 
*GridTableBase_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9287   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9288   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableBase
, SWIG_NewClientData(obj
)); 
9289   return SWIG_Py_Void(); 
9292 SWIGINTERN PyObject 
*_wrap_new_PyGridTableBase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9293   PyObject 
*resultobj 
= 0; 
9294   wxPyGridTableBase 
*result 
= 0 ; 
9296   if (!SWIG_Python_UnpackTuple(args
,"new_PyGridTableBase",0,0,0)) SWIG_fail
; 
9298     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9299     result 
= (wxPyGridTableBase 
*)new wxPyGridTableBase(); 
9300     wxPyEndAllowThreads(__tstate
); 
9301     if (PyErr_Occurred()) SWIG_fail
; 
9303   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_NEW 
|  0 ); 
9310 SWIGINTERN PyObject 
*_wrap_PyGridTableBase__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9311   PyObject 
*resultobj 
= 0; 
9312   wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
9313   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
9314   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
9317   PyObject 
* obj0 
= 0 ; 
9318   PyObject 
* obj1 
= 0 ; 
9319   PyObject 
* obj2 
= 0 ; 
9320   char *  kwnames
[] = { 
9321     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
9324   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9325   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 |  0 ); 
9326   if (!SWIG_IsOK(res1
)) { 
9327     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");  
9329   arg1 
= reinterpret_cast< wxPyGridTableBase 
* >(argp1
); 
9333     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9334     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
9335     wxPyEndAllowThreads(__tstate
); 
9336     if (PyErr_Occurred()) SWIG_fail
; 
9338   resultobj 
= SWIG_Py_Void(); 
9345 SWIGINTERN PyObject 
*_wrap_PyGridTableBase_Destroy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9346   PyObject 
*resultobj 
= 0; 
9347   wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
9350   PyObject 
*swig_obj
[1] ; 
9352   if (!args
) SWIG_fail
; 
9354   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 |  0 ); 
9355   if (!SWIG_IsOK(res1
)) { 
9356     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase_Destroy" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");  
9358   arg1 
= reinterpret_cast< wxPyGridTableBase 
* >(argp1
); 
9360     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9361     wxPyGridTableBase_Destroy(arg1
); 
9362     wxPyEndAllowThreads(__tstate
); 
9363     if (PyErr_Occurred()) SWIG_fail
; 
9365   resultobj 
= SWIG_Py_Void(); 
9372 SWIGINTERN PyObject 
*PyGridTableBase_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9374   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9375   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridTableBase
, SWIG_NewClientData(obj
)); 
9376   return SWIG_Py_Void(); 
9379 SWIGINTERN PyObject 
*PyGridTableBase_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9380   return SWIG_Python_InitShadowInstance(args
); 
9383 SWIGINTERN PyObject 
*_wrap_new_GridStringTable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9384   PyObject 
*resultobj 
= 0; 
9385   int arg1 
= (int) 0 ; 
9386   int arg2 
= (int) 0 ; 
9387   wxGridStringTable 
*result 
= 0 ; 
9392   PyObject 
* obj0 
= 0 ; 
9393   PyObject 
* obj1 
= 0 ; 
9394   char *  kwnames
[] = { 
9395     (char *) "numRows",(char *) "numCols", NULL 
 
9398   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9400     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
9401     if (!SWIG_IsOK(ecode1
)) { 
9402       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridStringTable" "', expected argument " "1"" of type '" "int""'"); 
9404     arg1 
= static_cast< int >(val1
); 
9407     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9408     if (!SWIG_IsOK(ecode2
)) { 
9409       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridStringTable" "', expected argument " "2"" of type '" "int""'"); 
9411     arg2 
= static_cast< int >(val2
); 
9414     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9415     result 
= (wxGridStringTable 
*)new wxGridStringTable(arg1
,arg2
); 
9416     wxPyEndAllowThreads(__tstate
); 
9417     if (PyErr_Occurred()) SWIG_fail
; 
9419   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridStringTable
, SWIG_POINTER_NEW 
|  0 ); 
9426 SWIGINTERN PyObject 
*GridStringTable_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9428   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9429   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridStringTable
, SWIG_NewClientData(obj
)); 
9430   return SWIG_Py_Void(); 
9433 SWIGINTERN PyObject 
*GridStringTable_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9434   return SWIG_Python_InitShadowInstance(args
); 
9437 SWIGINTERN PyObject 
*_wrap_new_GridTableMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9438   PyObject 
*resultobj 
= 0; 
9439   wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
9441   int arg3 
= (int) -1 ; 
9442   int arg4 
= (int) -1 ; 
9443   wxGridTableMessage 
*result 
= 0 ; 
9452   PyObject 
* obj0 
= 0 ; 
9453   PyObject 
* obj1 
= 0 ; 
9454   PyObject 
* obj2 
= 0 ; 
9455   PyObject 
* obj3 
= 0 ; 
9456   char *  kwnames
[] = { 
9457     (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL 
 
9460   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9461   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9462   if (!SWIG_IsOK(res1
)) { 
9463     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableBase *""'");  
9465   arg1 
= reinterpret_cast< wxGridTableBase 
* >(argp1
); 
9466   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9467   if (!SWIG_IsOK(ecode2
)) { 
9468     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridTableMessage" "', expected argument " "2"" of type '" "int""'"); 
9470   arg2 
= static_cast< int >(val2
); 
9472     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9473     if (!SWIG_IsOK(ecode3
)) { 
9474       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridTableMessage" "', expected argument " "3"" of type '" "int""'"); 
9476     arg3 
= static_cast< int >(val3
); 
9479     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9480     if (!SWIG_IsOK(ecode4
)) { 
9481       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridTableMessage" "', expected argument " "4"" of type '" "int""'"); 
9483     arg4 
= static_cast< int >(val4
); 
9486     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9487     result 
= (wxGridTableMessage 
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
); 
9488     wxPyEndAllowThreads(__tstate
); 
9489     if (PyErr_Occurred()) SWIG_fail
; 
9491   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_NEW 
|  0 ); 
9498 SWIGINTERN PyObject 
*_wrap_delete_GridTableMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9499   PyObject 
*resultobj 
= 0; 
9500   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9503   PyObject 
*swig_obj
[1] ; 
9505   if (!args
) SWIG_fail
; 
9507   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_DISOWN 
|  0 ); 
9508   if (!SWIG_IsOK(res1
)) { 
9509     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9511   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9513     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9516     wxPyEndAllowThreads(__tstate
); 
9517     if (PyErr_Occurred()) SWIG_fail
; 
9519   resultobj 
= SWIG_Py_Void(); 
9526 SWIGINTERN PyObject 
*_wrap_GridTableMessage_SetTableObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9527   PyObject 
*resultobj 
= 0; 
9528   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9529   wxGridTableBase 
*arg2 
= (wxGridTableBase 
*) 0 ; 
9534   PyObject 
* obj0 
= 0 ; 
9535   PyObject 
* obj1 
= 0 ; 
9536   char *  kwnames
[] = { 
9537     (char *) "self",(char *) "table", NULL 
 
9540   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9541   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9542   if (!SWIG_IsOK(res1
)) { 
9543     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9545   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9546   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
9547   if (!SWIG_IsOK(res2
)) { 
9548     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "2"" of type '" "wxGridTableBase *""'");  
9550   arg2 
= reinterpret_cast< wxGridTableBase 
* >(argp2
); 
9552     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9553     (arg1
)->SetTableObject(arg2
); 
9554     wxPyEndAllowThreads(__tstate
); 
9555     if (PyErr_Occurred()) SWIG_fail
; 
9557   resultobj 
= SWIG_Py_Void(); 
9564 SWIGINTERN PyObject 
*_wrap_GridTableMessage_GetTableObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9565   PyObject 
*resultobj 
= 0; 
9566   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9567   wxGridTableBase 
*result 
= 0 ; 
9570   PyObject 
*swig_obj
[1] ; 
9572   if (!args
) SWIG_fail
; 
9574   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9575   if (!SWIG_IsOK(res1
)) { 
9576     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage const *""'");  
9578   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9580     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9581     result 
= (wxGridTableBase 
*)((wxGridTableMessage 
const *)arg1
)->GetTableObject(); 
9582     wxPyEndAllowThreads(__tstate
); 
9583     if (PyErr_Occurred()) SWIG_fail
; 
9586     resultobj 
= wxPyMake_wxGridTableBase(result
,    (bool)0);  
9594 SWIGINTERN PyObject 
*_wrap_GridTableMessage_SetId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9595   PyObject 
*resultobj 
= 0; 
9596   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9602   PyObject 
* obj0 
= 0 ; 
9603   PyObject 
* obj1 
= 0 ; 
9604   char *  kwnames
[] = { 
9605     (char *) "self",(char *) "id", NULL 
 
9608   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9609   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9610   if (!SWIG_IsOK(res1
)) { 
9611     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9613   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9614   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9615   if (!SWIG_IsOK(ecode2
)) { 
9616     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetId" "', expected argument " "2"" of type '" "int""'"); 
9618   arg2 
= static_cast< int >(val2
); 
9620     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9621     (arg1
)->SetId(arg2
); 
9622     wxPyEndAllowThreads(__tstate
); 
9623     if (PyErr_Occurred()) SWIG_fail
; 
9625   resultobj 
= SWIG_Py_Void(); 
9632 SWIGINTERN PyObject 
*_wrap_GridTableMessage_GetId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9633   PyObject 
*resultobj 
= 0; 
9634   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9638   PyObject 
*swig_obj
[1] ; 
9640   if (!args
) SWIG_fail
; 
9642   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9643   if (!SWIG_IsOK(res1
)) { 
9644     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9646   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9649     result 
= (int)(arg1
)->GetId(); 
9650     wxPyEndAllowThreads(__tstate
); 
9651     if (PyErr_Occurred()) SWIG_fail
; 
9653   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9660 SWIGINTERN PyObject 
*_wrap_GridTableMessage_SetCommandInt(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9661   PyObject 
*resultobj 
= 0; 
9662   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9668   PyObject 
* obj0 
= 0 ; 
9669   PyObject 
* obj1 
= 0 ; 
9670   char *  kwnames
[] = { 
9671     (char *) "self",(char *) "comInt1", NULL 
 
9674   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9675   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9676   if (!SWIG_IsOK(res1
)) { 
9677     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9679   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9680   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9681   if (!SWIG_IsOK(ecode2
)) { 
9682     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "2"" of type '" "int""'"); 
9684   arg2 
= static_cast< int >(val2
); 
9686     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9687     (arg1
)->SetCommandInt(arg2
); 
9688     wxPyEndAllowThreads(__tstate
); 
9689     if (PyErr_Occurred()) SWIG_fail
; 
9691   resultobj 
= SWIG_Py_Void(); 
9698 SWIGINTERN PyObject 
*_wrap_GridTableMessage_GetCommandInt(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9699   PyObject 
*resultobj 
= 0; 
9700   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9704   PyObject 
*swig_obj
[1] ; 
9706   if (!args
) SWIG_fail
; 
9708   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9709   if (!SWIG_IsOK(res1
)) { 
9710     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9712   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9714     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9715     result 
= (int)(arg1
)->GetCommandInt(); 
9716     wxPyEndAllowThreads(__tstate
); 
9717     if (PyErr_Occurred()) SWIG_fail
; 
9719   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9726 SWIGINTERN PyObject 
*_wrap_GridTableMessage_SetCommandInt2(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9727   PyObject 
*resultobj 
= 0; 
9728   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9734   PyObject 
* obj0 
= 0 ; 
9735   PyObject 
* obj1 
= 0 ; 
9736   char *  kwnames
[] = { 
9737     (char *) "self",(char *) "comInt2", NULL 
 
9740   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9741   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9742   if (!SWIG_IsOK(res1
)) { 
9743     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9745   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9746   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9747   if (!SWIG_IsOK(ecode2
)) { 
9748     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "2"" of type '" "int""'"); 
9750   arg2 
= static_cast< int >(val2
); 
9752     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9753     (arg1
)->SetCommandInt2(arg2
); 
9754     wxPyEndAllowThreads(__tstate
); 
9755     if (PyErr_Occurred()) SWIG_fail
; 
9757   resultobj 
= SWIG_Py_Void(); 
9764 SWIGINTERN PyObject 
*_wrap_GridTableMessage_GetCommandInt2(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9765   PyObject 
*resultobj 
= 0; 
9766   wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
9770   PyObject 
*swig_obj
[1] ; 
9772   if (!args
) SWIG_fail
; 
9774   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 |  0 ); 
9775   if (!SWIG_IsOK(res1
)) { 
9776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");  
9778   arg1 
= reinterpret_cast< wxGridTableMessage 
* >(argp1
); 
9780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9781     result 
= (int)(arg1
)->GetCommandInt2(); 
9782     wxPyEndAllowThreads(__tstate
); 
9783     if (PyErr_Occurred()) SWIG_fail
; 
9785   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9792 SWIGINTERN PyObject 
*GridTableMessage_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9794   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9795   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableMessage
, SWIG_NewClientData(obj
)); 
9796   return SWIG_Py_Void(); 
9799 SWIGINTERN PyObject 
*GridTableMessage_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9800   return SWIG_Python_InitShadowInstance(args
); 
9803 SWIGINTERN PyObject 
*_wrap_new_GridCellCoords(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9804   PyObject 
*resultobj 
= 0; 
9805   int arg1 
= (int) -1 ; 
9806   int arg2 
= (int) -1 ; 
9807   wxGridCellCoords 
*result 
= 0 ; 
9812   PyObject 
* obj0 
= 0 ; 
9813   PyObject 
* obj1 
= 0 ; 
9814   char *  kwnames
[] = { 
9815     (char *) "r",(char *) "c", NULL 
 
9818   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9820     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
9821     if (!SWIG_IsOK(ecode1
)) { 
9822       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellCoords" "', expected argument " "1"" of type '" "int""'"); 
9824     arg1 
= static_cast< int >(val1
); 
9827     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9828     if (!SWIG_IsOK(ecode2
)) { 
9829       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellCoords" "', expected argument " "2"" of type '" "int""'"); 
9831     arg2 
= static_cast< int >(val2
); 
9834     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9835     result 
= (wxGridCellCoords 
*)new wxGridCellCoords(arg1
,arg2
); 
9836     wxPyEndAllowThreads(__tstate
); 
9837     if (PyErr_Occurred()) SWIG_fail
; 
9839   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_NEW 
|  0 ); 
9846 SWIGINTERN PyObject 
*_wrap_delete_GridCellCoords(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9847   PyObject 
*resultobj 
= 0; 
9848   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
9851   PyObject 
*swig_obj
[1] ; 
9853   if (!args
) SWIG_fail
; 
9855   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_DISOWN 
|  0 ); 
9856   if (!SWIG_IsOK(res1
)) { 
9857     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellCoords" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
9859   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
9861     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9864     wxPyEndAllowThreads(__tstate
); 
9865     if (PyErr_Occurred()) SWIG_fail
; 
9867   resultobj 
= SWIG_Py_Void(); 
9874 SWIGINTERN PyObject 
*_wrap_GridCellCoords_GetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9875   PyObject 
*resultobj 
= 0; 
9876   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
9880   PyObject 
*swig_obj
[1] ; 
9882   if (!args
) SWIG_fail
; 
9884   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
9885   if (!SWIG_IsOK(res1
)) { 
9886     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetRow" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");  
9888   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
9890     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9891     result 
= (int)((wxGridCellCoords 
const *)arg1
)->GetRow(); 
9892     wxPyEndAllowThreads(__tstate
); 
9893     if (PyErr_Occurred()) SWIG_fail
; 
9895   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9902 SWIGINTERN PyObject 
*_wrap_GridCellCoords_SetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9903   PyObject 
*resultobj 
= 0; 
9904   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
9910   PyObject 
* obj0 
= 0 ; 
9911   PyObject 
* obj1 
= 0 ; 
9912   char *  kwnames
[] = { 
9913     (char *) "self",(char *) "n", NULL 
 
9916   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9917   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
9918   if (!SWIG_IsOK(res1
)) { 
9919     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetRow" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
9921   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
9922   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9923   if (!SWIG_IsOK(ecode2
)) { 
9924     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetRow" "', expected argument " "2"" of type '" "int""'"); 
9926   arg2 
= static_cast< int >(val2
); 
9928     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9929     (arg1
)->SetRow(arg2
); 
9930     wxPyEndAllowThreads(__tstate
); 
9931     if (PyErr_Occurred()) SWIG_fail
; 
9933   resultobj 
= SWIG_Py_Void(); 
9940 SWIGINTERN PyObject 
*_wrap_GridCellCoords_GetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9941   PyObject 
*resultobj 
= 0; 
9942   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
9946   PyObject 
*swig_obj
[1] ; 
9948   if (!args
) SWIG_fail
; 
9950   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
9951   if (!SWIG_IsOK(res1
)) { 
9952     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetCol" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");  
9954   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
9956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9957     result 
= (int)((wxGridCellCoords 
const *)arg1
)->GetCol(); 
9958     wxPyEndAllowThreads(__tstate
); 
9959     if (PyErr_Occurred()) SWIG_fail
; 
9961   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9968 SWIGINTERN PyObject 
*_wrap_GridCellCoords_SetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9969   PyObject 
*resultobj 
= 0; 
9970   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
9976   PyObject 
* obj0 
= 0 ; 
9977   PyObject 
* obj1 
= 0 ; 
9978   char *  kwnames
[] = { 
9979     (char *) "self",(char *) "n", NULL 
 
9982   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9983   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
9984   if (!SWIG_IsOK(res1
)) { 
9985     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetCol" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
9987   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
9988   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9989   if (!SWIG_IsOK(ecode2
)) { 
9990     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetCol" "', expected argument " "2"" of type '" "int""'"); 
9992   arg2 
= static_cast< int >(val2
); 
9994     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9995     (arg1
)->SetCol(arg2
); 
9996     wxPyEndAllowThreads(__tstate
); 
9997     if (PyErr_Occurred()) SWIG_fail
; 
9999   resultobj 
= SWIG_Py_Void(); 
10006 SWIGINTERN PyObject 
*_wrap_GridCellCoords_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10007   PyObject 
*resultobj 
= 0; 
10008   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10017   PyObject 
* obj0 
= 0 ; 
10018   PyObject 
* obj1 
= 0 ; 
10019   PyObject 
* obj2 
= 0 ; 
10020   char *  kwnames
[] = { 
10021     (char *) "self",(char *) "row",(char *) "col", NULL 
 
10024   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10025   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10026   if (!SWIG_IsOK(res1
)) { 
10027     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Set" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
10029   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10030   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10031   if (!SWIG_IsOK(ecode2
)) { 
10032     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_Set" "', expected argument " "2"" of type '" "int""'"); 
10034   arg2 
= static_cast< int >(val2
); 
10035   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10036   if (!SWIG_IsOK(ecode3
)) { 
10037     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellCoords_Set" "', expected argument " "3"" of type '" "int""'"); 
10039   arg3 
= static_cast< int >(val3
); 
10041     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10042     (arg1
)->Set(arg2
,arg3
); 
10043     wxPyEndAllowThreads(__tstate
); 
10044     if (PyErr_Occurred()) SWIG_fail
; 
10046   resultobj 
= SWIG_Py_Void(); 
10053 SWIGINTERN PyObject 
*_wrap_GridCellCoords___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10054   PyObject 
*resultobj 
= 0; 
10055   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10056   wxGridCellCoords 
*arg2 
= 0 ; 
10060   wxGridCellCoords temp2 
; 
10061   PyObject 
* obj0 
= 0 ; 
10062   PyObject 
* obj1 
= 0 ; 
10063   char *  kwnames
[] = { 
10064     (char *) "self",(char *) "other", NULL 
 
10067   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10068   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10069   if (!SWIG_IsOK(res1
)) { 
10070     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___eq__" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");  
10072   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10075     if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
10078     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10079     result 
= (bool)((wxGridCellCoords 
const *)arg1
)->operator ==((wxGridCellCoords 
const &)*arg2
); 
10080     wxPyEndAllowThreads(__tstate
); 
10081     if (PyErr_Occurred()) SWIG_fail
; 
10084     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10092 SWIGINTERN PyObject 
*_wrap_GridCellCoords___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10093   PyObject 
*resultobj 
= 0; 
10094   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10095   wxGridCellCoords 
*arg2 
= 0 ; 
10099   wxGridCellCoords temp2 
; 
10100   PyObject 
* obj0 
= 0 ; 
10101   PyObject 
* obj1 
= 0 ; 
10102   char *  kwnames
[] = { 
10103     (char *) "self",(char *) "other", NULL 
 
10106   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10107   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10108   if (!SWIG_IsOK(res1
)) { 
10109     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___ne__" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");  
10111   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10114     if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
10117     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10118     result 
= (bool)((wxGridCellCoords 
const *)arg1
)->operator !=((wxGridCellCoords 
const &)*arg2
); 
10119     wxPyEndAllowThreads(__tstate
); 
10120     if (PyErr_Occurred()) SWIG_fail
; 
10123     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10131 SWIGINTERN PyObject 
*_wrap_GridCellCoords_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10132   PyObject 
*resultobj 
= 0; 
10133   wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
10134   PyObject 
*result 
= 0 ; 
10137   PyObject 
*swig_obj
[1] ; 
10139   if (!args
) SWIG_fail
; 
10140   swig_obj
[0] = args
; 
10141   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 |  0 ); 
10142   if (!SWIG_IsOK(res1
)) { 
10143     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Get" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");  
10145   arg1 
= reinterpret_cast< wxGridCellCoords 
* >(argp1
); 
10147     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10148     result 
= (PyObject 
*)wxGridCellCoords_Get(arg1
); 
10149     wxPyEndAllowThreads(__tstate
); 
10150     if (PyErr_Occurred()) SWIG_fail
; 
10152   resultobj 
= result
; 
10159 SWIGINTERN PyObject 
*GridCellCoords_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10161   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10162   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellCoords
, SWIG_NewClientData(obj
)); 
10163   return SWIG_Py_Void(); 
10166 SWIGINTERN PyObject 
*GridCellCoords_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10167   return SWIG_Python_InitShadowInstance(args
); 
10170 SWIGINTERN PyObject 
*_wrap_new_Grid(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10171   PyObject 
*resultobj 
= 0; 
10172   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
10173   int arg2 
= (int) -1 ; 
10174   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
10175   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
10176   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
10177   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
10178   long arg5 
= (long) wxWANTS_CHARS 
; 
10179   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
10180   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
10181   wxGrid 
*result 
= 0 ; 
10190   bool temp6 
= false ; 
10191   PyObject 
* obj0 
= 0 ; 
10192   PyObject 
* obj1 
= 0 ; 
10193   PyObject 
* obj2 
= 0 ; 
10194   PyObject 
* obj3 
= 0 ; 
10195   PyObject 
* obj4 
= 0 ; 
10196   PyObject 
* obj5 
= 0 ; 
10197   char *  kwnames
[] = { 
10198     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10201   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
10202   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10203   if (!SWIG_IsOK(res1
)) { 
10204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Grid" "', expected argument " "1"" of type '" "wxWindow *""'");  
10206   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
10208     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10209     if (!SWIG_IsOK(ecode2
)) { 
10210       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Grid" "', expected argument " "2"" of type '" "int""'"); 
10212     arg2 
= static_cast< int >(val2
); 
10217       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10223       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
10227     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
10228     if (!SWIG_IsOK(ecode5
)) { 
10229       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Grid" "', expected argument " "5"" of type '" "long""'"); 
10231     arg5 
= static_cast< long >(val5
); 
10235       arg6 
= wxString_in_helper(obj5
); 
10236       if (arg6 
== NULL
) SWIG_fail
; 
10241     if (!wxPyCheckForApp()) SWIG_fail
; 
10242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10243     result 
= (wxGrid 
*)new wxGrid(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
10244     wxPyEndAllowThreads(__tstate
); 
10245     if (PyErr_Occurred()) SWIG_fail
; 
10247   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_NEW 
|  0 ); 
10262 SWIGINTERN PyObject 
*_wrap_new_PreGrid(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10263   PyObject 
*resultobj 
= 0; 
10264   wxGrid 
*result 
= 0 ; 
10266   if (!SWIG_Python_UnpackTuple(args
,"new_PreGrid",0,0,0)) SWIG_fail
; 
10268     if (!wxPyCheckForApp()) SWIG_fail
; 
10269     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10270     result 
= (wxGrid 
*)new wxGrid(); 
10271     wxPyEndAllowThreads(__tstate
); 
10272     if (PyErr_Occurred()) SWIG_fail
; 
10274   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_OWN 
|  0 ); 
10281 SWIGINTERN PyObject 
*_wrap_Grid_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10282   PyObject 
*resultobj 
= 0; 
10283   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10284   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10285   int arg3 
= (int) -1 ; 
10286   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
10287   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
10288   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
10289   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
10290   long arg6 
= (long) wxWANTS_CHARS 
; 
10291   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
10292   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
10304   bool temp7 
= false ; 
10305   PyObject 
* obj0 
= 0 ; 
10306   PyObject 
* obj1 
= 0 ; 
10307   PyObject 
* obj2 
= 0 ; 
10308   PyObject 
* obj3 
= 0 ; 
10309   PyObject 
* obj4 
= 0 ; 
10310   PyObject 
* obj5 
= 0 ; 
10311   PyObject 
* obj6 
= 0 ; 
10312   char *  kwnames
[] = { 
10313     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10316   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
10317   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10318   if (!SWIG_IsOK(res1
)) { 
10319     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_Create" "', expected argument " "1"" of type '" "wxGrid *""'");  
10321   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10322   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10323   if (!SWIG_IsOK(res2
)) { 
10324     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
10326   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
10328     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10329     if (!SWIG_IsOK(ecode3
)) { 
10330       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_Create" "', expected argument " "3"" of type '" "int""'"); 
10332     arg3 
= static_cast< int >(val3
); 
10337       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
10343       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
10347     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
10348     if (!SWIG_IsOK(ecode6
)) { 
10349       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_Create" "', expected argument " "6"" of type '" "long""'"); 
10351     arg6 
= static_cast< long >(val6
); 
10355       arg7 
= wxString_in_helper(obj6
); 
10356       if (arg7 
== NULL
) SWIG_fail
; 
10361     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10362     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
10363     wxPyEndAllowThreads(__tstate
); 
10364     if (PyErr_Occurred()) SWIG_fail
; 
10367     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10383 SWIGINTERN PyObject 
*_wrap_Grid_CreateGrid(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10384   PyObject 
*resultobj 
= 0; 
10385   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10388   WXGRIDSELECTIONMODES arg4 
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells 
; 
10398   PyObject 
* obj0 
= 0 ; 
10399   PyObject 
* obj1 
= 0 ; 
10400   PyObject 
* obj2 
= 0 ; 
10401   PyObject 
* obj3 
= 0 ; 
10402   char *  kwnames
[] = { 
10403     (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL 
 
10406   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10407   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10408   if (!SWIG_IsOK(res1
)) { 
10409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CreateGrid" "', expected argument " "1"" of type '" "wxGrid *""'");  
10411   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10412   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10413   if (!SWIG_IsOK(ecode2
)) { 
10414     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CreateGrid" "', expected argument " "2"" of type '" "int""'"); 
10416   arg2 
= static_cast< int >(val2
); 
10417   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10418   if (!SWIG_IsOK(ecode3
)) { 
10419     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CreateGrid" "', expected argument " "3"" of type '" "int""'"); 
10421   arg3 
= static_cast< int >(val3
); 
10423     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10424     if (!SWIG_IsOK(ecode4
)) { 
10425       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_CreateGrid" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'"); 
10427     arg4 
= static_cast< WXGRIDSELECTIONMODES 
>(val4
); 
10430     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10431     result 
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
); 
10432     wxPyEndAllowThreads(__tstate
); 
10433     if (PyErr_Occurred()) SWIG_fail
; 
10436     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10444 SWIGINTERN PyObject 
*_wrap_Grid_SetSelectionMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10445   PyObject 
*resultobj 
= 0; 
10446   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10447   WXGRIDSELECTIONMODES arg2 
; 
10452   PyObject 
* obj0 
= 0 ; 
10453   PyObject 
* obj1 
= 0 ; 
10454   char *  kwnames
[] = { 
10455     (char *) "self",(char *) "selmode", NULL 
 
10458   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10459   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10460   if (!SWIG_IsOK(res1
)) { 
10461     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");  
10463   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10464   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10465   if (!SWIG_IsOK(ecode2
)) { 
10466     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetSelectionMode" "', expected argument " "2"" of type '" "WXGRIDSELECTIONMODES""'"); 
10468   arg2 
= static_cast< WXGRIDSELECTIONMODES 
>(val2
); 
10470     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10471     (arg1
)->SetSelectionMode(arg2
); 
10472     wxPyEndAllowThreads(__tstate
); 
10473     if (PyErr_Occurred()) SWIG_fail
; 
10475   resultobj 
= SWIG_Py_Void(); 
10482 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10483   PyObject 
*resultobj 
= 0; 
10484   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10485   WXGRIDSELECTIONMODES result
; 
10488   PyObject 
*swig_obj
[1] ; 
10490   if (!args
) SWIG_fail
; 
10491   swig_obj
[0] = args
; 
10492   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10493   if (!SWIG_IsOK(res1
)) { 
10494     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");  
10496   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10498     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10499     result 
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode(); 
10500     wxPyEndAllowThreads(__tstate
); 
10501     if (PyErr_Occurred()) SWIG_fail
; 
10503   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10510 SWIGINTERN PyObject 
*_wrap_Grid_GetNumberRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10511   PyObject 
*resultobj 
= 0; 
10512   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10516   PyObject 
*swig_obj
[1] ; 
10518   if (!args
) SWIG_fail
; 
10519   swig_obj
[0] = args
; 
10520   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10521   if (!SWIG_IsOK(res1
)) { 
10522     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
10524   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10526     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10527     result 
= (int)(arg1
)->GetNumberRows(); 
10528     wxPyEndAllowThreads(__tstate
); 
10529     if (PyErr_Occurred()) SWIG_fail
; 
10531   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10538 SWIGINTERN PyObject 
*_wrap_Grid_GetNumberCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10539   PyObject 
*resultobj 
= 0; 
10540   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10544   PyObject 
*swig_obj
[1] ; 
10546   if (!args
) SWIG_fail
; 
10547   swig_obj
[0] = args
; 
10548   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10549   if (!SWIG_IsOK(res1
)) { 
10550     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberCols" "', expected argument " "1"" of type '" "wxGrid *""'");  
10552   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10554     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10555     result 
= (int)(arg1
)->GetNumberCols(); 
10556     wxPyEndAllowThreads(__tstate
); 
10557     if (PyErr_Occurred()) SWIG_fail
; 
10559   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10566 SWIGINTERN PyObject 
*_wrap_Grid_ProcessTableMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10567   PyObject 
*resultobj 
= 0; 
10568   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10569   wxGridTableMessage 
*arg2 
= 0 ; 
10575   PyObject 
* obj0 
= 0 ; 
10576   PyObject 
* obj1 
= 0 ; 
10577   char *  kwnames
[] = { 
10578     (char *) "self",(char *)"arg2", NULL 
 
10581   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10582   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10583   if (!SWIG_IsOK(res1
)) { 
10584     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "1"" of type '" "wxGrid *""'");  
10586   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10587   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGridTableMessage
,  0 ); 
10588   if (!SWIG_IsOK(res2
)) { 
10589     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");  
10592     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");  
10594   arg2 
= reinterpret_cast< wxGridTableMessage 
* >(argp2
); 
10596     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10597     result 
= (bool)(arg1
)->ProcessTableMessage(*arg2
); 
10598     wxPyEndAllowThreads(__tstate
); 
10599     if (PyErr_Occurred()) SWIG_fail
; 
10602     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10610 SWIGINTERN PyObject 
*_wrap_Grid_GetTable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10611   PyObject 
*resultobj 
= 0; 
10612   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10613   wxGridTableBase 
*result 
= 0 ; 
10616   PyObject 
*swig_obj
[1] ; 
10618   if (!args
) SWIG_fail
; 
10619   swig_obj
[0] = args
; 
10620   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10621   if (!SWIG_IsOK(res1
)) { 
10622     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTable" "', expected argument " "1"" of type '" "wxGrid const *""'");  
10624   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10627     result 
= (wxGridTableBase 
*)((wxGrid 
const *)arg1
)->GetTable(); 
10628     wxPyEndAllowThreads(__tstate
); 
10629     if (PyErr_Occurred()) SWIG_fail
; 
10632     resultobj 
= wxPyMake_wxGridTableBase(result
,    (bool)0);  
10640 SWIGINTERN PyObject 
*_wrap_Grid_SetTable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10641   PyObject 
*resultobj 
= 0; 
10642   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10643   wxGridTableBase 
*arg2 
= (wxGridTableBase 
*) 0 ; 
10644   bool arg3 
= (bool) false ; 
10645   WXGRIDSELECTIONMODES arg4 
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells 
; 
10655   PyObject 
* obj0 
= 0 ; 
10656   PyObject 
* obj1 
= 0 ; 
10657   PyObject 
* obj2 
= 0 ; 
10658   PyObject 
* obj3 
= 0 ; 
10659   char *  kwnames
[] = { 
10660     (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL 
 
10663   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10664   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10665   if (!SWIG_IsOK(res1
)) { 
10666     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetTable" "', expected argument " "1"" of type '" "wxGrid *""'");  
10668   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10669   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 |  0 ); 
10670   if (!SWIG_IsOK(res2
)) { 
10671     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetTable" "', expected argument " "2"" of type '" "wxGridTableBase *""'");  
10673   arg2 
= reinterpret_cast< wxGridTableBase 
* >(argp2
); 
10675     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10676     if (!SWIG_IsOK(ecode3
)) { 
10677       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetTable" "', expected argument " "3"" of type '" "bool""'"); 
10679     arg3 
= static_cast< bool >(val3
); 
10682     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10683     if (!SWIG_IsOK(ecode4
)) { 
10684       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetTable" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'"); 
10686     arg4 
= static_cast< WXGRIDSELECTIONMODES 
>(val4
); 
10689     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10690     result 
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
); 
10691     wxPyEndAllowThreads(__tstate
); 
10692     if (PyErr_Occurred()) SWIG_fail
; 
10695     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10703 SWIGINTERN PyObject 
*_wrap_Grid_ClearGrid(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10704   PyObject 
*resultobj 
= 0; 
10705   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10708   PyObject 
*swig_obj
[1] ; 
10710   if (!args
) SWIG_fail
; 
10711   swig_obj
[0] = args
; 
10712   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10713   if (!SWIG_IsOK(res1
)) { 
10714     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearGrid" "', expected argument " "1"" of type '" "wxGrid *""'");  
10716   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10718     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10719     (arg1
)->ClearGrid(); 
10720     wxPyEndAllowThreads(__tstate
); 
10721     if (PyErr_Occurred()) SWIG_fail
; 
10723   resultobj 
= SWIG_Py_Void(); 
10730 SWIGINTERN PyObject 
*_wrap_Grid_InsertRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10731   PyObject 
*resultobj 
= 0; 
10732   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10733   int arg2 
= (int) 0 ; 
10734   int arg3 
= (int) 1 ; 
10735   bool arg4 
= (bool) true ; 
10745   PyObject 
* obj0 
= 0 ; 
10746   PyObject 
* obj1 
= 0 ; 
10747   PyObject 
* obj2 
= 0 ; 
10748   PyObject 
* obj3 
= 0 ; 
10749   char *  kwnames
[] = { 
10750     (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL 
 
10753   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10754   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10755   if (!SWIG_IsOK(res1
)) { 
10756     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
10758   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10760     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10761     if (!SWIG_IsOK(ecode2
)) { 
10762       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertRows" "', expected argument " "2"" of type '" "int""'"); 
10764     arg2 
= static_cast< int >(val2
); 
10767     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10768     if (!SWIG_IsOK(ecode3
)) { 
10769       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertRows" "', expected argument " "3"" of type '" "int""'"); 
10771     arg3 
= static_cast< int >(val3
); 
10774     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
10775     if (!SWIG_IsOK(ecode4
)) { 
10776       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertRows" "', expected argument " "4"" of type '" "bool""'"); 
10778     arg4 
= static_cast< bool >(val4
); 
10781     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10782     result 
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
); 
10783     wxPyEndAllowThreads(__tstate
); 
10784     if (PyErr_Occurred()) SWIG_fail
; 
10787     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10795 SWIGINTERN PyObject 
*_wrap_Grid_AppendRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10796   PyObject 
*resultobj 
= 0; 
10797   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10798   int arg2 
= (int) 1 ; 
10799   bool arg3 
= (bool) true ; 
10807   PyObject 
* obj0 
= 0 ; 
10808   PyObject 
* obj1 
= 0 ; 
10809   PyObject 
* obj2 
= 0 ; 
10810   char *  kwnames
[] = { 
10811     (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL 
 
10814   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10815   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10816   if (!SWIG_IsOK(res1
)) { 
10817     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
10819   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10821     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10822     if (!SWIG_IsOK(ecode2
)) { 
10823       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendRows" "', expected argument " "2"" of type '" "int""'"); 
10825     arg2 
= static_cast< int >(val2
); 
10828     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10829     if (!SWIG_IsOK(ecode3
)) { 
10830       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendRows" "', expected argument " "3"" of type '" "bool""'"); 
10832     arg3 
= static_cast< bool >(val3
); 
10835     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10836     result 
= (bool)(arg1
)->AppendRows(arg2
,arg3
); 
10837     wxPyEndAllowThreads(__tstate
); 
10838     if (PyErr_Occurred()) SWIG_fail
; 
10841     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10849 SWIGINTERN PyObject 
*_wrap_Grid_DeleteRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10850   PyObject 
*resultobj 
= 0; 
10851   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10852   int arg2 
= (int) 0 ; 
10853   int arg3 
= (int) 1 ; 
10854   bool arg4 
= (bool) true ; 
10864   PyObject 
* obj0 
= 0 ; 
10865   PyObject 
* obj1 
= 0 ; 
10866   PyObject 
* obj2 
= 0 ; 
10867   PyObject 
* obj3 
= 0 ; 
10868   char *  kwnames
[] = { 
10869     (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL 
 
10872   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10873   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10874   if (!SWIG_IsOK(res1
)) { 
10875     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
10877   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10879     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10880     if (!SWIG_IsOK(ecode2
)) { 
10881       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteRows" "', expected argument " "2"" of type '" "int""'"); 
10883     arg2 
= static_cast< int >(val2
); 
10886     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10887     if (!SWIG_IsOK(ecode3
)) { 
10888       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteRows" "', expected argument " "3"" of type '" "int""'"); 
10890     arg3 
= static_cast< int >(val3
); 
10893     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
10894     if (!SWIG_IsOK(ecode4
)) { 
10895       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteRows" "', expected argument " "4"" of type '" "bool""'"); 
10897     arg4 
= static_cast< bool >(val4
); 
10900     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10901     result 
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
); 
10902     wxPyEndAllowThreads(__tstate
); 
10903     if (PyErr_Occurred()) SWIG_fail
; 
10906     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10914 SWIGINTERN PyObject 
*_wrap_Grid_InsertCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10915   PyObject 
*resultobj 
= 0; 
10916   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10917   int arg2 
= (int) 0 ; 
10918   int arg3 
= (int) 1 ; 
10919   bool arg4 
= (bool) true ; 
10929   PyObject 
* obj0 
= 0 ; 
10930   PyObject 
* obj1 
= 0 ; 
10931   PyObject 
* obj2 
= 0 ; 
10932   PyObject 
* obj3 
= 0 ; 
10933   char *  kwnames
[] = { 
10934     (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL 
 
10937   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10938   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
10939   if (!SWIG_IsOK(res1
)) { 
10940     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertCols" "', expected argument " "1"" of type '" "wxGrid *""'");  
10942   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
10944     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10945     if (!SWIG_IsOK(ecode2
)) { 
10946       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertCols" "', expected argument " "2"" of type '" "int""'"); 
10948     arg2 
= static_cast< int >(val2
); 
10951     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10952     if (!SWIG_IsOK(ecode3
)) { 
10953       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertCols" "', expected argument " "3"" of type '" "int""'"); 
10955     arg3 
= static_cast< int >(val3
); 
10958     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
10959     if (!SWIG_IsOK(ecode4
)) { 
10960       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertCols" "', expected argument " "4"" of type '" "bool""'"); 
10962     arg4 
= static_cast< bool >(val4
); 
10965     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10966     result 
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
); 
10967     wxPyEndAllowThreads(__tstate
); 
10968     if (PyErr_Occurred()) SWIG_fail
; 
10971     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10979 SWIGINTERN PyObject 
*_wrap_Grid_AppendCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10980   PyObject 
*resultobj 
= 0; 
10981   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10982   int arg2 
= (int) 1 ; 
10983   bool arg3 
= (bool) true ; 
10991   PyObject 
* obj0 
= 0 ; 
10992   PyObject 
* obj1 
= 0 ; 
10993   PyObject 
* obj2 
= 0 ; 
10994   char *  kwnames
[] = { 
10995     (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL 
 
10998   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10999   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11000   if (!SWIG_IsOK(res1
)) { 
11001     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendCols" "', expected argument " "1"" of type '" "wxGrid *""'");  
11003   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11005     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11006     if (!SWIG_IsOK(ecode2
)) { 
11007       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendCols" "', expected argument " "2"" of type '" "int""'"); 
11009     arg2 
= static_cast< int >(val2
); 
11012     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
11013     if (!SWIG_IsOK(ecode3
)) { 
11014       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendCols" "', expected argument " "3"" of type '" "bool""'"); 
11016     arg3 
= static_cast< bool >(val3
); 
11019     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11020     result 
= (bool)(arg1
)->AppendCols(arg2
,arg3
); 
11021     wxPyEndAllowThreads(__tstate
); 
11022     if (PyErr_Occurred()) SWIG_fail
; 
11025     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11033 SWIGINTERN PyObject 
*_wrap_Grid_DeleteCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11034   PyObject 
*resultobj 
= 0; 
11035   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11036   int arg2 
= (int) 0 ; 
11037   int arg3 
= (int) 1 ; 
11038   bool arg4 
= (bool) true ; 
11048   PyObject 
* obj0 
= 0 ; 
11049   PyObject 
* obj1 
= 0 ; 
11050   PyObject 
* obj2 
= 0 ; 
11051   PyObject 
* obj3 
= 0 ; 
11052   char *  kwnames
[] = { 
11053     (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL 
 
11056   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
11057   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11058   if (!SWIG_IsOK(res1
)) { 
11059     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteCols" "', expected argument " "1"" of type '" "wxGrid *""'");  
11061   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11063     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11064     if (!SWIG_IsOK(ecode2
)) { 
11065       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteCols" "', expected argument " "2"" of type '" "int""'"); 
11067     arg2 
= static_cast< int >(val2
); 
11070     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11071     if (!SWIG_IsOK(ecode3
)) { 
11072       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteCols" "', expected argument " "3"" of type '" "int""'"); 
11074     arg3 
= static_cast< int >(val3
); 
11077     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
11078     if (!SWIG_IsOK(ecode4
)) { 
11079       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteCols" "', expected argument " "4"" of type '" "bool""'"); 
11081     arg4 
= static_cast< bool >(val4
); 
11084     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11085     result 
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
); 
11086     wxPyEndAllowThreads(__tstate
); 
11087     if (PyErr_Occurred()) SWIG_fail
; 
11090     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11098 SWIGINTERN PyObject 
*_wrap_Grid_DrawCellHighlight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11099   PyObject 
*resultobj 
= 0; 
11100   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11102   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
11109   PyObject 
* obj0 
= 0 ; 
11110   PyObject 
* obj1 
= 0 ; 
11111   PyObject 
* obj2 
= 0 ; 
11112   char *  kwnames
[] = { 
11113     (char *) "self",(char *) "dc",(char *) "attr", NULL 
 
11116   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11117   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11118   if (!SWIG_IsOK(res1
)) { 
11119     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "1"" of type '" "wxGrid *""'");  
11121   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11122   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
11123   if (!SWIG_IsOK(res2
)) { 
11124     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");  
11127     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");  
11129   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
11130   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
11131   if (!SWIG_IsOK(res3
)) { 
11132     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "3"" of type '" "wxGridCellAttr const *""'");  
11134   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
11136     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11137     (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr 
const *)arg3
); 
11138     wxPyEndAllowThreads(__tstate
); 
11139     if (PyErr_Occurred()) SWIG_fail
; 
11141   resultobj 
= SWIG_Py_Void(); 
11148 SWIGINTERN PyObject 
*_wrap_Grid_DrawTextRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11149   PyObject 
*resultobj 
= 0; 
11150   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11152   wxString 
*arg3 
= 0 ; 
11154   int arg5 
= (int) wxLEFT 
; 
11155   int arg6 
= (int) wxTOP 
; 
11156   int arg7 
= (int) wxHORIZONTAL 
; 
11161   bool temp3 
= false ; 
11169   PyObject 
* obj0 
= 0 ; 
11170   PyObject 
* obj1 
= 0 ; 
11171   PyObject 
* obj2 
= 0 ; 
11172   PyObject 
* obj3 
= 0 ; 
11173   PyObject 
* obj4 
= 0 ; 
11174   PyObject 
* obj5 
= 0 ; 
11175   PyObject 
* obj6 
= 0 ; 
11176   char *  kwnames
[] = { 
11177     (char *) "self",(char *) "dc",(char *)"arg3",(char *)"arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL 
 
11180   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_DrawTextRectangle" "', expected argument " "1"" of type '" "wxGrid *""'");  
11185   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11186   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
11187   if (!SWIG_IsOK(res2
)) { 
11188     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");  
11191     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");  
11193   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
11195     arg3 
= wxString_in_helper(obj2
); 
11196     if (arg3 
== NULL
) SWIG_fail
; 
11201     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
11204     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
11205     if (!SWIG_IsOK(ecode5
)) { 
11206       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "5"" of type '" "int""'"); 
11208     arg5 
= static_cast< int >(val5
); 
11211     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
11212     if (!SWIG_IsOK(ecode6
)) { 
11213       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "6"" of type '" "int""'"); 
11215     arg6 
= static_cast< int >(val6
); 
11218     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
11219     if (!SWIG_IsOK(ecode7
)) { 
11220       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "7"" of type '" "int""'"); 
11222     arg7 
= static_cast< int >(val7
); 
11225     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11226     (arg1
)->DrawTextRectangle(*arg2
,(wxString 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
,arg7
); 
11227     wxPyEndAllowThreads(__tstate
); 
11228     if (PyErr_Occurred()) SWIG_fail
; 
11230   resultobj 
= SWIG_Py_Void(); 
11245 SWIGINTERN PyObject 
*_wrap_Grid_GetTextBoxSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11246   PyObject 
*resultobj 
= 0; 
11247   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11249   wxArrayString 
*arg3 
= 0 ; 
11250   long *arg4 
= (long *) 0 ; 
11251   long *arg5 
= (long *) 0 ; 
11256   bool temp3 
= false ; 
11258   int res4 
= SWIG_TMPOBJ 
; 
11260   int res5 
= SWIG_TMPOBJ 
; 
11261   PyObject 
* obj0 
= 0 ; 
11262   PyObject 
* obj1 
= 0 ; 
11263   PyObject 
* obj2 
= 0 ; 
11264   char *  kwnames
[] = { 
11265     (char *) "self",(char *) "dc",(char *) "lines", NULL 
 
11270   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11271   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11272   if (!SWIG_IsOK(res1
)) { 
11273     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
11275   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11276   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
11277   if (!SWIG_IsOK(res2
)) { 
11278     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");  
11281     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");  
11283   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
11285     if (! PySequence_Check(obj2
)) { 
11286       PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
11289     arg3 
= new wxArrayString
; 
11291     int i
, len
=PySequence_Length(obj2
); 
11292     for (i
=0; i
<len
; i
++) { 
11293       PyObject
* item 
= PySequence_GetItem(obj2
, i
); 
11294       wxString
* s 
= wxString_in_helper(item
); 
11295       if (PyErr_Occurred())  SWIG_fail
; 
11302     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11303     (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
); 
11304     wxPyEndAllowThreads(__tstate
); 
11305     if (PyErr_Occurred()) SWIG_fail
; 
11307   resultobj 
= SWIG_Py_Void(); 
11308   if (SWIG_IsTmpObj(res4
)) { 
11309     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
))); 
11311     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
11312     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
)); 
11314   if (SWIG_IsTmpObj(res5
)) { 
11315     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg5
))); 
11317     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
11318     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, new_flags
)); 
11321     if (temp3
) delete arg3
; 
11326     if (temp3
) delete arg3
; 
11332 SWIGINTERN PyObject 
*_wrap_Grid_BeginBatch(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11333   PyObject 
*resultobj 
= 0; 
11334   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11337   PyObject 
*swig_obj
[1] ; 
11339   if (!args
) SWIG_fail
; 
11340   swig_obj
[0] = args
; 
11341   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11342   if (!SWIG_IsOK(res1
)) { 
11343     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BeginBatch" "', expected argument " "1"" of type '" "wxGrid *""'");  
11345   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11347     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11348     (arg1
)->BeginBatch(); 
11349     wxPyEndAllowThreads(__tstate
); 
11350     if (PyErr_Occurred()) SWIG_fail
; 
11352   resultobj 
= SWIG_Py_Void(); 
11359 SWIGINTERN PyObject 
*_wrap_Grid_EndBatch(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11360   PyObject 
*resultobj 
= 0; 
11361   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11364   PyObject 
*swig_obj
[1] ; 
11366   if (!args
) SWIG_fail
; 
11367   swig_obj
[0] = args
; 
11368   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11369   if (!SWIG_IsOK(res1
)) { 
11370     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EndBatch" "', expected argument " "1"" of type '" "wxGrid *""'");  
11372   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11374     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11375     (arg1
)->EndBatch(); 
11376     wxPyEndAllowThreads(__tstate
); 
11377     if (PyErr_Occurred()) SWIG_fail
; 
11379   resultobj 
= SWIG_Py_Void(); 
11386 SWIGINTERN PyObject 
*_wrap_Grid_GetBatchCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11387   PyObject 
*resultobj 
= 0; 
11388   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11392   PyObject 
*swig_obj
[1] ; 
11394   if (!args
) SWIG_fail
; 
11395   swig_obj
[0] = args
; 
11396   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11397   if (!SWIG_IsOK(res1
)) { 
11398     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetBatchCount" "', expected argument " "1"" of type '" "wxGrid *""'");  
11400   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11402     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11403     result 
= (int)(arg1
)->GetBatchCount(); 
11404     wxPyEndAllowThreads(__tstate
); 
11405     if (PyErr_Occurred()) SWIG_fail
; 
11407   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11414 SWIGINTERN PyObject 
*_wrap_Grid_ForceRefresh(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11415   PyObject 
*resultobj 
= 0; 
11416   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11419   PyObject 
*swig_obj
[1] ; 
11421   if (!args
) SWIG_fail
; 
11422   swig_obj
[0] = args
; 
11423   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11424   if (!SWIG_IsOK(res1
)) { 
11425     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ForceRefresh" "', expected argument " "1"" of type '" "wxGrid *""'");  
11427   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11429     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11430     (arg1
)->ForceRefresh(); 
11431     wxPyEndAllowThreads(__tstate
); 
11432     if (PyErr_Occurred()) SWIG_fail
; 
11434   resultobj 
= SWIG_Py_Void(); 
11441 SWIGINTERN PyObject 
*_wrap_Grid_IsEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11442   PyObject 
*resultobj 
= 0; 
11443   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11447   PyObject 
*swig_obj
[1] ; 
11449   if (!args
) SWIG_fail
; 
11450   swig_obj
[0] = args
; 
11451   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11452   if (!SWIG_IsOK(res1
)) { 
11453     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsEditable" "', expected argument " "1"" of type '" "wxGrid *""'");  
11455   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11457     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11458     result 
= (bool)(arg1
)->IsEditable(); 
11459     wxPyEndAllowThreads(__tstate
); 
11460     if (PyErr_Occurred()) SWIG_fail
; 
11463     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11471 SWIGINTERN PyObject 
*_wrap_Grid_EnableEditing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11472   PyObject 
*resultobj 
= 0; 
11473   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11479   PyObject 
* obj0 
= 0 ; 
11480   PyObject 
* obj1 
= 0 ; 
11481   char *  kwnames
[] = { 
11482     (char *) "self",(char *) "edit", NULL 
 
11485   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11486   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11487   if (!SWIG_IsOK(res1
)) { 
11488     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableEditing" "', expected argument " "1"" of type '" "wxGrid *""'");  
11490   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11491   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
11492   if (!SWIG_IsOK(ecode2
)) { 
11493     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableEditing" "', expected argument " "2"" of type '" "bool""'"); 
11495   arg2 
= static_cast< bool >(val2
); 
11497     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11498     (arg1
)->EnableEditing(arg2
); 
11499     wxPyEndAllowThreads(__tstate
); 
11500     if (PyErr_Occurred()) SWIG_fail
; 
11502   resultobj 
= SWIG_Py_Void(); 
11509 SWIGINTERN PyObject 
*_wrap_Grid_EnableCellEditControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11510   PyObject 
*resultobj 
= 0; 
11511   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11512   bool arg2 
= (bool) true ; 
11517   PyObject 
* obj0 
= 0 ; 
11518   PyObject 
* obj1 
= 0 ; 
11519   char *  kwnames
[] = { 
11520     (char *) "self",(char *) "enable", NULL 
 
11523   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11524   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11525   if (!SWIG_IsOK(res1
)) { 
11526     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");  
11528   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11530     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
11531     if (!SWIG_IsOK(ecode2
)) { 
11532       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "2"" of type '" "bool""'"); 
11534     arg2 
= static_cast< bool >(val2
); 
11537     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11538     (arg1
)->EnableCellEditControl(arg2
); 
11539     wxPyEndAllowThreads(__tstate
); 
11540     if (PyErr_Occurred()) SWIG_fail
; 
11542   resultobj 
= SWIG_Py_Void(); 
11549 SWIGINTERN PyObject 
*_wrap_Grid_DisableCellEditControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11550   PyObject 
*resultobj 
= 0; 
11551   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11554   PyObject 
*swig_obj
[1] ; 
11556   if (!args
) SWIG_fail
; 
11557   swig_obj
[0] = args
; 
11558   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11559   if (!SWIG_IsOK(res1
)) { 
11560     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");  
11562   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11564     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11565     (arg1
)->DisableCellEditControl(); 
11566     wxPyEndAllowThreads(__tstate
); 
11567     if (PyErr_Occurred()) SWIG_fail
; 
11569   resultobj 
= SWIG_Py_Void(); 
11576 SWIGINTERN PyObject 
*_wrap_Grid_CanEnableCellControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11577   PyObject 
*resultobj 
= 0; 
11578   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11582   PyObject 
*swig_obj
[1] ; 
11584   if (!args
) SWIG_fail
; 
11585   swig_obj
[0] = args
; 
11586   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11587   if (!SWIG_IsOK(res1
)) { 
11588     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanEnableCellControl" "', expected argument " "1"" of type '" "wxGrid const *""'");  
11590   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11592     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11593     result 
= (bool)((wxGrid 
const *)arg1
)->CanEnableCellControl(); 
11594     wxPyEndAllowThreads(__tstate
); 
11595     if (PyErr_Occurred()) SWIG_fail
; 
11598     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11606 SWIGINTERN PyObject 
*_wrap_Grid_IsCellEditControlEnabled(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11607   PyObject 
*resultobj 
= 0; 
11608   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11612   PyObject 
*swig_obj
[1] ; 
11614   if (!args
) SWIG_fail
; 
11615   swig_obj
[0] = args
; 
11616   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11617   if (!SWIG_IsOK(res1
)) { 
11618     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlEnabled" "', expected argument " "1"" of type '" "wxGrid const *""'");  
11620   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11622     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11623     result 
= (bool)((wxGrid 
const *)arg1
)->IsCellEditControlEnabled(); 
11624     wxPyEndAllowThreads(__tstate
); 
11625     if (PyErr_Occurred()) SWIG_fail
; 
11628     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11636 SWIGINTERN PyObject 
*_wrap_Grid_IsCellEditControlShown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11637   PyObject 
*resultobj 
= 0; 
11638   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11642   PyObject 
*swig_obj
[1] ; 
11644   if (!args
) SWIG_fail
; 
11645   swig_obj
[0] = args
; 
11646   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11647   if (!SWIG_IsOK(res1
)) { 
11648     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlShown" "', expected argument " "1"" of type '" "wxGrid const *""'");  
11650   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11652     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11653     result 
= (bool)((wxGrid 
const *)arg1
)->IsCellEditControlShown(); 
11654     wxPyEndAllowThreads(__tstate
); 
11655     if (PyErr_Occurred()) SWIG_fail
; 
11658     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11666 SWIGINTERN PyObject 
*_wrap_Grid_IsCurrentCellReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11667   PyObject 
*resultobj 
= 0; 
11668   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_IsCurrentCellReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");  
11680   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11682     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11683     result 
= (bool)((wxGrid 
const *)arg1
)->IsCurrentCellReadOnly(); 
11684     wxPyEndAllowThreads(__tstate
); 
11685     if (PyErr_Occurred()) SWIG_fail
; 
11688     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11696 SWIGINTERN PyObject 
*_wrap_Grid_ShowCellEditControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11697   PyObject 
*resultobj 
= 0; 
11698   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11701   PyObject 
*swig_obj
[1] ; 
11703   if (!args
) SWIG_fail
; 
11704   swig_obj
[0] = args
; 
11705   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11706   if (!SWIG_IsOK(res1
)) { 
11707     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ShowCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");  
11709   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11711     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11712     (arg1
)->ShowCellEditControl(); 
11713     wxPyEndAllowThreads(__tstate
); 
11714     if (PyErr_Occurred()) SWIG_fail
; 
11716   resultobj 
= SWIG_Py_Void(); 
11723 SWIGINTERN PyObject 
*_wrap_Grid_HideCellEditControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11724   PyObject 
*resultobj 
= 0; 
11725   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11728   PyObject 
*swig_obj
[1] ; 
11730   if (!args
) SWIG_fail
; 
11731   swig_obj
[0] = args
; 
11732   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11733   if (!SWIG_IsOK(res1
)) { 
11734     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_HideCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");  
11736   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11739     (arg1
)->HideCellEditControl(); 
11740     wxPyEndAllowThreads(__tstate
); 
11741     if (PyErr_Occurred()) SWIG_fail
; 
11743   resultobj 
= SWIG_Py_Void(); 
11750 SWIGINTERN PyObject 
*_wrap_Grid_SaveEditControlValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11751   PyObject 
*resultobj 
= 0; 
11752   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_SaveEditControlValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
11763   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11766     (arg1
)->SaveEditControlValue(); 
11767     wxPyEndAllowThreads(__tstate
); 
11768     if (PyErr_Occurred()) SWIG_fail
; 
11770   resultobj 
= SWIG_Py_Void(); 
11777 SWIGINTERN PyObject 
*_wrap_Grid_XYToCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11778   PyObject 
*resultobj 
= 0; 
11779   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11782   wxGridCellCoords result
; 
11789   PyObject 
* obj0 
= 0 ; 
11790   PyObject 
* obj1 
= 0 ; 
11791   PyObject 
* obj2 
= 0 ; 
11792   char *  kwnames
[] = { 
11793     (char *) "self",(char *) "x",(char *) "y", NULL 
 
11796   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11797   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11798   if (!SWIG_IsOK(res1
)) { 
11799     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XYToCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
11801   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11802   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11803   if (!SWIG_IsOK(ecode2
)) { 
11804     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XYToCell" "', expected argument " "2"" of type '" "int""'"); 
11806   arg2 
= static_cast< int >(val2
); 
11807   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11808   if (!SWIG_IsOK(ecode3
)) { 
11809     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XYToCell" "', expected argument " "3"" of type '" "int""'"); 
11811   arg3 
= static_cast< int >(val3
); 
11813     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11814     result 
= wxGrid_XYToCell(arg1
,arg2
,arg3
); 
11815     wxPyEndAllowThreads(__tstate
); 
11816     if (PyErr_Occurred()) SWIG_fail
; 
11818   resultobj 
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN 
|  0 ); 
11825 SWIGINTERN PyObject 
*_wrap_Grid_YToRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11826   PyObject 
*resultobj 
= 0; 
11827   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11834   PyObject 
* obj0 
= 0 ; 
11835   PyObject 
* obj1 
= 0 ; 
11836   char *  kwnames
[] = { 
11837     (char *) "self",(char *) "y", NULL 
 
11840   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11841   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11842   if (!SWIG_IsOK(res1
)) { 
11843     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
11845   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11846   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11847   if (!SWIG_IsOK(ecode2
)) { 
11848     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToRow" "', expected argument " "2"" of type '" "int""'"); 
11850   arg2 
= static_cast< int >(val2
); 
11852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11853     result 
= (int)(arg1
)->YToRow(arg2
); 
11854     wxPyEndAllowThreads(__tstate
); 
11855     if (PyErr_Occurred()) SWIG_fail
; 
11857   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11864 SWIGINTERN PyObject 
*_wrap_Grid_XToCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11865   PyObject 
*resultobj 
= 0; 
11866   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11873   PyObject 
* obj0 
= 0 ; 
11874   PyObject 
* obj1 
= 0 ; 
11875   char *  kwnames
[] = { 
11876     (char *) "self",(char *) "x", NULL 
 
11879   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11880   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11881   if (!SWIG_IsOK(res1
)) { 
11882     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
11884   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11885   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11886   if (!SWIG_IsOK(ecode2
)) { 
11887     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToCol" "', expected argument " "2"" of type '" "int""'"); 
11889   arg2 
= static_cast< int >(val2
); 
11891     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11892     result 
= (int)(arg1
)->XToCol(arg2
); 
11893     wxPyEndAllowThreads(__tstate
); 
11894     if (PyErr_Occurred()) SWIG_fail
; 
11896   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11903 SWIGINTERN PyObject 
*_wrap_Grid_YToEdgeOfRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11904   PyObject 
*resultobj 
= 0; 
11905   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11912   PyObject 
* obj0 
= 0 ; 
11913   PyObject 
* obj1 
= 0 ; 
11914   char *  kwnames
[] = { 
11915     (char *) "self",(char *) "y", NULL 
 
11918   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11919   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11920   if (!SWIG_IsOK(res1
)) { 
11921     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
11923   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11924   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11925   if (!SWIG_IsOK(ecode2
)) { 
11926     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "2"" of type '" "int""'"); 
11928   arg2 
= static_cast< int >(val2
); 
11930     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11931     result 
= (int)(arg1
)->YToEdgeOfRow(arg2
); 
11932     wxPyEndAllowThreads(__tstate
); 
11933     if (PyErr_Occurred()) SWIG_fail
; 
11935   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11942 SWIGINTERN PyObject 
*_wrap_Grid_XToEdgeOfCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11943   PyObject 
*resultobj 
= 0; 
11944   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11951   PyObject 
* obj0 
= 0 ; 
11952   PyObject 
* obj1 
= 0 ; 
11953   char *  kwnames
[] = { 
11954     (char *) "self",(char *) "x", NULL 
 
11957   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11958   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
11959   if (!SWIG_IsOK(res1
)) { 
11960     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
11962   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
11963   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11964   if (!SWIG_IsOK(ecode2
)) { 
11965     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "2"" of type '" "int""'"); 
11967   arg2 
= static_cast< int >(val2
); 
11969     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11970     result 
= (int)(arg1
)->XToEdgeOfCol(arg2
); 
11971     wxPyEndAllowThreads(__tstate
); 
11972     if (PyErr_Occurred()) SWIG_fail
; 
11974   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11981 SWIGINTERN PyObject 
*_wrap_Grid_CellToRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11982   PyObject 
*resultobj 
= 0; 
11983   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11993   PyObject 
* obj0 
= 0 ; 
11994   PyObject 
* obj1 
= 0 ; 
11995   PyObject 
* obj2 
= 0 ; 
11996   char *  kwnames
[] = { 
11997     (char *) "self",(char *) "row",(char *) "col", NULL 
 
12000   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12001   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12002   if (!SWIG_IsOK(res1
)) { 
12003     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CellToRect" "', expected argument " "1"" of type '" "wxGrid *""'");  
12005   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12006   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12007   if (!SWIG_IsOK(ecode2
)) { 
12008     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CellToRect" "', expected argument " "2"" of type '" "int""'"); 
12010   arg2 
= static_cast< int >(val2
); 
12011   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12012   if (!SWIG_IsOK(ecode3
)) { 
12013     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CellToRect" "', expected argument " "3"" of type '" "int""'"); 
12015   arg3 
= static_cast< int >(val3
); 
12017     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12018     result 
= (arg1
)->CellToRect(arg2
,arg3
); 
12019     wxPyEndAllowThreads(__tstate
); 
12020     if (PyErr_Occurred()) SWIG_fail
; 
12022   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
12029 SWIGINTERN PyObject 
*_wrap_Grid_GetGridCursorRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12030   PyObject 
*resultobj 
= 0; 
12031   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12035   PyObject 
*swig_obj
[1] ; 
12037   if (!args
) SWIG_fail
; 
12038   swig_obj
[0] = args
; 
12039   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12040   if (!SWIG_IsOK(res1
)) { 
12041     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
12043   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12045     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12046     result 
= (int)(arg1
)->GetGridCursorRow(); 
12047     wxPyEndAllowThreads(__tstate
); 
12048     if (PyErr_Occurred()) SWIG_fail
; 
12050   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12057 SWIGINTERN PyObject 
*_wrap_Grid_GetGridCursorCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12058   PyObject 
*resultobj 
= 0; 
12059   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_GetGridCursorCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
12071   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12073     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12074     result 
= (int)(arg1
)->GetGridCursorCol(); 
12075     wxPyEndAllowThreads(__tstate
); 
12076     if (PyErr_Occurred()) SWIG_fail
; 
12078   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12085 SWIGINTERN PyObject 
*_wrap_Grid_IsVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12086   PyObject 
*resultobj 
= 0; 
12087   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12090   bool arg4 
= (bool) true ; 
12100   PyObject 
* obj0 
= 0 ; 
12101   PyObject 
* obj1 
= 0 ; 
12102   PyObject 
* obj2 
= 0 ; 
12103   PyObject 
* obj3 
= 0 ; 
12104   char *  kwnames
[] = { 
12105     (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL 
 
12108   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
12109   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12110   if (!SWIG_IsOK(res1
)) { 
12111     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsVisible" "', expected argument " "1"" of type '" "wxGrid *""'");  
12113   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12114   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12115   if (!SWIG_IsOK(ecode2
)) { 
12116     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsVisible" "', expected argument " "2"" of type '" "int""'"); 
12118   arg2 
= static_cast< int >(val2
); 
12119   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12120   if (!SWIG_IsOK(ecode3
)) { 
12121     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsVisible" "', expected argument " "3"" of type '" "int""'"); 
12123   arg3 
= static_cast< int >(val3
); 
12125     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
12126     if (!SWIG_IsOK(ecode4
)) { 
12127       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_IsVisible" "', expected argument " "4"" of type '" "bool""'"); 
12129     arg4 
= static_cast< bool >(val4
); 
12132     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12133     result 
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
); 
12134     wxPyEndAllowThreads(__tstate
); 
12135     if (PyErr_Occurred()) SWIG_fail
; 
12138     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12146 SWIGINTERN PyObject 
*_wrap_Grid_MakeCellVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12147   PyObject 
*resultobj 
= 0; 
12148   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12157   PyObject 
* obj0 
= 0 ; 
12158   PyObject 
* obj1 
= 0 ; 
12159   PyObject 
* obj2 
= 0 ; 
12160   char *  kwnames
[] = { 
12161     (char *) "self",(char *) "row",(char *) "col", NULL 
 
12164   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12165   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12166   if (!SWIG_IsOK(res1
)) { 
12167     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MakeCellVisible" "', expected argument " "1"" of type '" "wxGrid *""'");  
12169   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12170   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12171   if (!SWIG_IsOK(ecode2
)) { 
12172     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MakeCellVisible" "', expected argument " "2"" of type '" "int""'"); 
12174   arg2 
= static_cast< int >(val2
); 
12175   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12176   if (!SWIG_IsOK(ecode3
)) { 
12177     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_MakeCellVisible" "', expected argument " "3"" of type '" "int""'"); 
12179   arg3 
= static_cast< int >(val3
); 
12181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12182     (arg1
)->MakeCellVisible(arg2
,arg3
); 
12183     wxPyEndAllowThreads(__tstate
); 
12184     if (PyErr_Occurred()) SWIG_fail
; 
12186   resultobj 
= SWIG_Py_Void(); 
12193 SWIGINTERN PyObject 
*_wrap_Grid_SetGridCursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12194   PyObject 
*resultobj 
= 0; 
12195   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12204   PyObject 
* obj0 
= 0 ; 
12205   PyObject 
* obj1 
= 0 ; 
12206   PyObject 
* obj2 
= 0 ; 
12207   char *  kwnames
[] = { 
12208     (char *) "self",(char *) "row",(char *) "col", NULL 
 
12211   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12212   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12213   if (!SWIG_IsOK(res1
)) { 
12214     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridCursor" "', expected argument " "1"" of type '" "wxGrid *""'");  
12216   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12217   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12218   if (!SWIG_IsOK(ecode2
)) { 
12219     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetGridCursor" "', expected argument " "2"" of type '" "int""'"); 
12221   arg2 
= static_cast< int >(val2
); 
12222   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12223   if (!SWIG_IsOK(ecode3
)) { 
12224     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetGridCursor" "', expected argument " "3"" of type '" "int""'"); 
12226   arg3 
= static_cast< int >(val3
); 
12228     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12229     (arg1
)->SetGridCursor(arg2
,arg3
); 
12230     wxPyEndAllowThreads(__tstate
); 
12231     if (PyErr_Occurred()) SWIG_fail
; 
12233   resultobj 
= SWIG_Py_Void(); 
12240 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12241   PyObject 
*resultobj 
= 0; 
12242   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12249   PyObject 
* obj0 
= 0 ; 
12250   PyObject 
* obj1 
= 0 ; 
12251   char *  kwnames
[] = { 
12252     (char *) "self",(char *) "expandSelection", NULL 
 
12255   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12256   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12257   if (!SWIG_IsOK(res1
)) { 
12258     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUp" "', expected argument " "1"" of type '" "wxGrid *""'");  
12260   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12261   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12262   if (!SWIG_IsOK(ecode2
)) { 
12263     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUp" "', expected argument " "2"" of type '" "bool""'"); 
12265   arg2 
= static_cast< bool >(val2
); 
12267     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12268     result 
= (bool)(arg1
)->MoveCursorUp(arg2
); 
12269     wxPyEndAllowThreads(__tstate
); 
12270     if (PyErr_Occurred()) SWIG_fail
; 
12273     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12281 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12282   PyObject 
*resultobj 
= 0; 
12283   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12290   PyObject 
* obj0 
= 0 ; 
12291   PyObject 
* obj1 
= 0 ; 
12292   char *  kwnames
[] = { 
12293     (char *) "self",(char *) "expandSelection", NULL 
 
12296   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12297   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12298   if (!SWIG_IsOK(res1
)) { 
12299     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDown" "', expected argument " "1"" of type '" "wxGrid *""'");  
12301   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12302   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12303   if (!SWIG_IsOK(ecode2
)) { 
12304     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDown" "', expected argument " "2"" of type '" "bool""'"); 
12306   arg2 
= static_cast< bool >(val2
); 
12308     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12309     result 
= (bool)(arg1
)->MoveCursorDown(arg2
); 
12310     wxPyEndAllowThreads(__tstate
); 
12311     if (PyErr_Occurred()) SWIG_fail
; 
12314     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12322 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12323   PyObject 
*resultobj 
= 0; 
12324   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12331   PyObject 
* obj0 
= 0 ; 
12332   PyObject 
* obj1 
= 0 ; 
12333   char *  kwnames
[] = { 
12334     (char *) "self",(char *) "expandSelection", NULL 
 
12337   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12338   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12339   if (!SWIG_IsOK(res1
)) { 
12340     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "1"" of type '" "wxGrid *""'");  
12342   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12343   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12344   if (!SWIG_IsOK(ecode2
)) { 
12345     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "2"" of type '" "bool""'"); 
12347   arg2 
= static_cast< bool >(val2
); 
12349     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12350     result 
= (bool)(arg1
)->MoveCursorLeft(arg2
); 
12351     wxPyEndAllowThreads(__tstate
); 
12352     if (PyErr_Occurred()) SWIG_fail
; 
12355     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12363 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12364   PyObject 
*resultobj 
= 0; 
12365   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12372   PyObject 
* obj0 
= 0 ; 
12373   PyObject 
* obj1 
= 0 ; 
12374   char *  kwnames
[] = { 
12375     (char *) "self",(char *) "expandSelection", NULL 
 
12378   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12379   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12380   if (!SWIG_IsOK(res1
)) { 
12381     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRight" "', expected argument " "1"" of type '" "wxGrid *""'");  
12383   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12384   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12385   if (!SWIG_IsOK(ecode2
)) { 
12386     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRight" "', expected argument " "2"" of type '" "bool""'"); 
12388   arg2 
= static_cast< bool >(val2
); 
12390     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12391     result 
= (bool)(arg1
)->MoveCursorRight(arg2
); 
12392     wxPyEndAllowThreads(__tstate
); 
12393     if (PyErr_Occurred()) SWIG_fail
; 
12396     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12404 SWIGINTERN PyObject 
*_wrap_Grid_MovePageDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12405   PyObject 
*resultobj 
= 0; 
12406   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12410   PyObject 
*swig_obj
[1] ; 
12412   if (!args
) SWIG_fail
; 
12413   swig_obj
[0] = args
; 
12414   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12415   if (!SWIG_IsOK(res1
)) { 
12416     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageDown" "', expected argument " "1"" of type '" "wxGrid *""'");  
12418   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12420     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12421     result 
= (bool)(arg1
)->MovePageDown(); 
12422     wxPyEndAllowThreads(__tstate
); 
12423     if (PyErr_Occurred()) SWIG_fail
; 
12426     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12434 SWIGINTERN PyObject 
*_wrap_Grid_MovePageUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12435   PyObject 
*resultobj 
= 0; 
12436   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12440   PyObject 
*swig_obj
[1] ; 
12442   if (!args
) SWIG_fail
; 
12443   swig_obj
[0] = args
; 
12444   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12445   if (!SWIG_IsOK(res1
)) { 
12446     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageUp" "', expected argument " "1"" of type '" "wxGrid *""'");  
12448   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12450     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12451     result 
= (bool)(arg1
)->MovePageUp(); 
12452     wxPyEndAllowThreads(__tstate
); 
12453     if (PyErr_Occurred()) SWIG_fail
; 
12456     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12464 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorUpBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12465   PyObject 
*resultobj 
= 0; 
12466   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12473   PyObject 
* obj0 
= 0 ; 
12474   PyObject 
* obj1 
= 0 ; 
12475   char *  kwnames
[] = { 
12476     (char *) "self",(char *) "expandSelection", NULL 
 
12479   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12480   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12481   if (!SWIG_IsOK(res1
)) { 
12482     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
12484   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12485   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12486   if (!SWIG_IsOK(ecode2
)) { 
12487     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "2"" of type '" "bool""'"); 
12489   arg2 
= static_cast< bool >(val2
); 
12491     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12492     result 
= (bool)(arg1
)->MoveCursorUpBlock(arg2
); 
12493     wxPyEndAllowThreads(__tstate
); 
12494     if (PyErr_Occurred()) SWIG_fail
; 
12497     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12505 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorDownBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12506   PyObject 
*resultobj 
= 0; 
12507   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12514   PyObject 
* obj0 
= 0 ; 
12515   PyObject 
* obj1 
= 0 ; 
12516   char *  kwnames
[] = { 
12517     (char *) "self",(char *) "expandSelection", NULL 
 
12520   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12521   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12522   if (!SWIG_IsOK(res1
)) { 
12523     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
12525   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12526   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12527   if (!SWIG_IsOK(ecode2
)) { 
12528     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "2"" of type '" "bool""'"); 
12530   arg2 
= static_cast< bool >(val2
); 
12532     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12533     result 
= (bool)(arg1
)->MoveCursorDownBlock(arg2
); 
12534     wxPyEndAllowThreads(__tstate
); 
12535     if (PyErr_Occurred()) SWIG_fail
; 
12538     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12546 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorLeftBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12547   PyObject 
*resultobj 
= 0; 
12548   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12555   PyObject 
* obj0 
= 0 ; 
12556   PyObject 
* obj1 
= 0 ; 
12557   char *  kwnames
[] = { 
12558     (char *) "self",(char *) "expandSelection", NULL 
 
12561   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12562   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12563   if (!SWIG_IsOK(res1
)) { 
12564     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
12566   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12567   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12568   if (!SWIG_IsOK(ecode2
)) { 
12569     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "2"" of type '" "bool""'"); 
12571   arg2 
= static_cast< bool >(val2
); 
12573     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12574     result 
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
); 
12575     wxPyEndAllowThreads(__tstate
); 
12576     if (PyErr_Occurred()) SWIG_fail
; 
12579     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12587 SWIGINTERN PyObject 
*_wrap_Grid_MoveCursorRightBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12588   PyObject 
*resultobj 
= 0; 
12589   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12596   PyObject 
* obj0 
= 0 ; 
12597   PyObject 
* obj1 
= 0 ; 
12598   char *  kwnames
[] = { 
12599     (char *) "self",(char *) "expandSelection", NULL 
 
12602   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12603   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12604   if (!SWIG_IsOK(res1
)) { 
12605     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
12607   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12608   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12609   if (!SWIG_IsOK(ecode2
)) { 
12610     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "2"" of type '" "bool""'"); 
12612   arg2 
= static_cast< bool >(val2
); 
12614     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12615     result 
= (bool)(arg1
)->MoveCursorRightBlock(arg2
); 
12616     wxPyEndAllowThreads(__tstate
); 
12617     if (PyErr_Occurred()) SWIG_fail
; 
12620     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12628 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRowLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12629   PyObject 
*resultobj 
= 0; 
12630   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12634   PyObject 
*swig_obj
[1] ; 
12636   if (!args
) SWIG_fail
; 
12637   swig_obj
[0] = args
; 
12638   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12639   if (!SWIG_IsOK(res1
)) { 
12640     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
12642   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12644     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12645     result 
= (int)(arg1
)->GetDefaultRowLabelSize(); 
12646     wxPyEndAllowThreads(__tstate
); 
12647     if (PyErr_Occurred()) SWIG_fail
; 
12649   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12656 SWIGINTERN PyObject 
*_wrap_Grid_GetRowLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12657   PyObject 
*resultobj 
= 0; 
12658   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12662   PyObject 
*swig_obj
[1] ; 
12664   if (!args
) SWIG_fail
; 
12665   swig_obj
[0] = args
; 
12666   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12667   if (!SWIG_IsOK(res1
)) { 
12668     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
12670   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12672     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12673     result 
= (int)(arg1
)->GetRowLabelSize(); 
12674     wxPyEndAllowThreads(__tstate
); 
12675     if (PyErr_Occurred()) SWIG_fail
; 
12677   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12684 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultColLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12685   PyObject 
*resultobj 
= 0; 
12686   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12690   PyObject 
*swig_obj
[1] ; 
12692   if (!args
) SWIG_fail
; 
12693   swig_obj
[0] = args
; 
12694   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12695   if (!SWIG_IsOK(res1
)) { 
12696     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
12698   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12701     result 
= (int)(arg1
)->GetDefaultColLabelSize(); 
12702     wxPyEndAllowThreads(__tstate
); 
12703     if (PyErr_Occurred()) SWIG_fail
; 
12705   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12712 SWIGINTERN PyObject 
*_wrap_Grid_GetColLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12713   PyObject 
*resultobj 
= 0; 
12714   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12718   PyObject 
*swig_obj
[1] ; 
12720   if (!args
) SWIG_fail
; 
12721   swig_obj
[0] = args
; 
12722   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12723   if (!SWIG_IsOK(res1
)) { 
12724     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
12726   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12728     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12729     result 
= (int)(arg1
)->GetColLabelSize(); 
12730     wxPyEndAllowThreads(__tstate
); 
12731     if (PyErr_Occurred()) SWIG_fail
; 
12733   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12740 SWIGINTERN PyObject 
*_wrap_Grid_GetLabelBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12741   PyObject 
*resultobj 
= 0; 
12742   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12746   PyObject 
*swig_obj
[1] ; 
12748   if (!args
) SWIG_fail
; 
12749   swig_obj
[0] = args
; 
12750   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12751   if (!SWIG_IsOK(res1
)) { 
12752     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
12754   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12757     result 
= (arg1
)->GetLabelBackgroundColour(); 
12758     wxPyEndAllowThreads(__tstate
); 
12759     if (PyErr_Occurred()) SWIG_fail
; 
12761   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
12768 SWIGINTERN PyObject 
*_wrap_Grid_GetLabelTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12769   PyObject 
*resultobj 
= 0; 
12770   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12774   PyObject 
*swig_obj
[1] ; 
12776   if (!args
) SWIG_fail
; 
12777   swig_obj
[0] = args
; 
12778   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12779   if (!SWIG_IsOK(res1
)) { 
12780     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
12782   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12784     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12785     result 
= (arg1
)->GetLabelTextColour(); 
12786     wxPyEndAllowThreads(__tstate
); 
12787     if (PyErr_Occurred()) SWIG_fail
; 
12789   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
12796 SWIGINTERN PyObject 
*_wrap_Grid_GetLabelFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12797   PyObject 
*resultobj 
= 0; 
12798   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12802   PyObject 
*swig_obj
[1] ; 
12804   if (!args
) SWIG_fail
; 
12805   swig_obj
[0] = args
; 
12806   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12807   if (!SWIG_IsOK(res1
)) { 
12808     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
12810   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12812     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12813     result 
= (arg1
)->GetLabelFont(); 
12814     wxPyEndAllowThreads(__tstate
); 
12815     if (PyErr_Occurred()) SWIG_fail
; 
12817   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
12824 SWIGINTERN PyObject 
*_wrap_Grid_GetRowLabelAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12825   PyObject 
*resultobj 
= 0; 
12826   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12827   int *arg2 
= (int *) 0 ; 
12828   int *arg3 
= (int *) 0 ; 
12832   int res2 
= SWIG_TMPOBJ 
; 
12834   int res3 
= SWIG_TMPOBJ 
; 
12835   PyObject 
*swig_obj
[1] ; 
12839   if (!args
) SWIG_fail
; 
12840   swig_obj
[0] = args
; 
12841   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12842   if (!SWIG_IsOK(res1
)) { 
12843     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
12845   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12847     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12848     (arg1
)->GetRowLabelAlignment(arg2
,arg3
); 
12849     wxPyEndAllowThreads(__tstate
); 
12850     if (PyErr_Occurred()) SWIG_fail
; 
12852   resultobj 
= SWIG_Py_Void(); 
12853   if (SWIG_IsTmpObj(res2
)) { 
12854     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
12856     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
12857     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
12859   if (SWIG_IsTmpObj(res3
)) { 
12860     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
12862     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
12863     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
12871 SWIGINTERN PyObject 
*_wrap_Grid_GetColLabelAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12872   PyObject 
*resultobj 
= 0; 
12873   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12874   int *arg2 
= (int *) 0 ; 
12875   int *arg3 
= (int *) 0 ; 
12879   int res2 
= SWIG_TMPOBJ 
; 
12881   int res3 
= SWIG_TMPOBJ 
; 
12882   PyObject 
*swig_obj
[1] ; 
12886   if (!args
) SWIG_fail
; 
12887   swig_obj
[0] = args
; 
12888   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12889   if (!SWIG_IsOK(res1
)) { 
12890     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
12892   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12894     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12895     (arg1
)->GetColLabelAlignment(arg2
,arg3
); 
12896     wxPyEndAllowThreads(__tstate
); 
12897     if (PyErr_Occurred()) SWIG_fail
; 
12899   resultobj 
= SWIG_Py_Void(); 
12900   if (SWIG_IsTmpObj(res2
)) { 
12901     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
12903     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
12904     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
12906   if (SWIG_IsTmpObj(res3
)) { 
12907     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
12909     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
12910     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
12918 SWIGINTERN PyObject 
*_wrap_Grid_GetColLabelTextOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12919   PyObject 
*resultobj 
= 0; 
12920   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12924   PyObject 
*swig_obj
[1] ; 
12926   if (!args
) SWIG_fail
; 
12927   swig_obj
[0] = args
; 
12928   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12929   if (!SWIG_IsOK(res1
)) { 
12930     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");  
12932   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12934     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12935     result 
= (int)(arg1
)->GetColLabelTextOrientation(); 
12936     wxPyEndAllowThreads(__tstate
); 
12937     if (PyErr_Occurred()) SWIG_fail
; 
12939   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12946 SWIGINTERN PyObject 
*_wrap_Grid_GetRowLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12947   PyObject 
*resultobj 
= 0; 
12948   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12955   PyObject 
* obj0 
= 0 ; 
12956   PyObject 
* obj1 
= 0 ; 
12957   char *  kwnames
[] = { 
12958     (char *) "self",(char *) "row", NULL 
 
12961   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12962   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
12963   if (!SWIG_IsOK(res1
)) { 
12964     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
12966   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
12967   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12968   if (!SWIG_IsOK(ecode2
)) { 
12969     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'"); 
12971   arg2 
= static_cast< int >(val2
); 
12973     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12974     result 
= (arg1
)->GetRowLabelValue(arg2
); 
12975     wxPyEndAllowThreads(__tstate
); 
12976     if (PyErr_Occurred()) SWIG_fail
; 
12980     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12982     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12991 SWIGINTERN PyObject 
*_wrap_Grid_GetColLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12992   PyObject 
*resultobj 
= 0; 
12993   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13000   PyObject 
* obj0 
= 0 ; 
13001   PyObject 
* obj1 
= 0 ; 
13002   char *  kwnames
[] = { 
13003     (char *) "self",(char *) "col", NULL 
 
13006   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13007   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13008   if (!SWIG_IsOK(res1
)) { 
13009     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
13011   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13012   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13013   if (!SWIG_IsOK(ecode2
)) { 
13014     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColLabelValue" "', expected argument " "2"" of type '" "int""'"); 
13016   arg2 
= static_cast< int >(val2
); 
13018     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13019     result 
= (arg1
)->GetColLabelValue(arg2
); 
13020     wxPyEndAllowThreads(__tstate
); 
13021     if (PyErr_Occurred()) SWIG_fail
; 
13025     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13027     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13036 SWIGINTERN PyObject 
*_wrap_Grid_GetGridLineColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13037   PyObject 
*resultobj 
= 0; 
13038   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13042   PyObject 
*swig_obj
[1] ; 
13044   if (!args
) SWIG_fail
; 
13045   swig_obj
[0] = args
; 
13046   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13047   if (!SWIG_IsOK(res1
)) { 
13048     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13050   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13052     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13053     result 
= (arg1
)->GetGridLineColour(); 
13054     wxPyEndAllowThreads(__tstate
); 
13055     if (PyErr_Occurred()) SWIG_fail
; 
13057   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
13064 SWIGINTERN PyObject 
*_wrap_Grid_GetCellHighlightColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13065   PyObject 
*resultobj 
= 0; 
13066   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13070   PyObject 
*swig_obj
[1] ; 
13072   if (!args
) SWIG_fail
; 
13073   swig_obj
[0] = args
; 
13074   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13075   if (!SWIG_IsOK(res1
)) { 
13076     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13078   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13080     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13081     result 
= (arg1
)->GetCellHighlightColour(); 
13082     wxPyEndAllowThreads(__tstate
); 
13083     if (PyErr_Occurred()) SWIG_fail
; 
13085   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
13092 SWIGINTERN PyObject 
*_wrap_Grid_GetCellHighlightPenWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13093   PyObject 
*resultobj 
= 0; 
13094   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13098   PyObject 
*swig_obj
[1] ; 
13100   if (!args
) SWIG_fail
; 
13101   swig_obj
[0] = args
; 
13102   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13103   if (!SWIG_IsOK(res1
)) { 
13104     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
13106   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13108     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13109     result 
= (int)(arg1
)->GetCellHighlightPenWidth(); 
13110     wxPyEndAllowThreads(__tstate
); 
13111     if (PyErr_Occurred()) SWIG_fail
; 
13113   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13120 SWIGINTERN PyObject 
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13121   PyObject 
*resultobj 
= 0; 
13122   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13126   PyObject 
*swig_obj
[1] ; 
13128   if (!args
) SWIG_fail
; 
13129   swig_obj
[0] = args
; 
13130   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13131   if (!SWIG_IsOK(res1
)) { 
13132     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
13134   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13136     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13137     result 
= (int)(arg1
)->GetCellHighlightROPenWidth(); 
13138     wxPyEndAllowThreads(__tstate
); 
13139     if (PyErr_Occurred()) SWIG_fail
; 
13141   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13148 SWIGINTERN PyObject 
*_wrap_Grid_SetRowLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13149   PyObject 
*resultobj 
= 0; 
13150   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13156   PyObject 
* obj0 
= 0 ; 
13157   PyObject 
* obj1 
= 0 ; 
13158   char *  kwnames
[] = { 
13159     (char *) "self",(char *) "width", NULL 
 
13162   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13163   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13164   if (!SWIG_IsOK(res1
)) { 
13165     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13167   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13168   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13169   if (!SWIG_IsOK(ecode2
)) { 
13170     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "2"" of type '" "int""'"); 
13172   arg2 
= static_cast< int >(val2
); 
13174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13175     (arg1
)->SetRowLabelSize(arg2
); 
13176     wxPyEndAllowThreads(__tstate
); 
13177     if (PyErr_Occurred()) SWIG_fail
; 
13179   resultobj 
= SWIG_Py_Void(); 
13186 SWIGINTERN PyObject 
*_wrap_Grid_SetColLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13187   PyObject 
*resultobj 
= 0; 
13188   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13194   PyObject 
* obj0 
= 0 ; 
13195   PyObject 
* obj1 
= 0 ; 
13196   char *  kwnames
[] = { 
13197     (char *) "self",(char *) "height", NULL 
 
13200   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13201   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13202   if (!SWIG_IsOK(res1
)) { 
13203     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13205   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13206   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13207   if (!SWIG_IsOK(ecode2
)) { 
13208     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelSize" "', expected argument " "2"" of type '" "int""'"); 
13210   arg2 
= static_cast< int >(val2
); 
13212     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13213     (arg1
)->SetColLabelSize(arg2
); 
13214     wxPyEndAllowThreads(__tstate
); 
13215     if (PyErr_Occurred()) SWIG_fail
; 
13217   resultobj 
= SWIG_Py_Void(); 
13224 SWIGINTERN PyObject 
*_wrap_Grid_SetLabelBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13225   PyObject 
*resultobj 
= 0; 
13226   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13227   wxColour 
*arg2 
= 0 ; 
13231   PyObject 
* obj0 
= 0 ; 
13232   PyObject 
* obj1 
= 0 ; 
13233   char *  kwnames
[] = { 
13234     (char *) "self",(char *)"arg2", NULL 
 
13237   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13238   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13239   if (!SWIG_IsOK(res1
)) { 
13240     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13242   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13245     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13248     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13249     (arg1
)->SetLabelBackgroundColour((wxColour 
const &)*arg2
); 
13250     wxPyEndAllowThreads(__tstate
); 
13251     if (PyErr_Occurred()) SWIG_fail
; 
13253   resultobj 
= SWIG_Py_Void(); 
13260 SWIGINTERN PyObject 
*_wrap_Grid_SetLabelTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13261   PyObject 
*resultobj 
= 0; 
13262   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13263   wxColour 
*arg2 
= 0 ; 
13267   PyObject 
* obj0 
= 0 ; 
13268   PyObject 
* obj1 
= 0 ; 
13269   char *  kwnames
[] = { 
13270     (char *) "self",(char *)"arg2", NULL 
 
13273   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13274   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13275   if (!SWIG_IsOK(res1
)) { 
13276     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13278   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13281     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13285     (arg1
)->SetLabelTextColour((wxColour 
const &)*arg2
); 
13286     wxPyEndAllowThreads(__tstate
); 
13287     if (PyErr_Occurred()) SWIG_fail
; 
13289   resultobj 
= SWIG_Py_Void(); 
13296 SWIGINTERN PyObject 
*_wrap_Grid_SetLabelFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13297   PyObject 
*resultobj 
= 0; 
13298   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13304   PyObject 
* obj0 
= 0 ; 
13305   PyObject 
* obj1 
= 0 ; 
13306   char *  kwnames
[] = { 
13307     (char *) "self",(char *)"arg2", NULL 
 
13310   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13311   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13312   if (!SWIG_IsOK(res1
)) { 
13313     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
13315   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13316   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
13317   if (!SWIG_IsOK(res2
)) { 
13318     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
13321     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
13323   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
13325     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13326     (arg1
)->SetLabelFont((wxFont 
const &)*arg2
); 
13327     wxPyEndAllowThreads(__tstate
); 
13328     if (PyErr_Occurred()) SWIG_fail
; 
13330   resultobj 
= SWIG_Py_Void(); 
13337 SWIGINTERN PyObject 
*_wrap_Grid_SetRowLabelAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13338   PyObject 
*resultobj 
= 0; 
13339   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13348   PyObject 
* obj0 
= 0 ; 
13349   PyObject 
* obj1 
= 0 ; 
13350   PyObject 
* obj2 
= 0 ; 
13351   char *  kwnames
[] = { 
13352     (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
13355   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13356   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13357   if (!SWIG_IsOK(res1
)) { 
13358     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
13360   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13361   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13362   if (!SWIG_IsOK(ecode2
)) { 
13363     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "2"" of type '" "int""'"); 
13365   arg2 
= static_cast< int >(val2
); 
13366   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13367   if (!SWIG_IsOK(ecode3
)) { 
13368     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "3"" of type '" "int""'"); 
13370   arg3 
= static_cast< int >(val3
); 
13372     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13373     (arg1
)->SetRowLabelAlignment(arg2
,arg3
); 
13374     wxPyEndAllowThreads(__tstate
); 
13375     if (PyErr_Occurred()) SWIG_fail
; 
13377   resultobj 
= SWIG_Py_Void(); 
13384 SWIGINTERN PyObject 
*_wrap_Grid_SetColLabelAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13385   PyObject 
*resultobj 
= 0; 
13386   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13395   PyObject 
* obj0 
= 0 ; 
13396   PyObject 
* obj1 
= 0 ; 
13397   PyObject 
* obj2 
= 0 ; 
13398   char *  kwnames
[] = { 
13399     (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
13402   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13403   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13404   if (!SWIG_IsOK(res1
)) { 
13405     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
13407   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13408   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13409   if (!SWIG_IsOK(ecode2
)) { 
13410     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "2"" of type '" "int""'"); 
13412   arg2 
= static_cast< int >(val2
); 
13413   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13414   if (!SWIG_IsOK(ecode3
)) { 
13415     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "3"" of type '" "int""'"); 
13417   arg3 
= static_cast< int >(val3
); 
13419     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13420     (arg1
)->SetColLabelAlignment(arg2
,arg3
); 
13421     wxPyEndAllowThreads(__tstate
); 
13422     if (PyErr_Occurred()) SWIG_fail
; 
13424   resultobj 
= SWIG_Py_Void(); 
13431 SWIGINTERN PyObject 
*_wrap_Grid_SetColLabelTextOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13432   PyObject 
*resultobj 
= 0; 
13433   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13439   PyObject 
* obj0 
= 0 ; 
13440   PyObject 
* obj1 
= 0 ; 
13441   char *  kwnames
[] = { 
13442     (char *) "self",(char *) "textOrientation", NULL 
 
13445   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13446   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13447   if (!SWIG_IsOK(res1
)) { 
13448     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");  
13450   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13451   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13452   if (!SWIG_IsOK(ecode2
)) { 
13453     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "2"" of type '" "int""'"); 
13455   arg2 
= static_cast< int >(val2
); 
13457     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13458     (arg1
)->SetColLabelTextOrientation(arg2
); 
13459     wxPyEndAllowThreads(__tstate
); 
13460     if (PyErr_Occurred()) SWIG_fail
; 
13462   resultobj 
= SWIG_Py_Void(); 
13469 SWIGINTERN PyObject 
*_wrap_Grid_SetRowLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13470   PyObject 
*resultobj 
= 0; 
13471   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13473   wxString 
*arg3 
= 0 ; 
13478   bool temp3 
= false ; 
13479   PyObject 
* obj0 
= 0 ; 
13480   PyObject 
* obj1 
= 0 ; 
13481   PyObject 
* obj2 
= 0 ; 
13482   char *  kwnames
[] = { 
13483     (char *) "self",(char *) "row",(char *)"arg3", NULL 
 
13486   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13487   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13488   if (!SWIG_IsOK(res1
)) { 
13489     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
13491   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13492   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13493   if (!SWIG_IsOK(ecode2
)) { 
13494     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'"); 
13496   arg2 
= static_cast< int >(val2
); 
13498     arg3 
= wxString_in_helper(obj2
); 
13499     if (arg3 
== NULL
) SWIG_fail
; 
13503     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13504     (arg1
)->SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
13505     wxPyEndAllowThreads(__tstate
); 
13506     if (PyErr_Occurred()) SWIG_fail
; 
13508   resultobj 
= SWIG_Py_Void(); 
13523 SWIGINTERN PyObject 
*_wrap_Grid_SetColLabelValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13524   PyObject 
*resultobj 
= 0; 
13525   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13527   wxString 
*arg3 
= 0 ; 
13532   bool temp3 
= false ; 
13533   PyObject 
* obj0 
= 0 ; 
13534   PyObject 
* obj1 
= 0 ; 
13535   PyObject 
* obj2 
= 0 ; 
13536   char *  kwnames
[] = { 
13537     (char *) "self",(char *) "col",(char *)"arg3", NULL 
 
13540   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13541   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13542   if (!SWIG_IsOK(res1
)) { 
13543     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
13545   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13546   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13547   if (!SWIG_IsOK(ecode2
)) { 
13548     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelValue" "', expected argument " "2"" of type '" "int""'"); 
13550   arg2 
= static_cast< int >(val2
); 
13552     arg3 
= wxString_in_helper(obj2
); 
13553     if (arg3 
== NULL
) SWIG_fail
; 
13557     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13558     (arg1
)->SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
13559     wxPyEndAllowThreads(__tstate
); 
13560     if (PyErr_Occurred()) SWIG_fail
; 
13562   resultobj 
= SWIG_Py_Void(); 
13577 SWIGINTERN PyObject 
*_wrap_Grid_SetGridLineColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13578   PyObject 
*resultobj 
= 0; 
13579   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13580   wxColour 
*arg2 
= 0 ; 
13584   PyObject 
* obj0 
= 0 ; 
13585   PyObject 
* obj1 
= 0 ; 
13586   char *  kwnames
[] = { 
13587     (char *) "self",(char *)"arg2", NULL 
 
13590   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13591   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13592   if (!SWIG_IsOK(res1
)) { 
13593     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13595   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13598     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13601     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13602     (arg1
)->SetGridLineColour((wxColour 
const &)*arg2
); 
13603     wxPyEndAllowThreads(__tstate
); 
13604     if (PyErr_Occurred()) SWIG_fail
; 
13606   resultobj 
= SWIG_Py_Void(); 
13613 SWIGINTERN PyObject 
*_wrap_Grid_SetCellHighlightColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13614   PyObject 
*resultobj 
= 0; 
13615   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13616   wxColour 
*arg2 
= 0 ; 
13620   PyObject 
* obj0 
= 0 ; 
13621   PyObject 
* obj1 
= 0 ; 
13622   char *  kwnames
[] = { 
13623     (char *) "self",(char *)"arg2", NULL 
 
13626   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13627   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13628   if (!SWIG_IsOK(res1
)) { 
13629     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
13631   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13634     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13638     (arg1
)->SetCellHighlightColour((wxColour 
const &)*arg2
); 
13639     wxPyEndAllowThreads(__tstate
); 
13640     if (PyErr_Occurred()) SWIG_fail
; 
13642   resultobj 
= SWIG_Py_Void(); 
13649 SWIGINTERN PyObject 
*_wrap_Grid_SetCellHighlightPenWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13650   PyObject 
*resultobj 
= 0; 
13651   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13657   PyObject 
* obj0 
= 0 ; 
13658   PyObject 
* obj1 
= 0 ; 
13659   char *  kwnames
[] = { 
13660     (char *) "self",(char *) "width", NULL 
 
13663   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13664   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13665   if (!SWIG_IsOK(res1
)) { 
13666     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
13668   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13669   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13670   if (!SWIG_IsOK(ecode2
)) { 
13671     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "2"" of type '" "int""'"); 
13673   arg2 
= static_cast< int >(val2
); 
13675     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13676     (arg1
)->SetCellHighlightPenWidth(arg2
); 
13677     wxPyEndAllowThreads(__tstate
); 
13678     if (PyErr_Occurred()) SWIG_fail
; 
13680   resultobj 
= SWIG_Py_Void(); 
13687 SWIGINTERN PyObject 
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13688   PyObject 
*resultobj 
= 0; 
13689   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13695   PyObject 
* obj0 
= 0 ; 
13696   PyObject 
* obj1 
= 0 ; 
13697   char *  kwnames
[] = { 
13698     (char *) "self",(char *) "width", NULL 
 
13701   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13702   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13703   if (!SWIG_IsOK(res1
)) { 
13704     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
13706   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13707   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13708   if (!SWIG_IsOK(ecode2
)) { 
13709     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "2"" of type '" "int""'"); 
13711   arg2 
= static_cast< int >(val2
); 
13713     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13714     (arg1
)->SetCellHighlightROPenWidth(arg2
); 
13715     wxPyEndAllowThreads(__tstate
); 
13716     if (PyErr_Occurred()) SWIG_fail
; 
13718   resultobj 
= SWIG_Py_Void(); 
13725 SWIGINTERN PyObject 
*_wrap_Grid_EnableDragRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13726   PyObject 
*resultobj 
= 0; 
13727   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13728   bool arg2 
= (bool) true ; 
13733   PyObject 
* obj0 
= 0 ; 
13734   PyObject 
* obj1 
= 0 ; 
13735   char *  kwnames
[] = { 
13736     (char *) "self",(char *) "enable", NULL 
 
13739   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13740   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13741   if (!SWIG_IsOK(res1
)) { 
13742     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13744   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13746     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
13747     if (!SWIG_IsOK(ecode2
)) { 
13748       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "2"" of type '" "bool""'"); 
13750     arg2 
= static_cast< bool >(val2
); 
13753     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13754     (arg1
)->EnableDragRowSize(arg2
); 
13755     wxPyEndAllowThreads(__tstate
); 
13756     if (PyErr_Occurred()) SWIG_fail
; 
13758   resultobj 
= SWIG_Py_Void(); 
13765 SWIGINTERN PyObject 
*_wrap_Grid_DisableDragRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13766   PyObject 
*resultobj 
= 0; 
13767   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13770   PyObject 
*swig_obj
[1] ; 
13772   if (!args
) SWIG_fail
; 
13773   swig_obj
[0] = args
; 
13774   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13775   if (!SWIG_IsOK(res1
)) { 
13776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13778   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13781     (arg1
)->DisableDragRowSize(); 
13782     wxPyEndAllowThreads(__tstate
); 
13783     if (PyErr_Occurred()) SWIG_fail
; 
13785   resultobj 
= SWIG_Py_Void(); 
13792 SWIGINTERN PyObject 
*_wrap_Grid_CanDragRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13793   PyObject 
*resultobj 
= 0; 
13794   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13798   PyObject 
*swig_obj
[1] ; 
13800   if (!args
) SWIG_fail
; 
13801   swig_obj
[0] = args
; 
13802   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13803   if (!SWIG_IsOK(res1
)) { 
13804     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13806   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13808     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13809     result 
= (bool)(arg1
)->CanDragRowSize(); 
13810     wxPyEndAllowThreads(__tstate
); 
13811     if (PyErr_Occurred()) SWIG_fail
; 
13814     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13822 SWIGINTERN PyObject 
*_wrap_Grid_EnableDragColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13823   PyObject 
*resultobj 
= 0; 
13824   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13825   bool arg2 
= (bool) true ; 
13830   PyObject 
* obj0 
= 0 ; 
13831   PyObject 
* obj1 
= 0 ; 
13832   char *  kwnames
[] = { 
13833     (char *) "self",(char *) "enable", NULL 
 
13836   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13837   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13838   if (!SWIG_IsOK(res1
)) { 
13839     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13841   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13843     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
13844     if (!SWIG_IsOK(ecode2
)) { 
13845       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColSize" "', expected argument " "2"" of type '" "bool""'"); 
13847     arg2 
= static_cast< bool >(val2
); 
13850     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13851     (arg1
)->EnableDragColSize(arg2
); 
13852     wxPyEndAllowThreads(__tstate
); 
13853     if (PyErr_Occurred()) SWIG_fail
; 
13855   resultobj 
= SWIG_Py_Void(); 
13862 SWIGINTERN PyObject 
*_wrap_Grid_DisableDragColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13863   PyObject 
*resultobj 
= 0; 
13864   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13867   PyObject 
*swig_obj
[1] ; 
13869   if (!args
) SWIG_fail
; 
13870   swig_obj
[0] = args
; 
13871   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13872   if (!SWIG_IsOK(res1
)) { 
13873     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13875   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13877     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13878     (arg1
)->DisableDragColSize(); 
13879     wxPyEndAllowThreads(__tstate
); 
13880     if (PyErr_Occurred()) SWIG_fail
; 
13882   resultobj 
= SWIG_Py_Void(); 
13889 SWIGINTERN PyObject 
*_wrap_Grid_CanDragColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13890   PyObject 
*resultobj 
= 0; 
13891   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13895   PyObject 
*swig_obj
[1] ; 
13897   if (!args
) SWIG_fail
; 
13898   swig_obj
[0] = args
; 
13899   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13900   if (!SWIG_IsOK(res1
)) { 
13901     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13903   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13905     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13906     result 
= (bool)(arg1
)->CanDragColSize(); 
13907     wxPyEndAllowThreads(__tstate
); 
13908     if (PyErr_Occurred()) SWIG_fail
; 
13911     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13919 SWIGINTERN PyObject 
*_wrap_Grid_EnableDragGridSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13920   PyObject 
*resultobj 
= 0; 
13921   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13922   bool arg2 
= (bool) true ; 
13927   PyObject 
* obj0 
= 0 ; 
13928   PyObject 
* obj1 
= 0 ; 
13929   char *  kwnames
[] = { 
13930     (char *) "self",(char *) "enable", NULL 
 
13933   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13934   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13935   if (!SWIG_IsOK(res1
)) { 
13936     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13938   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13940     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
13941     if (!SWIG_IsOK(ecode2
)) { 
13942       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "2"" of type '" "bool""'"); 
13944     arg2 
= static_cast< bool >(val2
); 
13947     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13948     (arg1
)->EnableDragGridSize(arg2
); 
13949     wxPyEndAllowThreads(__tstate
); 
13950     if (PyErr_Occurred()) SWIG_fail
; 
13952   resultobj 
= SWIG_Py_Void(); 
13959 SWIGINTERN PyObject 
*_wrap_Grid_DisableDragGridSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13960   PyObject 
*resultobj 
= 0; 
13961   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13964   PyObject 
*swig_obj
[1] ; 
13966   if (!args
) SWIG_fail
; 
13967   swig_obj
[0] = args
; 
13968   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13969   if (!SWIG_IsOK(res1
)) { 
13970     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
13972   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
13974     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13975     (arg1
)->DisableDragGridSize(); 
13976     wxPyEndAllowThreads(__tstate
); 
13977     if (PyErr_Occurred()) SWIG_fail
; 
13979   resultobj 
= SWIG_Py_Void(); 
13986 SWIGINTERN PyObject 
*_wrap_Grid_CanDragGridSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13987   PyObject 
*resultobj 
= 0; 
13988   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13992   PyObject 
*swig_obj
[1] ; 
13994   if (!args
) SWIG_fail
; 
13995   swig_obj
[0] = args
; 
13996   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
13997   if (!SWIG_IsOK(res1
)) { 
13998     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14000   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14002     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14003     result 
= (bool)(arg1
)->CanDragGridSize(); 
14004     wxPyEndAllowThreads(__tstate
); 
14005     if (PyErr_Occurred()) SWIG_fail
; 
14008     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14016 SWIGINTERN PyObject 
*_wrap_Grid_EnableDragCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14017   PyObject 
*resultobj 
= 0; 
14018   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14019   bool arg2 
= (bool) true ; 
14024   PyObject 
* obj0 
= 0 ; 
14025   PyObject 
* obj1 
= 0 ; 
14026   char *  kwnames
[] = { 
14027     (char *) "self",(char *) "enable", NULL 
 
14030   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14031   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14032   if (!SWIG_IsOK(res1
)) { 
14033     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
14035   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14037     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
14038     if (!SWIG_IsOK(ecode2
)) { 
14039       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragCell" "', expected argument " "2"" of type '" "bool""'"); 
14041     arg2 
= static_cast< bool >(val2
); 
14044     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14045     (arg1
)->EnableDragCell(arg2
); 
14046     wxPyEndAllowThreads(__tstate
); 
14047     if (PyErr_Occurred()) SWIG_fail
; 
14049   resultobj 
= SWIG_Py_Void(); 
14056 SWIGINTERN PyObject 
*_wrap_Grid_DisableDragCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14057   PyObject 
*resultobj 
= 0; 
14058   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14061   PyObject 
*swig_obj
[1] ; 
14063   if (!args
) SWIG_fail
; 
14064   swig_obj
[0] = args
; 
14065   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14066   if (!SWIG_IsOK(res1
)) { 
14067     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
14069   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14071     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14072     (arg1
)->DisableDragCell(); 
14073     wxPyEndAllowThreads(__tstate
); 
14074     if (PyErr_Occurred()) SWIG_fail
; 
14076   resultobj 
= SWIG_Py_Void(); 
14083 SWIGINTERN PyObject 
*_wrap_Grid_CanDragCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14084   PyObject 
*resultobj 
= 0; 
14085   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14089   PyObject 
*swig_obj
[1] ; 
14091   if (!args
) SWIG_fail
; 
14092   swig_obj
[0] = args
; 
14093   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14094   if (!SWIG_IsOK(res1
)) { 
14095     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
14097   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14099     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14100     result 
= (bool)(arg1
)->CanDragCell(); 
14101     wxPyEndAllowThreads(__tstate
); 
14102     if (PyErr_Occurred()) SWIG_fail
; 
14105     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14113 SWIGINTERN PyObject 
*_wrap_Grid_SetAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14114   PyObject 
*resultobj 
= 0; 
14115   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14118   wxGridCellAttr 
*arg4 
= (wxGridCellAttr 
*) 0 ; 
14127   PyObject 
* obj0 
= 0 ; 
14128   PyObject 
* obj1 
= 0 ; 
14129   PyObject 
* obj2 
= 0 ; 
14130   PyObject 
* obj3 
= 0 ; 
14131   char *  kwnames
[] = { 
14132     (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL 
 
14135   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
14136   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14137   if (!SWIG_IsOK(res1
)) { 
14138     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetAttr" "', expected argument " "1"" of type '" "wxGrid *""'");  
14140   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14141   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14142   if (!SWIG_IsOK(ecode2
)) { 
14143     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetAttr" "', expected argument " "2"" of type '" "int""'"); 
14145   arg2 
= static_cast< int >(val2
); 
14146   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14147   if (!SWIG_IsOK(ecode3
)) { 
14148     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetAttr" "', expected argument " "3"" of type '" "int""'"); 
14150   arg3 
= static_cast< int >(val3
); 
14151   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
14152   if (!SWIG_IsOK(res4
)) { 
14153     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr *""'");  
14155   arg4 
= reinterpret_cast< wxGridCellAttr 
* >(argp4
); 
14157     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14158     (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
14159     wxPyEndAllowThreads(__tstate
); 
14160     if (PyErr_Occurred()) SWIG_fail
; 
14162   resultobj 
= SWIG_Py_Void(); 
14169 SWIGINTERN PyObject 
*_wrap_Grid_SetRowAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14170   PyObject 
*resultobj 
= 0; 
14171   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14173   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
14180   PyObject 
* obj0 
= 0 ; 
14181   PyObject 
* obj1 
= 0 ; 
14182   PyObject 
* obj2 
= 0 ; 
14183   char *  kwnames
[] = { 
14184     (char *) "self",(char *) "row",(char *) "attr", NULL 
 
14187   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14188   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14189   if (!SWIG_IsOK(res1
)) { 
14190     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowAttr" "', expected argument " "1"" of type '" "wxGrid *""'");  
14192   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14193   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14194   if (!SWIG_IsOK(ecode2
)) { 
14195     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowAttr" "', expected argument " "2"" of type '" "int""'"); 
14197   arg2 
= static_cast< int >(val2
); 
14198   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
14199   if (!SWIG_IsOK(res3
)) { 
14200     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetRowAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");  
14202   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
14204     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14205     (arg1
)->SetRowAttr(arg2
,arg3
); 
14206     wxPyEndAllowThreads(__tstate
); 
14207     if (PyErr_Occurred()) SWIG_fail
; 
14209   resultobj 
= SWIG_Py_Void(); 
14216 SWIGINTERN PyObject 
*_wrap_Grid_SetColAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14217   PyObject 
*resultobj 
= 0; 
14218   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14220   wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
14227   PyObject 
* obj0 
= 0 ; 
14228   PyObject 
* obj1 
= 0 ; 
14229   PyObject 
* obj2 
= 0 ; 
14230   char *  kwnames
[] = { 
14231     (char *) "self",(char *) "col",(char *) "attr", NULL 
 
14234   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14235   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14236   if (!SWIG_IsOK(res1
)) { 
14237     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColAttr" "', expected argument " "1"" of type '" "wxGrid *""'");  
14239   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14240   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14241   if (!SWIG_IsOK(ecode2
)) { 
14242     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColAttr" "', expected argument " "2"" of type '" "int""'"); 
14244   arg2 
= static_cast< int >(val2
); 
14245   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 |  0 ); 
14246   if (!SWIG_IsOK(res3
)) { 
14247     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetColAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");  
14249   arg3 
= reinterpret_cast< wxGridCellAttr 
* >(argp3
); 
14251     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14252     (arg1
)->SetColAttr(arg2
,arg3
); 
14253     wxPyEndAllowThreads(__tstate
); 
14254     if (PyErr_Occurred()) SWIG_fail
; 
14256   resultobj 
= SWIG_Py_Void(); 
14263 SWIGINTERN PyObject 
*_wrap_Grid_GetOrCreateCellAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14264   PyObject 
*resultobj 
= 0; 
14265   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14268   wxGridCellAttr 
*result 
= 0 ; 
14275   PyObject 
* obj0 
= 0 ; 
14276   PyObject 
* obj1 
= 0 ; 
14277   PyObject 
* obj2 
= 0 ; 
14278   char *  kwnames
[] = { 
14279     (char *) "self",(char *) "row",(char *) "col", NULL 
 
14282   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14283   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14284   if (!SWIG_IsOK(res1
)) { 
14285     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "1"" of type '" "wxGrid const *""'");  
14287   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14288   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14289   if (!SWIG_IsOK(ecode2
)) { 
14290     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "2"" of type '" "int""'"); 
14292   arg2 
= static_cast< int >(val2
); 
14293   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14294   if (!SWIG_IsOK(ecode3
)) { 
14295     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "3"" of type '" "int""'"); 
14297   arg3 
= static_cast< int >(val3
); 
14299     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14300     result 
= (wxGridCellAttr 
*)((wxGrid 
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
); 
14301     wxPyEndAllowThreads(__tstate
); 
14302     if (PyErr_Occurred()) SWIG_fail
; 
14305     resultobj 
= wxPyMake_wxGridCellAttr(result
,     (bool)0);  
14313 SWIGINTERN PyObject 
*_wrap_Grid_SetColFormatBool(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14314   PyObject 
*resultobj 
= 0; 
14315   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14321   PyObject 
* obj0 
= 0 ; 
14322   PyObject 
* obj1 
= 0 ; 
14323   char *  kwnames
[] = { 
14324     (char *) "self",(char *) "col", NULL 
 
14327   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14328   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14329   if (!SWIG_IsOK(res1
)) { 
14330     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatBool" "', expected argument " "1"" of type '" "wxGrid *""'");  
14332   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14333   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14334   if (!SWIG_IsOK(ecode2
)) { 
14335     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatBool" "', expected argument " "2"" of type '" "int""'"); 
14337   arg2 
= static_cast< int >(val2
); 
14339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14340     (arg1
)->SetColFormatBool(arg2
); 
14341     wxPyEndAllowThreads(__tstate
); 
14342     if (PyErr_Occurred()) SWIG_fail
; 
14344   resultobj 
= SWIG_Py_Void(); 
14351 SWIGINTERN PyObject 
*_wrap_Grid_SetColFormatNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14352   PyObject 
*resultobj 
= 0; 
14353   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14359   PyObject 
* obj0 
= 0 ; 
14360   PyObject 
* obj1 
= 0 ; 
14361   char *  kwnames
[] = { 
14362     (char *) "self",(char *) "col", NULL 
 
14365   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14366   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14367   if (!SWIG_IsOK(res1
)) { 
14368     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "1"" of type '" "wxGrid *""'");  
14370   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14371   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14372   if (!SWIG_IsOK(ecode2
)) { 
14373     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "2"" of type '" "int""'"); 
14375   arg2 
= static_cast< int >(val2
); 
14377     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14378     (arg1
)->SetColFormatNumber(arg2
); 
14379     wxPyEndAllowThreads(__tstate
); 
14380     if (PyErr_Occurred()) SWIG_fail
; 
14382   resultobj 
= SWIG_Py_Void(); 
14389 SWIGINTERN PyObject 
*_wrap_Grid_SetColFormatFloat(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14390   PyObject 
*resultobj 
= 0; 
14391   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14393   int arg3 
= (int) -1 ; 
14394   int arg4 
= (int) -1 ; 
14403   PyObject 
* obj0 
= 0 ; 
14404   PyObject 
* obj1 
= 0 ; 
14405   PyObject 
* obj2 
= 0 ; 
14406   PyObject 
* obj3 
= 0 ; 
14407   char *  kwnames
[] = { 
14408     (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL 
 
14411   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
14412   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14413   if (!SWIG_IsOK(res1
)) { 
14414     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "1"" of type '" "wxGrid *""'");  
14416   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14417   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14418   if (!SWIG_IsOK(ecode2
)) { 
14419     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "2"" of type '" "int""'"); 
14421   arg2 
= static_cast< int >(val2
); 
14423     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14424     if (!SWIG_IsOK(ecode3
)) { 
14425       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "3"" of type '" "int""'"); 
14427     arg3 
= static_cast< int >(val3
); 
14430     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
14431     if (!SWIG_IsOK(ecode4
)) { 
14432       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "4"" of type '" "int""'"); 
14434     arg4 
= static_cast< int >(val4
); 
14437     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14438     (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
); 
14439     wxPyEndAllowThreads(__tstate
); 
14440     if (PyErr_Occurred()) SWIG_fail
; 
14442   resultobj 
= SWIG_Py_Void(); 
14449 SWIGINTERN PyObject 
*_wrap_Grid_SetColFormatCustom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14450   PyObject 
*resultobj 
= 0; 
14451   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14453   wxString 
*arg3 
= 0 ; 
14458   bool temp3 
= false ; 
14459   PyObject 
* obj0 
= 0 ; 
14460   PyObject 
* obj1 
= 0 ; 
14461   PyObject 
* obj2 
= 0 ; 
14462   char *  kwnames
[] = { 
14463     (char *) "self",(char *) "col",(char *) "typeName", NULL 
 
14466   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14467   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14468   if (!SWIG_IsOK(res1
)) { 
14469     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "1"" of type '" "wxGrid *""'");  
14471   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14472   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14473   if (!SWIG_IsOK(ecode2
)) { 
14474     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "2"" of type '" "int""'"); 
14476   arg2 
= static_cast< int >(val2
); 
14478     arg3 
= wxString_in_helper(obj2
); 
14479     if (arg3 
== NULL
) SWIG_fail
; 
14483     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14484     (arg1
)->SetColFormatCustom(arg2
,(wxString 
const &)*arg3
); 
14485     wxPyEndAllowThreads(__tstate
); 
14486     if (PyErr_Occurred()) SWIG_fail
; 
14488   resultobj 
= SWIG_Py_Void(); 
14503 SWIGINTERN PyObject 
*_wrap_Grid_EnableGridLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14504   PyObject 
*resultobj 
= 0; 
14505   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14506   bool arg2 
= (bool) true ; 
14511   PyObject 
* obj0 
= 0 ; 
14512   PyObject 
* obj1 
= 0 ; 
14513   char *  kwnames
[] = { 
14514     (char *) "self",(char *) "enable", NULL 
 
14517   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14518   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14519   if (!SWIG_IsOK(res1
)) { 
14520     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableGridLines" "', expected argument " "1"" of type '" "wxGrid *""'");  
14522   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14524     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
14525     if (!SWIG_IsOK(ecode2
)) { 
14526       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableGridLines" "', expected argument " "2"" of type '" "bool""'"); 
14528     arg2 
= static_cast< bool >(val2
); 
14531     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14532     (arg1
)->EnableGridLines(arg2
); 
14533     wxPyEndAllowThreads(__tstate
); 
14534     if (PyErr_Occurred()) SWIG_fail
; 
14536   resultobj 
= SWIG_Py_Void(); 
14543 SWIGINTERN PyObject 
*_wrap_Grid_GridLinesEnabled(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14544   PyObject 
*resultobj 
= 0; 
14545   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14549   PyObject 
*swig_obj
[1] ; 
14551   if (!args
) SWIG_fail
; 
14552   swig_obj
[0] = args
; 
14553   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14554   if (!SWIG_IsOK(res1
)) { 
14555     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GridLinesEnabled" "', expected argument " "1"" of type '" "wxGrid *""'");  
14557   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14560     result 
= (bool)(arg1
)->GridLinesEnabled(); 
14561     wxPyEndAllowThreads(__tstate
); 
14562     if (PyErr_Occurred()) SWIG_fail
; 
14565     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14573 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14574   PyObject 
*resultobj 
= 0; 
14575   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14579   PyObject 
*swig_obj
[1] ; 
14581   if (!args
) SWIG_fail
; 
14582   swig_obj
[0] = args
; 
14583   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14584   if (!SWIG_IsOK(res1
)) { 
14585     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14587   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14589     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14590     result 
= (int)(arg1
)->GetDefaultRowSize(); 
14591     wxPyEndAllowThreads(__tstate
); 
14592     if (PyErr_Occurred()) SWIG_fail
; 
14594   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14601 SWIGINTERN PyObject 
*_wrap_Grid_GetRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14602   PyObject 
*resultobj 
= 0; 
14603   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14610   PyObject 
* obj0 
= 0 ; 
14611   PyObject 
* obj1 
= 0 ; 
14612   char *  kwnames
[] = { 
14613     (char *) "self",(char *) "row", NULL 
 
14616   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14617   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14618   if (!SWIG_IsOK(res1
)) { 
14619     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14621   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14622   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14623   if (!SWIG_IsOK(ecode2
)) { 
14624     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowSize" "', expected argument " "2"" of type '" "int""'"); 
14626   arg2 
= static_cast< int >(val2
); 
14628     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14629     result 
= (int)(arg1
)->GetRowSize(arg2
); 
14630     wxPyEndAllowThreads(__tstate
); 
14631     if (PyErr_Occurred()) SWIG_fail
; 
14633   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14640 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14641   PyObject 
*resultobj 
= 0; 
14642   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14646   PyObject 
*swig_obj
[1] ; 
14648   if (!args
) SWIG_fail
; 
14649   swig_obj
[0] = args
; 
14650   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14651   if (!SWIG_IsOK(res1
)) { 
14652     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14654   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14656     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14657     result 
= (int)(arg1
)->GetDefaultColSize(); 
14658     wxPyEndAllowThreads(__tstate
); 
14659     if (PyErr_Occurred()) SWIG_fail
; 
14661   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14668 SWIGINTERN PyObject 
*_wrap_Grid_GetColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14669   PyObject 
*resultobj 
= 0; 
14670   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14677   PyObject 
* obj0 
= 0 ; 
14678   PyObject 
* obj1 
= 0 ; 
14679   char *  kwnames
[] = { 
14680     (char *) "self",(char *) "col", NULL 
 
14683   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14684   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14685   if (!SWIG_IsOK(res1
)) { 
14686     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
14688   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14689   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14690   if (!SWIG_IsOK(ecode2
)) { 
14691     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColSize" "', expected argument " "2"" of type '" "int""'"); 
14693   arg2 
= static_cast< int >(val2
); 
14695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14696     result 
= (int)(arg1
)->GetColSize(arg2
); 
14697     wxPyEndAllowThreads(__tstate
); 
14698     if (PyErr_Occurred()) SWIG_fail
; 
14700   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14707 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14708   PyObject 
*resultobj 
= 0; 
14709   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14713   PyObject 
*swig_obj
[1] ; 
14715   if (!args
) SWIG_fail
; 
14716   swig_obj
[0] = args
; 
14717   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14718   if (!SWIG_IsOK(res1
)) { 
14719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
14721   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14723     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14724     result 
= (arg1
)->GetDefaultCellBackgroundColour(); 
14725     wxPyEndAllowThreads(__tstate
); 
14726     if (PyErr_Occurred()) SWIG_fail
; 
14728   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
14735 SWIGINTERN PyObject 
*_wrap_Grid_GetCellBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14736   PyObject 
*resultobj 
= 0; 
14737   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14747   PyObject 
* obj0 
= 0 ; 
14748   PyObject 
* obj1 
= 0 ; 
14749   PyObject 
* obj2 
= 0 ; 
14750   char *  kwnames
[] = { 
14751     (char *) "self",(char *) "row",(char *) "col", NULL 
 
14754   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14755   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14756   if (!SWIG_IsOK(res1
)) { 
14757     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
14759   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14760   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14761   if (!SWIG_IsOK(ecode2
)) { 
14762     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'"); 
14764   arg2 
= static_cast< int >(val2
); 
14765   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14766   if (!SWIG_IsOK(ecode3
)) { 
14767     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'"); 
14769   arg3 
= static_cast< int >(val3
); 
14771     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14772     result 
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
); 
14773     wxPyEndAllowThreads(__tstate
); 
14774     if (PyErr_Occurred()) SWIG_fail
; 
14776   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
14783 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14784   PyObject 
*resultobj 
= 0; 
14785   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14789   PyObject 
*swig_obj
[1] ; 
14791   if (!args
) SWIG_fail
; 
14792   swig_obj
[0] = args
; 
14793   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14794   if (!SWIG_IsOK(res1
)) { 
14795     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
14797   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14800     result 
= (arg1
)->GetDefaultCellTextColour(); 
14801     wxPyEndAllowThreads(__tstate
); 
14802     if (PyErr_Occurred()) SWIG_fail
; 
14804   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
14811 SWIGINTERN PyObject 
*_wrap_Grid_GetCellTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14812   PyObject 
*resultobj 
= 0; 
14813   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14823   PyObject 
* obj0 
= 0 ; 
14824   PyObject 
* obj1 
= 0 ; 
14825   PyObject 
* obj2 
= 0 ; 
14826   char *  kwnames
[] = { 
14827     (char *) "self",(char *) "row",(char *) "col", NULL 
 
14830   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14831   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14832   if (!SWIG_IsOK(res1
)) { 
14833     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
14835   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14836   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14837   if (!SWIG_IsOK(ecode2
)) { 
14838     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellTextColour" "', expected argument " "2"" of type '" "int""'"); 
14840   arg2 
= static_cast< int >(val2
); 
14841   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14842   if (!SWIG_IsOK(ecode3
)) { 
14843     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellTextColour" "', expected argument " "3"" of type '" "int""'"); 
14845   arg3 
= static_cast< int >(val3
); 
14847     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14848     result 
= (arg1
)->GetCellTextColour(arg2
,arg3
); 
14849     wxPyEndAllowThreads(__tstate
); 
14850     if (PyErr_Occurred()) SWIG_fail
; 
14852   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
14859 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14860   PyObject 
*resultobj 
= 0; 
14861   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14865   PyObject 
*swig_obj
[1] ; 
14867   if (!args
) SWIG_fail
; 
14868   swig_obj
[0] = args
; 
14869   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14870   if (!SWIG_IsOK(res1
)) { 
14871     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
14873   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14875     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14876     result 
= (arg1
)->GetDefaultCellFont(); 
14877     wxPyEndAllowThreads(__tstate
); 
14878     if (PyErr_Occurred()) SWIG_fail
; 
14880   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
14887 SWIGINTERN PyObject 
*_wrap_Grid_GetCellFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14888   PyObject 
*resultobj 
= 0; 
14889   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14899   PyObject 
* obj0 
= 0 ; 
14900   PyObject 
* obj1 
= 0 ; 
14901   PyObject 
* obj2 
= 0 ; 
14902   char *  kwnames
[] = { 
14903     (char *) "self",(char *) "row",(char *) "col", NULL 
 
14906   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14907   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14908   if (!SWIG_IsOK(res1
)) { 
14909     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
14911   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14912   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14913   if (!SWIG_IsOK(ecode2
)) { 
14914     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellFont" "', expected argument " "2"" of type '" "int""'"); 
14916   arg2 
= static_cast< int >(val2
); 
14917   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14918   if (!SWIG_IsOK(ecode3
)) { 
14919     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellFont" "', expected argument " "3"" of type '" "int""'"); 
14921   arg3 
= static_cast< int >(val3
); 
14923     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14924     result 
= (arg1
)->GetCellFont(arg2
,arg3
); 
14925     wxPyEndAllowThreads(__tstate
); 
14926     if (PyErr_Occurred()) SWIG_fail
; 
14928   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
14935 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14936   PyObject 
*resultobj 
= 0; 
14937   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14938   int *arg2 
= (int *) 0 ; 
14939   int *arg3 
= (int *) 0 ; 
14943   int res2 
= SWIG_TMPOBJ 
; 
14945   int res3 
= SWIG_TMPOBJ 
; 
14946   PyObject 
*swig_obj
[1] ; 
14950   if (!args
) SWIG_fail
; 
14951   swig_obj
[0] = args
; 
14952   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
14953   if (!SWIG_IsOK(res1
)) { 
14954     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
14956   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
14958     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14959     (arg1
)->GetDefaultCellAlignment(arg2
,arg3
); 
14960     wxPyEndAllowThreads(__tstate
); 
14961     if (PyErr_Occurred()) SWIG_fail
; 
14963   resultobj 
= SWIG_Py_Void(); 
14964   if (SWIG_IsTmpObj(res2
)) { 
14965     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
14967     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
14968     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
14970   if (SWIG_IsTmpObj(res3
)) { 
14971     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
14973     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
14974     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
14982 SWIGINTERN PyObject 
*_wrap_Grid_GetCellAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14983   PyObject 
*resultobj 
= 0; 
14984   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14987   int *arg4 
= (int *) 0 ; 
14988   int *arg5 
= (int *) 0 ; 
14996   int res4 
= SWIG_TMPOBJ 
; 
14998   int res5 
= SWIG_TMPOBJ 
; 
14999   PyObject 
* obj0 
= 0 ; 
15000   PyObject 
* obj1 
= 0 ; 
15001   PyObject 
* obj2 
= 0 ; 
15002   char *  kwnames
[] = { 
15003     (char *) "self",(char *) "row",(char *) "col", NULL 
 
15008   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15009   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15010   if (!SWIG_IsOK(res1
)) { 
15011     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
15013   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15014   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15015   if (!SWIG_IsOK(ecode2
)) { 
15016     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellAlignment" "', expected argument " "2"" of type '" "int""'"); 
15018   arg2 
= static_cast< int >(val2
); 
15019   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15020   if (!SWIG_IsOK(ecode3
)) { 
15021     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellAlignment" "', expected argument " "3"" of type '" "int""'"); 
15023   arg3 
= static_cast< int >(val3
); 
15025     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15026     (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
); 
15027     wxPyEndAllowThreads(__tstate
); 
15028     if (PyErr_Occurred()) SWIG_fail
; 
15030   resultobj 
= SWIG_Py_Void(); 
15031   if (SWIG_IsTmpObj(res4
)) { 
15032     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
15034     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15035     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
15037   if (SWIG_IsTmpObj(res5
)) { 
15038     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
15040     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15041     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
15049 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultCellOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15050   PyObject 
*resultobj 
= 0; 
15051   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15055   PyObject 
*swig_obj
[1] ; 
15057   if (!args
) SWIG_fail
; 
15058   swig_obj
[0] = args
; 
15059   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15060   if (!SWIG_IsOK(res1
)) { 
15061     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");  
15063   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15065     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15066     result 
= (bool)(arg1
)->GetDefaultCellOverflow(); 
15067     wxPyEndAllowThreads(__tstate
); 
15068     if (PyErr_Occurred()) SWIG_fail
; 
15071     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15079 SWIGINTERN PyObject 
*_wrap_Grid_GetCellOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15080   PyObject 
*resultobj 
= 0; 
15081   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15091   PyObject 
* obj0 
= 0 ; 
15092   PyObject 
* obj1 
= 0 ; 
15093   PyObject 
* obj2 
= 0 ; 
15094   char *  kwnames
[] = { 
15095     (char *) "self",(char *) "row",(char *) "col", NULL 
 
15098   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15099   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15100   if (!SWIG_IsOK(res1
)) { 
15101     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");  
15103   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15104   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15105   if (!SWIG_IsOK(ecode2
)) { 
15106     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellOverflow" "', expected argument " "2"" of type '" "int""'"); 
15108   arg2 
= static_cast< int >(val2
); 
15109   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15110   if (!SWIG_IsOK(ecode3
)) { 
15111     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellOverflow" "', expected argument " "3"" of type '" "int""'"); 
15113   arg3 
= static_cast< int >(val3
); 
15115     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15116     result 
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
); 
15117     wxPyEndAllowThreads(__tstate
); 
15118     if (PyErr_Occurred()) SWIG_fail
; 
15121     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15129 SWIGINTERN PyObject 
*_wrap_Grid_GetCellSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15130   PyObject 
*resultobj 
= 0; 
15131   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15134   int *arg4 
= (int *) 0 ; 
15135   int *arg5 
= (int *) 0 ; 
15143   int res4 
= SWIG_TMPOBJ 
; 
15145   int res5 
= SWIG_TMPOBJ 
; 
15146   PyObject 
* obj0 
= 0 ; 
15147   PyObject 
* obj1 
= 0 ; 
15148   PyObject 
* obj2 
= 0 ; 
15149   char *  kwnames
[] = { 
15150     (char *) "self",(char *) "row",(char *) "col", NULL 
 
15155   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15156   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15157   if (!SWIG_IsOK(res1
)) { 
15158     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15160   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15161   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15162   if (!SWIG_IsOK(ecode2
)) { 
15163     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellSize" "', expected argument " "2"" of type '" "int""'"); 
15165   arg2 
= static_cast< int >(val2
); 
15166   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15167   if (!SWIG_IsOK(ecode3
)) { 
15168     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellSize" "', expected argument " "3"" of type '" "int""'"); 
15170   arg3 
= static_cast< int >(val3
); 
15172     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15173     (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
); 
15174     wxPyEndAllowThreads(__tstate
); 
15175     if (PyErr_Occurred()) SWIG_fail
; 
15177   resultobj 
= SWIG_Py_Void(); 
15178   if (SWIG_IsTmpObj(res4
)) { 
15179     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
15181     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15182     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
15184   if (SWIG_IsTmpObj(res5
)) { 
15185     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
15187     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
15188     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
15196 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15197   PyObject 
*resultobj 
= 0; 
15198   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15200   bool arg3 
= (bool) false ; 
15207   PyObject 
* obj0 
= 0 ; 
15208   PyObject 
* obj1 
= 0 ; 
15209   PyObject 
* obj2 
= 0 ; 
15210   char *  kwnames
[] = { 
15211     (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL 
 
15214   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15215   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15216   if (!SWIG_IsOK(res1
)) { 
15217     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15219   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15220   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15221   if (!SWIG_IsOK(ecode2
)) { 
15222     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "2"" of type '" "int""'"); 
15224   arg2 
= static_cast< int >(val2
); 
15226     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
15227     if (!SWIG_IsOK(ecode3
)) { 
15228       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "3"" of type '" "bool""'"); 
15230     arg3 
= static_cast< bool >(val3
); 
15233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15234     (arg1
)->SetDefaultRowSize(arg2
,arg3
); 
15235     wxPyEndAllowThreads(__tstate
); 
15236     if (PyErr_Occurred()) SWIG_fail
; 
15238   resultobj 
= SWIG_Py_Void(); 
15245 SWIGINTERN PyObject 
*_wrap_Grid_SetRowSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15246   PyObject 
*resultobj 
= 0; 
15247   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15256   PyObject 
* obj0 
= 0 ; 
15257   PyObject 
* obj1 
= 0 ; 
15258   PyObject 
* obj2 
= 0 ; 
15259   char *  kwnames
[] = { 
15260     (char *) "self",(char *) "row",(char *) "height", NULL 
 
15263   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15264   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15265   if (!SWIG_IsOK(res1
)) { 
15266     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15268   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15269   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15270   if (!SWIG_IsOK(ecode2
)) { 
15271     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowSize" "', expected argument " "2"" of type '" "int""'"); 
15273   arg2 
= static_cast< int >(val2
); 
15274   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15275   if (!SWIG_IsOK(ecode3
)) { 
15276     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowSize" "', expected argument " "3"" of type '" "int""'"); 
15278   arg3 
= static_cast< int >(val3
); 
15280     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15281     (arg1
)->SetRowSize(arg2
,arg3
); 
15282     wxPyEndAllowThreads(__tstate
); 
15283     if (PyErr_Occurred()) SWIG_fail
; 
15285   resultobj 
= SWIG_Py_Void(); 
15292 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15293   PyObject 
*resultobj 
= 0; 
15294   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15296   bool arg3 
= (bool) false ; 
15303   PyObject 
* obj0 
= 0 ; 
15304   PyObject 
* obj1 
= 0 ; 
15305   PyObject 
* obj2 
= 0 ; 
15306   char *  kwnames
[] = { 
15307     (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL 
 
15310   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15311   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15312   if (!SWIG_IsOK(res1
)) { 
15313     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15315   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15316   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15317   if (!SWIG_IsOK(ecode2
)) { 
15318     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "2"" of type '" "int""'"); 
15320   arg2 
= static_cast< int >(val2
); 
15322     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
15323     if (!SWIG_IsOK(ecode3
)) { 
15324       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "3"" of type '" "bool""'"); 
15326     arg3 
= static_cast< bool >(val3
); 
15329     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15330     (arg1
)->SetDefaultColSize(arg2
,arg3
); 
15331     wxPyEndAllowThreads(__tstate
); 
15332     if (PyErr_Occurred()) SWIG_fail
; 
15334   resultobj 
= SWIG_Py_Void(); 
15341 SWIGINTERN PyObject 
*_wrap_Grid_SetColSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15342   PyObject 
*resultobj 
= 0; 
15343   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15352   PyObject 
* obj0 
= 0 ; 
15353   PyObject 
* obj1 
= 0 ; 
15354   PyObject 
* obj2 
= 0 ; 
15355   char *  kwnames
[] = { 
15356     (char *) "self",(char *) "col",(char *) "width", NULL 
 
15359   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15360   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15361   if (!SWIG_IsOK(res1
)) { 
15362     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15364   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15365   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15366   if (!SWIG_IsOK(ecode2
)) { 
15367     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColSize" "', expected argument " "2"" of type '" "int""'"); 
15369   arg2 
= static_cast< int >(val2
); 
15370   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15371   if (!SWIG_IsOK(ecode3
)) { 
15372     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColSize" "', expected argument " "3"" of type '" "int""'"); 
15374   arg3 
= static_cast< int >(val3
); 
15376     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15377     (arg1
)->SetColSize(arg2
,arg3
); 
15378     wxPyEndAllowThreads(__tstate
); 
15379     if (PyErr_Occurred()) SWIG_fail
; 
15381   resultobj 
= SWIG_Py_Void(); 
15388 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeColumn(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15389   PyObject 
*resultobj 
= 0; 
15390   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15392   bool arg3 
= (bool) true ; 
15399   PyObject 
* obj0 
= 0 ; 
15400   PyObject 
* obj1 
= 0 ; 
15401   PyObject 
* obj2 
= 0 ; 
15402   char *  kwnames
[] = { 
15403     (char *) "self",(char *) "col",(char *) "setAsMin", NULL 
 
15406   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15407   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15408   if (!SWIG_IsOK(res1
)) { 
15409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "1"" of type '" "wxGrid *""'");  
15411   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15412   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15413   if (!SWIG_IsOK(ecode2
)) { 
15414     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "2"" of type '" "int""'"); 
15416   arg2 
= static_cast< int >(val2
); 
15418     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
15419     if (!SWIG_IsOK(ecode3
)) { 
15420       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "3"" of type '" "bool""'"); 
15422     arg3 
= static_cast< bool >(val3
); 
15425     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15426     (arg1
)->AutoSizeColumn(arg2
,arg3
); 
15427     wxPyEndAllowThreads(__tstate
); 
15428     if (PyErr_Occurred()) SWIG_fail
; 
15430   resultobj 
= SWIG_Py_Void(); 
15437 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15438   PyObject 
*resultobj 
= 0; 
15439   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15441   bool arg3 
= (bool) true ; 
15448   PyObject 
* obj0 
= 0 ; 
15449   PyObject 
* obj1 
= 0 ; 
15450   PyObject 
* obj2 
= 0 ; 
15451   char *  kwnames
[] = { 
15452     (char *) "self",(char *) "row",(char *) "setAsMin", NULL 
 
15455   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15456   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15457   if (!SWIG_IsOK(res1
)) { 
15458     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
15460   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15461   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15462   if (!SWIG_IsOK(ecode2
)) { 
15463     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRow" "', expected argument " "2"" of type '" "int""'"); 
15465   arg2 
= static_cast< int >(val2
); 
15467     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
15468     if (!SWIG_IsOK(ecode3
)) { 
15469       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeRow" "', expected argument " "3"" of type '" "bool""'"); 
15471     arg3 
= static_cast< bool >(val3
); 
15474     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15475     (arg1
)->AutoSizeRow(arg2
,arg3
); 
15476     wxPyEndAllowThreads(__tstate
); 
15477     if (PyErr_Occurred()) SWIG_fail
; 
15479   resultobj 
= SWIG_Py_Void(); 
15486 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeColumns(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15487   PyObject 
*resultobj 
= 0; 
15488   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15489   bool arg2 
= (bool) true ; 
15494   PyObject 
* obj0 
= 0 ; 
15495   PyObject 
* obj1 
= 0 ; 
15496   char *  kwnames
[] = { 
15497     (char *) "self",(char *) "setAsMin", NULL 
 
15500   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15501   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15502   if (!SWIG_IsOK(res1
)) { 
15503     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "1"" of type '" "wxGrid *""'");  
15505   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15507     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
15508     if (!SWIG_IsOK(ecode2
)) { 
15509       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "2"" of type '" "bool""'"); 
15511     arg2 
= static_cast< bool >(val2
); 
15514     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15515     (arg1
)->AutoSizeColumns(arg2
); 
15516     wxPyEndAllowThreads(__tstate
); 
15517     if (PyErr_Occurred()) SWIG_fail
; 
15519   resultobj 
= SWIG_Py_Void(); 
15526 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15527   PyObject 
*resultobj 
= 0; 
15528   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15529   bool arg2 
= (bool) true ; 
15534   PyObject 
* obj0 
= 0 ; 
15535   PyObject 
* obj1 
= 0 ; 
15536   char *  kwnames
[] = { 
15537     (char *) "self",(char *) "setAsMin", NULL 
 
15540   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15541   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15542   if (!SWIG_IsOK(res1
)) { 
15543     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRows" "', expected argument " "1"" of type '" "wxGrid *""'");  
15545   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15547     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
15548     if (!SWIG_IsOK(ecode2
)) { 
15549       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRows" "', expected argument " "2"" of type '" "bool""'"); 
15551     arg2 
= static_cast< bool >(val2
); 
15554     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15555     (arg1
)->AutoSizeRows(arg2
); 
15556     wxPyEndAllowThreads(__tstate
); 
15557     if (PyErr_Occurred()) SWIG_fail
; 
15559   resultobj 
= SWIG_Py_Void(); 
15566 SWIGINTERN PyObject 
*_wrap_Grid_AutoSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15567   PyObject 
*resultobj 
= 0; 
15568   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15571   PyObject 
*swig_obj
[1] ; 
15573   if (!args
) SWIG_fail
; 
15574   swig_obj
[0] = args
; 
15575   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15576   if (!SWIG_IsOK(res1
)) { 
15577     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15579   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15581     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15582     (arg1
)->AutoSize(); 
15583     wxPyEndAllowThreads(__tstate
); 
15584     if (PyErr_Occurred()) SWIG_fail
; 
15586   resultobj 
= SWIG_Py_Void(); 
15593 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeRowLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15594   PyObject 
*resultobj 
= 0; 
15595   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15601   PyObject 
* obj0 
= 0 ; 
15602   PyObject 
* obj1 
= 0 ; 
15603   char *  kwnames
[] = { 
15604     (char *) "self",(char *) "row", NULL 
 
15607   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15608   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15609   if (!SWIG_IsOK(res1
)) { 
15610     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15612   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15613   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15614   if (!SWIG_IsOK(ecode2
)) { 
15615     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "2"" of type '" "int""'"); 
15617   arg2 
= static_cast< int >(val2
); 
15619     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15620     (arg1
)->AutoSizeRowLabelSize(arg2
); 
15621     wxPyEndAllowThreads(__tstate
); 
15622     if (PyErr_Occurred()) SWIG_fail
; 
15624   resultobj 
= SWIG_Py_Void(); 
15631 SWIGINTERN PyObject 
*_wrap_Grid_AutoSizeColLabelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15632   PyObject 
*resultobj 
= 0; 
15633   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15639   PyObject 
* obj0 
= 0 ; 
15640   PyObject 
* obj1 
= 0 ; 
15641   char *  kwnames
[] = { 
15642     (char *) "self",(char *) "col", NULL 
 
15645   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15646   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15647   if (!SWIG_IsOK(res1
)) { 
15648     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
15650   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15651   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15652   if (!SWIG_IsOK(ecode2
)) { 
15653     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "2"" of type '" "int""'"); 
15655   arg2 
= static_cast< int >(val2
); 
15657     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15658     (arg1
)->AutoSizeColLabelSize(arg2
); 
15659     wxPyEndAllowThreads(__tstate
); 
15660     if (PyErr_Occurred()) SWIG_fail
; 
15662   resultobj 
= SWIG_Py_Void(); 
15669 SWIGINTERN PyObject 
*_wrap_Grid_SetColMinimalWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15670   PyObject 
*resultobj 
= 0; 
15671   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15680   PyObject 
* obj0 
= 0 ; 
15681   PyObject 
* obj1 
= 0 ; 
15682   PyObject 
* obj2 
= 0 ; 
15683   char *  kwnames
[] = { 
15684     (char *) "self",(char *) "col",(char *) "width", NULL 
 
15687   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15688   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15689   if (!SWIG_IsOK(res1
)) { 
15690     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
15692   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15693   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15694   if (!SWIG_IsOK(ecode2
)) { 
15695     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "2"" of type '" "int""'"); 
15697   arg2 
= static_cast< int >(val2
); 
15698   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15699   if (!SWIG_IsOK(ecode3
)) { 
15700     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "3"" of type '" "int""'"); 
15702   arg3 
= static_cast< int >(val3
); 
15704     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15705     (arg1
)->SetColMinimalWidth(arg2
,arg3
); 
15706     wxPyEndAllowThreads(__tstate
); 
15707     if (PyErr_Occurred()) SWIG_fail
; 
15709   resultobj 
= SWIG_Py_Void(); 
15716 SWIGINTERN PyObject 
*_wrap_Grid_SetRowMinimalHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15717   PyObject 
*resultobj 
= 0; 
15718   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15727   PyObject 
* obj0 
= 0 ; 
15728   PyObject 
* obj1 
= 0 ; 
15729   PyObject 
* obj2 
= 0 ; 
15730   char *  kwnames
[] = { 
15731     (char *) "self",(char *) "row",(char *) "width", NULL 
 
15734   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15735   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15736   if (!SWIG_IsOK(res1
)) { 
15737     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "1"" of type '" "wxGrid *""'");  
15739   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15740   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15741   if (!SWIG_IsOK(ecode2
)) { 
15742     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "2"" of type '" "int""'"); 
15744   arg2 
= static_cast< int >(val2
); 
15745   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15746   if (!SWIG_IsOK(ecode3
)) { 
15747     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "3"" of type '" "int""'"); 
15749   arg3 
= static_cast< int >(val3
); 
15751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15752     (arg1
)->SetRowMinimalHeight(arg2
,arg3
); 
15753     wxPyEndAllowThreads(__tstate
); 
15754     if (PyErr_Occurred()) SWIG_fail
; 
15756   resultobj 
= SWIG_Py_Void(); 
15763 SWIGINTERN PyObject 
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15764   PyObject 
*resultobj 
= 0; 
15765   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15771   PyObject 
* obj0 
= 0 ; 
15772   PyObject 
* obj1 
= 0 ; 
15773   char *  kwnames
[] = { 
15774     (char *) "self",(char *) "width", NULL 
 
15777   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15778   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15779   if (!SWIG_IsOK(res1
)) { 
15780     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid *""'");  
15782   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15783   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15784   if (!SWIG_IsOK(ecode2
)) { 
15785     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "2"" of type '" "int""'"); 
15787   arg2 
= static_cast< int >(val2
); 
15789     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15790     (arg1
)->SetColMinimalAcceptableWidth(arg2
); 
15791     wxPyEndAllowThreads(__tstate
); 
15792     if (PyErr_Occurred()) SWIG_fail
; 
15794   resultobj 
= SWIG_Py_Void(); 
15801 SWIGINTERN PyObject 
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15802   PyObject 
*resultobj 
= 0; 
15803   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15809   PyObject 
* obj0 
= 0 ; 
15810   PyObject 
* obj1 
= 0 ; 
15811   char *  kwnames
[] = { 
15812     (char *) "self",(char *) "width", NULL 
 
15815   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15816   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15817   if (!SWIG_IsOK(res1
)) { 
15818     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid *""'");  
15820   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15821   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15822   if (!SWIG_IsOK(ecode2
)) { 
15823     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "2"" of type '" "int""'"); 
15825   arg2 
= static_cast< int >(val2
); 
15827     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15828     (arg1
)->SetRowMinimalAcceptableHeight(arg2
); 
15829     wxPyEndAllowThreads(__tstate
); 
15830     if (PyErr_Occurred()) SWIG_fail
; 
15832   resultobj 
= SWIG_Py_Void(); 
15839 SWIGINTERN PyObject 
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15840   PyObject 
*resultobj 
= 0; 
15841   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15845   PyObject 
*swig_obj
[1] ; 
15847   if (!args
) SWIG_fail
; 
15848   swig_obj
[0] = args
; 
15849   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15850   if (!SWIG_IsOK(res1
)) { 
15851     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid const *""'");  
15853   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15855     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15856     result 
= (int)((wxGrid 
const *)arg1
)->GetColMinimalAcceptableWidth(); 
15857     wxPyEndAllowThreads(__tstate
); 
15858     if (PyErr_Occurred()) SWIG_fail
; 
15860   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15867 SWIGINTERN PyObject 
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15868   PyObject 
*resultobj 
= 0; 
15869   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15873   PyObject 
*swig_obj
[1] ; 
15875   if (!args
) SWIG_fail
; 
15876   swig_obj
[0] = args
; 
15877   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15878   if (!SWIG_IsOK(res1
)) { 
15879     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid const *""'");  
15881   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15883     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15884     result 
= (int)((wxGrid 
const *)arg1
)->GetRowMinimalAcceptableHeight(); 
15885     wxPyEndAllowThreads(__tstate
); 
15886     if (PyErr_Occurred()) SWIG_fail
; 
15888   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15895 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15896   PyObject 
*resultobj 
= 0; 
15897   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15898   wxColour 
*arg2 
= 0 ; 
15902   PyObject 
* obj0 
= 0 ; 
15903   PyObject 
* obj1 
= 0 ; 
15904   char *  kwnames
[] = { 
15905     (char *) "self",(char *)"arg2", NULL 
 
15908   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15909   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15910   if (!SWIG_IsOK(res1
)) { 
15911     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
15913   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15916     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
15919     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15920     (arg1
)->SetDefaultCellBackgroundColour((wxColour 
const &)*arg2
); 
15921     wxPyEndAllowThreads(__tstate
); 
15922     if (PyErr_Occurred()) SWIG_fail
; 
15924   resultobj 
= SWIG_Py_Void(); 
15931 SWIGINTERN PyObject 
*_wrap_Grid_SetCellBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15932   PyObject 
*resultobj 
= 0; 
15933   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15936   wxColour 
*arg4 
= 0 ; 
15944   PyObject 
* obj0 
= 0 ; 
15945   PyObject 
* obj1 
= 0 ; 
15946   PyObject 
* obj2 
= 0 ; 
15947   PyObject 
* obj3 
= 0 ; 
15948   char *  kwnames
[] = { 
15949     (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL 
 
15952   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15953   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
15954   if (!SWIG_IsOK(res1
)) { 
15955     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
15957   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
15958   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15959   if (!SWIG_IsOK(ecode2
)) { 
15960     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'"); 
15962   arg2 
= static_cast< int >(val2
); 
15963   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15964   if (!SWIG_IsOK(ecode3
)) { 
15965     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'"); 
15967   arg3 
= static_cast< int >(val3
); 
15970     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
15973     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15974     (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour 
const &)*arg4
); 
15975     wxPyEndAllowThreads(__tstate
); 
15976     if (PyErr_Occurred()) SWIG_fail
; 
15978   resultobj 
= SWIG_Py_Void(); 
15985 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15986   PyObject 
*resultobj 
= 0; 
15987   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
15988   wxColour 
*arg2 
= 0 ; 
15992   PyObject 
* obj0 
= 0 ; 
15993   PyObject 
* obj1 
= 0 ; 
15994   char *  kwnames
[] = { 
15995     (char *) "self",(char *)"arg2", NULL 
 
15998   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15999   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16000   if (!SWIG_IsOK(res1
)) { 
16001     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
16003   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16006     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16009     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16010     (arg1
)->SetDefaultCellTextColour((wxColour 
const &)*arg2
); 
16011     wxPyEndAllowThreads(__tstate
); 
16012     if (PyErr_Occurred()) SWIG_fail
; 
16014   resultobj 
= SWIG_Py_Void(); 
16021 SWIGINTERN PyObject 
*_wrap_Grid_SetCellTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16022   PyObject 
*resultobj 
= 0; 
16023   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16026   wxColour 
*arg4 
= 0 ; 
16034   PyObject 
* obj0 
= 0 ; 
16035   PyObject 
* obj1 
= 0 ; 
16036   PyObject 
* obj2 
= 0 ; 
16037   PyObject 
* obj3 
= 0 ; 
16038   char *  kwnames
[] = { 
16039     (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL 
 
16042   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16043   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16044   if (!SWIG_IsOK(res1
)) { 
16045     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");  
16047   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16048   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16049   if (!SWIG_IsOK(ecode2
)) { 
16050     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellTextColour" "', expected argument " "2"" of type '" "int""'"); 
16052   arg2 
= static_cast< int >(val2
); 
16053   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16054   if (!SWIG_IsOK(ecode3
)) { 
16055     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellTextColour" "', expected argument " "3"" of type '" "int""'"); 
16057   arg3 
= static_cast< int >(val3
); 
16060     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
16063     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16064     (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour 
const &)*arg4
); 
16065     wxPyEndAllowThreads(__tstate
); 
16066     if (PyErr_Occurred()) SWIG_fail
; 
16068   resultobj 
= SWIG_Py_Void(); 
16075 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16076   PyObject 
*resultobj 
= 0; 
16077   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16083   PyObject 
* obj0 
= 0 ; 
16084   PyObject 
* obj1 
= 0 ; 
16085   char *  kwnames
[] = { 
16086     (char *) "self",(char *)"arg2", NULL 
 
16089   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16090   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16091   if (!SWIG_IsOK(res1
)) { 
16092     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
16094   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16095   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
16096   if (!SWIG_IsOK(res2
)) { 
16097     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
16100     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
16102   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
16104     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16105     (arg1
)->SetDefaultCellFont((wxFont 
const &)*arg2
); 
16106     wxPyEndAllowThreads(__tstate
); 
16107     if (PyErr_Occurred()) SWIG_fail
; 
16109   resultobj 
= SWIG_Py_Void(); 
16116 SWIGINTERN PyObject 
*_wrap_Grid_SetCellFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16117   PyObject 
*resultobj 
= 0; 
16118   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16130   PyObject 
* obj0 
= 0 ; 
16131   PyObject 
* obj1 
= 0 ; 
16132   PyObject 
* obj2 
= 0 ; 
16133   PyObject 
* obj3 
= 0 ; 
16134   char *  kwnames
[] = { 
16135     (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL 
 
16138   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16139   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16140   if (!SWIG_IsOK(res1
)) { 
16141     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");  
16143   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16144   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16145   if (!SWIG_IsOK(ecode2
)) { 
16146     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellFont" "', expected argument " "2"" of type '" "int""'"); 
16148   arg2 
= static_cast< int >(val2
); 
16149   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16150   if (!SWIG_IsOK(ecode3
)) { 
16151     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellFont" "', expected argument " "3"" of type '" "int""'"); 
16153   arg3 
= static_cast< int >(val3
); 
16154   res4 
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
,  0  | 0); 
16155   if (!SWIG_IsOK(res4
)) { 
16156     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");  
16159     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");  
16161   arg4 
= reinterpret_cast< wxFont 
* >(argp4
); 
16163     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16164     (arg1
)->SetCellFont(arg2
,arg3
,(wxFont 
const &)*arg4
); 
16165     wxPyEndAllowThreads(__tstate
); 
16166     if (PyErr_Occurred()) SWIG_fail
; 
16168   resultobj 
= SWIG_Py_Void(); 
16175 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16176   PyObject 
*resultobj 
= 0; 
16177   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16186   PyObject 
* obj0 
= 0 ; 
16187   PyObject 
* obj1 
= 0 ; 
16188   PyObject 
* obj2 
= 0 ; 
16189   char *  kwnames
[] = { 
16190     (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
16193   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16194   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16195   if (!SWIG_IsOK(res1
)) { 
16196     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
16198   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16199   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16200   if (!SWIG_IsOK(ecode2
)) { 
16201     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "2"" of type '" "int""'"); 
16203   arg2 
= static_cast< int >(val2
); 
16204   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16205   if (!SWIG_IsOK(ecode3
)) { 
16206     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "3"" of type '" "int""'"); 
16208   arg3 
= static_cast< int >(val3
); 
16210     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16211     (arg1
)->SetDefaultCellAlignment(arg2
,arg3
); 
16212     wxPyEndAllowThreads(__tstate
); 
16213     if (PyErr_Occurred()) SWIG_fail
; 
16215   resultobj 
= SWIG_Py_Void(); 
16222 SWIGINTERN PyObject 
*_wrap_Grid_SetCellAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16223   PyObject 
*resultobj 
= 0; 
16224   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16239   PyObject 
* obj0 
= 0 ; 
16240   PyObject 
* obj1 
= 0 ; 
16241   PyObject 
* obj2 
= 0 ; 
16242   PyObject 
* obj3 
= 0 ; 
16243   PyObject 
* obj4 
= 0 ; 
16244   char *  kwnames
[] = { 
16245     (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL 
 
16248   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
16249   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16250   if (!SWIG_IsOK(res1
)) { 
16251     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");  
16253   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16254   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16255   if (!SWIG_IsOK(ecode2
)) { 
16256     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellAlignment" "', expected argument " "2"" of type '" "int""'"); 
16258   arg2 
= static_cast< int >(val2
); 
16259   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16260   if (!SWIG_IsOK(ecode3
)) { 
16261     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellAlignment" "', expected argument " "3"" of type '" "int""'"); 
16263   arg3 
= static_cast< int >(val3
); 
16264   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16265   if (!SWIG_IsOK(ecode4
)) { 
16266     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellAlignment" "', expected argument " "4"" of type '" "int""'"); 
16268   arg4 
= static_cast< int >(val4
); 
16269   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
16270   if (!SWIG_IsOK(ecode5
)) { 
16271     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellAlignment" "', expected argument " "5"" of type '" "int""'"); 
16273   arg5 
= static_cast< int >(val5
); 
16275     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16276     (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
); 
16277     wxPyEndAllowThreads(__tstate
); 
16278     if (PyErr_Occurred()) SWIG_fail
; 
16280   resultobj 
= SWIG_Py_Void(); 
16287 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultCellOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16288   PyObject 
*resultobj 
= 0; 
16289   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16295   PyObject 
* obj0 
= 0 ; 
16296   PyObject 
* obj1 
= 0 ; 
16297   char *  kwnames
[] = { 
16298     (char *) "self",(char *) "allow", NULL 
 
16301   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16302   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16303   if (!SWIG_IsOK(res1
)) { 
16304     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");  
16306   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16307   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
16308   if (!SWIG_IsOK(ecode2
)) { 
16309     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "2"" of type '" "bool""'"); 
16311   arg2 
= static_cast< bool >(val2
); 
16313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16314     (arg1
)->SetDefaultCellOverflow(arg2
); 
16315     wxPyEndAllowThreads(__tstate
); 
16316     if (PyErr_Occurred()) SWIG_fail
; 
16318   resultobj 
= SWIG_Py_Void(); 
16325 SWIGINTERN PyObject 
*_wrap_Grid_SetCellOverflow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16326   PyObject 
*resultobj 
= 0; 
16327   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16339   PyObject 
* obj0 
= 0 ; 
16340   PyObject 
* obj1 
= 0 ; 
16341   PyObject 
* obj2 
= 0 ; 
16342   PyObject 
* obj3 
= 0 ; 
16343   char *  kwnames
[] = { 
16344     (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL 
 
16347   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16348   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16349   if (!SWIG_IsOK(res1
)) { 
16350     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");  
16352   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16353   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16354   if (!SWIG_IsOK(ecode2
)) { 
16355     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellOverflow" "', expected argument " "2"" of type '" "int""'"); 
16357   arg2 
= static_cast< int >(val2
); 
16358   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16359   if (!SWIG_IsOK(ecode3
)) { 
16360     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellOverflow" "', expected argument " "3"" of type '" "int""'"); 
16362   arg3 
= static_cast< int >(val3
); 
16363   ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
16364   if (!SWIG_IsOK(ecode4
)) { 
16365     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellOverflow" "', expected argument " "4"" of type '" "bool""'"); 
16367   arg4 
= static_cast< bool >(val4
); 
16369     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16370     (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
); 
16371     wxPyEndAllowThreads(__tstate
); 
16372     if (PyErr_Occurred()) SWIG_fail
; 
16374   resultobj 
= SWIG_Py_Void(); 
16381 SWIGINTERN PyObject 
*_wrap_Grid_SetCellSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16382   PyObject 
*resultobj 
= 0; 
16383   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16398   PyObject 
* obj0 
= 0 ; 
16399   PyObject 
* obj1 
= 0 ; 
16400   PyObject 
* obj2 
= 0 ; 
16401   PyObject 
* obj3 
= 0 ; 
16402   PyObject 
* obj4 
= 0 ; 
16403   char *  kwnames
[] = { 
16404     (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL 
 
16407   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
16408   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16409   if (!SWIG_IsOK(res1
)) { 
16410     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");  
16412   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16413   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16414   if (!SWIG_IsOK(ecode2
)) { 
16415     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellSize" "', expected argument " "2"" of type '" "int""'"); 
16417   arg2 
= static_cast< int >(val2
); 
16418   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16419   if (!SWIG_IsOK(ecode3
)) { 
16420     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellSize" "', expected argument " "3"" of type '" "int""'"); 
16422   arg3 
= static_cast< int >(val3
); 
16423   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16424   if (!SWIG_IsOK(ecode4
)) { 
16425     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellSize" "', expected argument " "4"" of type '" "int""'"); 
16427   arg4 
= static_cast< int >(val4
); 
16428   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
16429   if (!SWIG_IsOK(ecode5
)) { 
16430     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellSize" "', expected argument " "5"" of type '" "int""'"); 
16432   arg5 
= static_cast< int >(val5
); 
16434     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16435     (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
); 
16436     wxPyEndAllowThreads(__tstate
); 
16437     if (PyErr_Occurred()) SWIG_fail
; 
16439   resultobj 
= SWIG_Py_Void(); 
16446 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16447   PyObject 
*resultobj 
= 0; 
16448   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16449   wxGridCellRenderer 
*arg2 
= (wxGridCellRenderer 
*) 0 ; 
16454   PyObject 
* obj0 
= 0 ; 
16455   PyObject 
* obj1 
= 0 ; 
16456   char *  kwnames
[] = { 
16457     (char *) "self",(char *) "renderer", NULL 
 
16460   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16461   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16462   if (!SWIG_IsOK(res1
)) { 
16463     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");  
16465   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16466   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
16467   if (!SWIG_IsOK(res2
)) { 
16468     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");  
16470   arg2 
= reinterpret_cast< wxGridCellRenderer 
* >(argp2
); 
16472     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16473     (arg1
)->SetDefaultRenderer(arg2
); 
16474     wxPyEndAllowThreads(__tstate
); 
16475     if (PyErr_Occurred()) SWIG_fail
; 
16477   resultobj 
= SWIG_Py_Void(); 
16484 SWIGINTERN PyObject 
*_wrap_Grid_SetCellRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16485   PyObject 
*resultobj 
= 0; 
16486   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16489   wxGridCellRenderer 
*arg4 
= (wxGridCellRenderer 
*) 0 ; 
16498   PyObject 
* obj0 
= 0 ; 
16499   PyObject 
* obj1 
= 0 ; 
16500   PyObject 
* obj2 
= 0 ; 
16501   PyObject 
* obj3 
= 0 ; 
16502   char *  kwnames
[] = { 
16503     (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL 
 
16506   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16507   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16508   if (!SWIG_IsOK(res1
)) { 
16509     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");  
16511   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16512   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16513   if (!SWIG_IsOK(ecode2
)) { 
16514     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellRenderer" "', expected argument " "2"" of type '" "int""'"); 
16516   arg2 
= static_cast< int >(val2
); 
16517   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16518   if (!SWIG_IsOK(ecode3
)) { 
16519     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellRenderer" "', expected argument " "3"" of type '" "int""'"); 
16521   arg3 
= static_cast< int >(val3
); 
16522   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
16523   if (!SWIG_IsOK(res4
)) { 
16524     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellRenderer" "', expected argument " "4"" of type '" "wxGridCellRenderer *""'");  
16526   arg4 
= reinterpret_cast< wxGridCellRenderer 
* >(argp4
); 
16528     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16529     (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
); 
16530     wxPyEndAllowThreads(__tstate
); 
16531     if (PyErr_Occurred()) SWIG_fail
; 
16533   resultobj 
= SWIG_Py_Void(); 
16540 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16541   PyObject 
*resultobj 
= 0; 
16542   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16543   wxGridCellRenderer 
*result 
= 0 ; 
16546   PyObject 
*swig_obj
[1] ; 
16548   if (!args
) SWIG_fail
; 
16549   swig_obj
[0] = args
; 
16550   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16551   if (!SWIG_IsOK(res1
)) { 
16552     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid const *""'");  
16554   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16556     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16557     result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRenderer(); 
16558     wxPyEndAllowThreads(__tstate
); 
16559     if (PyErr_Occurred()) SWIG_fail
; 
16562     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
16570 SWIGINTERN PyObject 
*_wrap_Grid_GetCellRenderer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16571   PyObject 
*resultobj 
= 0; 
16572   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16575   wxGridCellRenderer 
*result 
= 0 ; 
16582   PyObject 
* obj0 
= 0 ; 
16583   PyObject 
* obj1 
= 0 ; 
16584   PyObject 
* obj2 
= 0 ; 
16585   char *  kwnames
[] = { 
16586     (char *) "self",(char *) "row",(char *) "col", NULL 
 
16589   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16590   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16591   if (!SWIG_IsOK(res1
)) { 
16592     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");  
16594   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16595   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16596   if (!SWIG_IsOK(ecode2
)) { 
16597     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellRenderer" "', expected argument " "2"" of type '" "int""'"); 
16599   arg2 
= static_cast< int >(val2
); 
16600   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16601   if (!SWIG_IsOK(ecode3
)) { 
16602     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellRenderer" "', expected argument " "3"" of type '" "int""'"); 
16604   arg3 
= static_cast< int >(val3
); 
16606     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16607     result 
= (wxGridCellRenderer 
*)(arg1
)->GetCellRenderer(arg2
,arg3
); 
16608     wxPyEndAllowThreads(__tstate
); 
16609     if (PyErr_Occurred()) SWIG_fail
; 
16612     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
16620 SWIGINTERN PyObject 
*_wrap_Grid_SetDefaultEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16621   PyObject 
*resultobj 
= 0; 
16622   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16623   wxGridCellEditor 
*arg2 
= (wxGridCellEditor 
*) 0 ; 
16628   PyObject 
* obj0 
= 0 ; 
16629   PyObject 
* obj1 
= 0 ; 
16630   char *  kwnames
[] = { 
16631     (char *) "self",(char *) "editor", NULL 
 
16634   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16635   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16636   if (!SWIG_IsOK(res1
)) { 
16637     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid *""'");  
16639   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16640   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
16641   if (!SWIG_IsOK(res2
)) { 
16642     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");  
16644   arg2 
= reinterpret_cast< wxGridCellEditor 
* >(argp2
); 
16646     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16647     (arg1
)->SetDefaultEditor(arg2
); 
16648     wxPyEndAllowThreads(__tstate
); 
16649     if (PyErr_Occurred()) SWIG_fail
; 
16651   resultobj 
= SWIG_Py_Void(); 
16658 SWIGINTERN PyObject 
*_wrap_Grid_SetCellEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16659   PyObject 
*resultobj 
= 0; 
16660   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16663   wxGridCellEditor 
*arg4 
= (wxGridCellEditor 
*) 0 ; 
16672   PyObject 
* obj0 
= 0 ; 
16673   PyObject 
* obj1 
= 0 ; 
16674   PyObject 
* obj2 
= 0 ; 
16675   PyObject 
* obj3 
= 0 ; 
16676   char *  kwnames
[] = { 
16677     (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL 
 
16680   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16681   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16682   if (!SWIG_IsOK(res1
)) { 
16683     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");  
16685   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16686   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16687   if (!SWIG_IsOK(ecode2
)) { 
16688     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellEditor" "', expected argument " "2"" of type '" "int""'"); 
16690   arg2 
= static_cast< int >(val2
); 
16691   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16692   if (!SWIG_IsOK(ecode3
)) { 
16693     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellEditor" "', expected argument " "3"" of type '" "int""'"); 
16695   arg3 
= static_cast< int >(val3
); 
16696   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
16697   if (!SWIG_IsOK(res4
)) { 
16698     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellEditor" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");  
16700   arg4 
= reinterpret_cast< wxGridCellEditor 
* >(argp4
); 
16702     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16703     (arg1
)->SetCellEditor(arg2
,arg3
,arg4
); 
16704     wxPyEndAllowThreads(__tstate
); 
16705     if (PyErr_Occurred()) SWIG_fail
; 
16707   resultobj 
= SWIG_Py_Void(); 
16714 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16715   PyObject 
*resultobj 
= 0; 
16716   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16717   wxGridCellEditor 
*result 
= 0 ; 
16720   PyObject 
*swig_obj
[1] ; 
16722   if (!args
) SWIG_fail
; 
16723   swig_obj
[0] = args
; 
16724   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16725   if (!SWIG_IsOK(res1
)) { 
16726     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid const *""'");  
16728   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16730     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16731     result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditor(); 
16732     wxPyEndAllowThreads(__tstate
); 
16733     if (PyErr_Occurred()) SWIG_fail
; 
16736     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
16744 SWIGINTERN PyObject 
*_wrap_Grid_GetCellEditor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16745   PyObject 
*resultobj 
= 0; 
16746   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16749   wxGridCellEditor 
*result 
= 0 ; 
16756   PyObject 
* obj0 
= 0 ; 
16757   PyObject 
* obj1 
= 0 ; 
16758   PyObject 
* obj2 
= 0 ; 
16759   char *  kwnames
[] = { 
16760     (char *) "self",(char *) "row",(char *) "col", NULL 
 
16763   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16764   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16765   if (!SWIG_IsOK(res1
)) { 
16766     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");  
16768   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16769   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16770   if (!SWIG_IsOK(ecode2
)) { 
16771     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellEditor" "', expected argument " "2"" of type '" "int""'"); 
16773   arg2 
= static_cast< int >(val2
); 
16774   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16775   if (!SWIG_IsOK(ecode3
)) { 
16776     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellEditor" "', expected argument " "3"" of type '" "int""'"); 
16778   arg3 
= static_cast< int >(val3
); 
16780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16781     result 
= (wxGridCellEditor 
*)(arg1
)->GetCellEditor(arg2
,arg3
); 
16782     wxPyEndAllowThreads(__tstate
); 
16783     if (PyErr_Occurred()) SWIG_fail
; 
16786     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
16794 SWIGINTERN PyObject 
*_wrap_Grid_GetCellValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16795   PyObject 
*resultobj 
= 0; 
16796   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16806   PyObject 
* obj0 
= 0 ; 
16807   PyObject 
* obj1 
= 0 ; 
16808   PyObject 
* obj2 
= 0 ; 
16809   char *  kwnames
[] = { 
16810     (char *) "self",(char *) "row",(char *) "col", NULL 
 
16813   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16814   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16815   if (!SWIG_IsOK(res1
)) { 
16816     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
16818   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16819   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16820   if (!SWIG_IsOK(ecode2
)) { 
16821     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellValue" "', expected argument " "2"" of type '" "int""'"); 
16823   arg2 
= static_cast< int >(val2
); 
16824   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16825   if (!SWIG_IsOK(ecode3
)) { 
16826     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellValue" "', expected argument " "3"" of type '" "int""'"); 
16828   arg3 
= static_cast< int >(val3
); 
16830     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16831     result 
= (arg1
)->GetCellValue(arg2
,arg3
); 
16832     wxPyEndAllowThreads(__tstate
); 
16833     if (PyErr_Occurred()) SWIG_fail
; 
16837     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16839     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16848 SWIGINTERN PyObject 
*_wrap_Grid_SetCellValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16849   PyObject 
*resultobj 
= 0; 
16850   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16853   wxString 
*arg4 
= 0 ; 
16860   bool temp4 
= false ; 
16861   PyObject 
* obj0 
= 0 ; 
16862   PyObject 
* obj1 
= 0 ; 
16863   PyObject 
* obj2 
= 0 ; 
16864   PyObject 
* obj3 
= 0 ; 
16865   char *  kwnames
[] = { 
16866     (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL 
 
16869   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16870   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16871   if (!SWIG_IsOK(res1
)) { 
16872     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");  
16874   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16875   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16876   if (!SWIG_IsOK(ecode2
)) { 
16877     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellValue" "', expected argument " "2"" of type '" "int""'"); 
16879   arg2 
= static_cast< int >(val2
); 
16880   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16881   if (!SWIG_IsOK(ecode3
)) { 
16882     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellValue" "', expected argument " "3"" of type '" "int""'"); 
16884   arg3 
= static_cast< int >(val3
); 
16886     arg4 
= wxString_in_helper(obj3
); 
16887     if (arg4 
== NULL
) SWIG_fail
; 
16891     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16892     (arg1
)->SetCellValue(arg2
,arg3
,(wxString 
const &)*arg4
); 
16893     wxPyEndAllowThreads(__tstate
); 
16894     if (PyErr_Occurred()) SWIG_fail
; 
16896   resultobj 
= SWIG_Py_Void(); 
16911 SWIGINTERN PyObject 
*_wrap_Grid_IsReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16912   PyObject 
*resultobj 
= 0; 
16913   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16923   PyObject 
* obj0 
= 0 ; 
16924   PyObject 
* obj1 
= 0 ; 
16925   PyObject 
* obj2 
= 0 ; 
16926   char *  kwnames
[] = { 
16927     (char *) "self",(char *) "row",(char *) "col", NULL 
 
16930   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16931   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16932   if (!SWIG_IsOK(res1
)) { 
16933     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");  
16935   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16936   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16937   if (!SWIG_IsOK(ecode2
)) { 
16938     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsReadOnly" "', expected argument " "2"" of type '" "int""'"); 
16940   arg2 
= static_cast< int >(val2
); 
16941   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16942   if (!SWIG_IsOK(ecode3
)) { 
16943     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsReadOnly" "', expected argument " "3"" of type '" "int""'"); 
16945   arg3 
= static_cast< int >(val3
); 
16947     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16948     result 
= (bool)((wxGrid 
const *)arg1
)->IsReadOnly(arg2
,arg3
); 
16949     wxPyEndAllowThreads(__tstate
); 
16950     if (PyErr_Occurred()) SWIG_fail
; 
16953     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16961 SWIGINTERN PyObject 
*_wrap_Grid_SetReadOnly(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16962   PyObject 
*resultobj 
= 0; 
16963   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
16966   bool arg4 
= (bool) true ; 
16975   PyObject 
* obj0 
= 0 ; 
16976   PyObject 
* obj1 
= 0 ; 
16977   PyObject 
* obj2 
= 0 ; 
16978   PyObject 
* obj3 
= 0 ; 
16979   char *  kwnames
[] = { 
16980     (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL 
 
16983   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16984   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
16985   if (!SWIG_IsOK(res1
)) { 
16986     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetReadOnly" "', expected argument " "1"" of type '" "wxGrid *""'");  
16988   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
16989   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16990   if (!SWIG_IsOK(ecode2
)) { 
16991     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetReadOnly" "', expected argument " "2"" of type '" "int""'"); 
16993   arg2 
= static_cast< int >(val2
); 
16994   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16995   if (!SWIG_IsOK(ecode3
)) { 
16996     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetReadOnly" "', expected argument " "3"" of type '" "int""'"); 
16998   arg3 
= static_cast< int >(val3
); 
17000     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
17001     if (!SWIG_IsOK(ecode4
)) { 
17002       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetReadOnly" "', expected argument " "4"" of type '" "bool""'"); 
17004     arg4 
= static_cast< bool >(val4
); 
17007     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17008     (arg1
)->SetReadOnly(arg2
,arg3
,arg4
); 
17009     wxPyEndAllowThreads(__tstate
); 
17010     if (PyErr_Occurred()) SWIG_fail
; 
17012   resultobj 
= SWIG_Py_Void(); 
17019 SWIGINTERN PyObject 
*_wrap_Grid_SelectRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17020   PyObject 
*resultobj 
= 0; 
17021   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17023   bool arg3 
= (bool) false ; 
17030   PyObject 
* obj0 
= 0 ; 
17031   PyObject 
* obj1 
= 0 ; 
17032   PyObject 
* obj2 
= 0 ; 
17033   char *  kwnames
[] = { 
17034     (char *) "self",(char *) "row",(char *) "addToSelected", NULL 
 
17037   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17038   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17039   if (!SWIG_IsOK(res1
)) { 
17040     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
17042   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17043   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17044   if (!SWIG_IsOK(ecode2
)) { 
17045     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectRow" "', expected argument " "2"" of type '" "int""'"); 
17047   arg2 
= static_cast< int >(val2
); 
17049     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
17050     if (!SWIG_IsOK(ecode3
)) { 
17051       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectRow" "', expected argument " "3"" of type '" "bool""'"); 
17053     arg3 
= static_cast< bool >(val3
); 
17056     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17057     (arg1
)->SelectRow(arg2
,arg3
); 
17058     wxPyEndAllowThreads(__tstate
); 
17059     if (PyErr_Occurred()) SWIG_fail
; 
17061   resultobj 
= SWIG_Py_Void(); 
17068 SWIGINTERN PyObject 
*_wrap_Grid_SelectCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17069   PyObject 
*resultobj 
= 0; 
17070   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17072   bool arg3 
= (bool) false ; 
17079   PyObject 
* obj0 
= 0 ; 
17080   PyObject 
* obj1 
= 0 ; 
17081   PyObject 
* obj2 
= 0 ; 
17082   char *  kwnames
[] = { 
17083     (char *) "self",(char *) "col",(char *) "addToSelected", NULL 
 
17086   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17087   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17088   if (!SWIG_IsOK(res1
)) { 
17089     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
17091   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17092   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17093   if (!SWIG_IsOK(ecode2
)) { 
17094     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectCol" "', expected argument " "2"" of type '" "int""'"); 
17096   arg2 
= static_cast< int >(val2
); 
17098     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
17099     if (!SWIG_IsOK(ecode3
)) { 
17100       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectCol" "', expected argument " "3"" of type '" "bool""'"); 
17102     arg3 
= static_cast< bool >(val3
); 
17105     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17106     (arg1
)->SelectCol(arg2
,arg3
); 
17107     wxPyEndAllowThreads(__tstate
); 
17108     if (PyErr_Occurred()) SWIG_fail
; 
17110   resultobj 
= SWIG_Py_Void(); 
17117 SWIGINTERN PyObject 
*_wrap_Grid_SelectBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17118   PyObject 
*resultobj 
= 0; 
17119   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17124   bool arg6 
= (bool) false ; 
17137   PyObject 
* obj0 
= 0 ; 
17138   PyObject 
* obj1 
= 0 ; 
17139   PyObject 
* obj2 
= 0 ; 
17140   PyObject 
* obj3 
= 0 ; 
17141   PyObject 
* obj4 
= 0 ; 
17142   PyObject 
* obj5 
= 0 ; 
17143   char *  kwnames
[] = { 
17144     (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL 
 
17147   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
17148   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17149   if (!SWIG_IsOK(res1
)) { 
17150     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectBlock" "', expected argument " "1"" of type '" "wxGrid *""'");  
17152   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17153   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17154   if (!SWIG_IsOK(ecode2
)) { 
17155     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectBlock" "', expected argument " "2"" of type '" "int""'"); 
17157   arg2 
= static_cast< int >(val2
); 
17158   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17159   if (!SWIG_IsOK(ecode3
)) { 
17160     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectBlock" "', expected argument " "3"" of type '" "int""'"); 
17162   arg3 
= static_cast< int >(val3
); 
17163   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
17164   if (!SWIG_IsOK(ecode4
)) { 
17165     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SelectBlock" "', expected argument " "4"" of type '" "int""'"); 
17167   arg4 
= static_cast< int >(val4
); 
17168   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17169   if (!SWIG_IsOK(ecode5
)) { 
17170     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SelectBlock" "', expected argument " "5"" of type '" "int""'"); 
17172   arg5 
= static_cast< int >(val5
); 
17174     ecode6 
= SWIG_AsVal_bool(obj5
, &val6
); 
17175     if (!SWIG_IsOK(ecode6
)) { 
17176       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_SelectBlock" "', expected argument " "6"" of type '" "bool""'"); 
17178     arg6 
= static_cast< bool >(val6
); 
17181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17182     (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
); 
17183     wxPyEndAllowThreads(__tstate
); 
17184     if (PyErr_Occurred()) SWIG_fail
; 
17186   resultobj 
= SWIG_Py_Void(); 
17193 SWIGINTERN PyObject 
*_wrap_Grid_SelectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17194   PyObject 
*resultobj 
= 0; 
17195   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17198   PyObject 
*swig_obj
[1] ; 
17200   if (!args
) SWIG_fail
; 
17201   swig_obj
[0] = args
; 
17202   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17203   if (!SWIG_IsOK(res1
)) { 
17204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectAll" "', expected argument " "1"" of type '" "wxGrid *""'");  
17206   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17208     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17209     (arg1
)->SelectAll(); 
17210     wxPyEndAllowThreads(__tstate
); 
17211     if (PyErr_Occurred()) SWIG_fail
; 
17213   resultobj 
= SWIG_Py_Void(); 
17220 SWIGINTERN PyObject 
*_wrap_Grid_IsSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17221   PyObject 
*resultobj 
= 0; 
17222   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17226   PyObject 
*swig_obj
[1] ; 
17228   if (!args
) SWIG_fail
; 
17229   swig_obj
[0] = args
; 
17230   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17231   if (!SWIG_IsOK(res1
)) { 
17232     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsSelection" "', expected argument " "1"" of type '" "wxGrid *""'");  
17234   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17236     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17237     result 
= (bool)(arg1
)->IsSelection(); 
17238     wxPyEndAllowThreads(__tstate
); 
17239     if (PyErr_Occurred()) SWIG_fail
; 
17242     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17250 SWIGINTERN PyObject 
*_wrap_Grid_ClearSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17251   PyObject 
*resultobj 
= 0; 
17252   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17255   PyObject 
*swig_obj
[1] ; 
17257   if (!args
) SWIG_fail
; 
17258   swig_obj
[0] = args
; 
17259   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17260   if (!SWIG_IsOK(res1
)) { 
17261     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearSelection" "', expected argument " "1"" of type '" "wxGrid *""'");  
17263   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17265     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17266     (arg1
)->ClearSelection(); 
17267     wxPyEndAllowThreads(__tstate
); 
17268     if (PyErr_Occurred()) SWIG_fail
; 
17270   resultobj 
= SWIG_Py_Void(); 
17277 SWIGINTERN PyObject 
*_wrap_Grid_IsInSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17278   PyObject 
*resultobj 
= 0; 
17279   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17289   PyObject 
* obj0 
= 0 ; 
17290   PyObject 
* obj1 
= 0 ; 
17291   PyObject 
* obj2 
= 0 ; 
17292   char *  kwnames
[] = { 
17293     (char *) "self",(char *) "row",(char *) "col", NULL 
 
17296   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17297   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17298   if (!SWIG_IsOK(res1
)) { 
17299     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsInSelection" "', expected argument " "1"" of type '" "wxGrid *""'");  
17301   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17302   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17303   if (!SWIG_IsOK(ecode2
)) { 
17304     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsInSelection" "', expected argument " "2"" of type '" "int""'"); 
17306   arg2 
= static_cast< int >(val2
); 
17307   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17308   if (!SWIG_IsOK(ecode3
)) { 
17309     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsInSelection" "', expected argument " "3"" of type '" "int""'"); 
17311   arg3 
= static_cast< int >(val3
); 
17313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17314     result 
= (bool)(arg1
)->IsInSelection(arg2
,arg3
); 
17315     wxPyEndAllowThreads(__tstate
); 
17316     if (PyErr_Occurred()) SWIG_fail
; 
17319     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17327 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectedCells(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17328   PyObject 
*resultobj 
= 0; 
17329   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17330   wxGridCellCoordsArray result
; 
17333   PyObject 
*swig_obj
[1] ; 
17335   if (!args
) SWIG_fail
; 
17336   swig_obj
[0] = args
; 
17337   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17338   if (!SWIG_IsOK(res1
)) { 
17339     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCells" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17341   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17343     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17344     result 
= ((wxGrid 
const *)arg1
)->GetSelectedCells(); 
17345     wxPyEndAllowThreads(__tstate
); 
17346     if (PyErr_Occurred()) SWIG_fail
; 
17349     resultobj 
= wxGridCellCoordsArray_helper(result
); 
17357 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17358   PyObject 
*resultobj 
= 0; 
17359   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17360   wxGridCellCoordsArray result
; 
17363   PyObject 
*swig_obj
[1] ; 
17365   if (!args
) SWIG_fail
; 
17366   swig_obj
[0] = args
; 
17367   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17368   if (!SWIG_IsOK(res1
)) { 
17369     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockTopLeft" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17371   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17373     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17374     result 
= ((wxGrid 
const *)arg1
)->GetSelectionBlockTopLeft(); 
17375     wxPyEndAllowThreads(__tstate
); 
17376     if (PyErr_Occurred()) SWIG_fail
; 
17379     resultobj 
= wxGridCellCoordsArray_helper(result
); 
17387 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17388   PyObject 
*resultobj 
= 0; 
17389   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17390   wxGridCellCoordsArray result
; 
17393   PyObject 
*swig_obj
[1] ; 
17395   if (!args
) SWIG_fail
; 
17396   swig_obj
[0] = args
; 
17397   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17398   if (!SWIG_IsOK(res1
)) { 
17399     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockBottomRight" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17401   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17403     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17404     result 
= ((wxGrid 
const *)arg1
)->GetSelectionBlockBottomRight(); 
17405     wxPyEndAllowThreads(__tstate
); 
17406     if (PyErr_Occurred()) SWIG_fail
; 
17409     resultobj 
= wxGridCellCoordsArray_helper(result
); 
17417 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectedRows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17418   PyObject 
*resultobj 
= 0; 
17419   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17423   PyObject 
*swig_obj
[1] ; 
17425   if (!args
) SWIG_fail
; 
17426   swig_obj
[0] = args
; 
17427   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17428   if (!SWIG_IsOK(res1
)) { 
17429     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedRows" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17431   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17433     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17434     result 
= ((wxGrid 
const *)arg1
)->GetSelectedRows(); 
17435     wxPyEndAllowThreads(__tstate
); 
17436     if (PyErr_Occurred()) SWIG_fail
; 
17439     resultobj 
= PyList_New(0); 
17441     for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
17442       PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
17443       PyList_Append(resultobj
, val
); 
17453 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectedCols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17454   PyObject 
*resultobj 
= 0; 
17455   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17459   PyObject 
*swig_obj
[1] ; 
17461   if (!args
) SWIG_fail
; 
17462   swig_obj
[0] = args
; 
17463   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17464   if (!SWIG_IsOK(res1
)) { 
17465     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCols" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17467   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17470     result 
= ((wxGrid 
const *)arg1
)->GetSelectedCols(); 
17471     wxPyEndAllowThreads(__tstate
); 
17472     if (PyErr_Occurred()) SWIG_fail
; 
17475     resultobj 
= PyList_New(0); 
17477     for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
17478       PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
17479       PyList_Append(resultobj
, val
); 
17489 SWIGINTERN PyObject 
*_wrap_Grid_DeselectRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17490   PyObject 
*resultobj 
= 0; 
17491   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17497   PyObject 
* obj0 
= 0 ; 
17498   PyObject 
* obj1 
= 0 ; 
17499   char *  kwnames
[] = { 
17500     (char *) "self",(char *) "row", NULL 
 
17503   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17504   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17505   if (!SWIG_IsOK(res1
)) { 
17506     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectRow" "', expected argument " "1"" of type '" "wxGrid *""'");  
17508   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17509   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17510   if (!SWIG_IsOK(ecode2
)) { 
17511     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectRow" "', expected argument " "2"" of type '" "int""'"); 
17513   arg2 
= static_cast< int >(val2
); 
17515     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17516     (arg1
)->DeselectRow(arg2
); 
17517     wxPyEndAllowThreads(__tstate
); 
17518     if (PyErr_Occurred()) SWIG_fail
; 
17520   resultobj 
= SWIG_Py_Void(); 
17527 SWIGINTERN PyObject 
*_wrap_Grid_DeselectCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17528   PyObject 
*resultobj 
= 0; 
17529   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17535   PyObject 
* obj0 
= 0 ; 
17536   PyObject 
* obj1 
= 0 ; 
17537   char *  kwnames
[] = { 
17538     (char *) "self",(char *) "col", NULL 
 
17541   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17542   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17543   if (!SWIG_IsOK(res1
)) { 
17544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCol" "', expected argument " "1"" of type '" "wxGrid *""'");  
17546   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17547   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17548   if (!SWIG_IsOK(ecode2
)) { 
17549     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCol" "', expected argument " "2"" of type '" "int""'"); 
17551   arg2 
= static_cast< int >(val2
); 
17553     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17554     (arg1
)->DeselectCol(arg2
); 
17555     wxPyEndAllowThreads(__tstate
); 
17556     if (PyErr_Occurred()) SWIG_fail
; 
17558   resultobj 
= SWIG_Py_Void(); 
17565 SWIGINTERN PyObject 
*_wrap_Grid_DeselectCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17566   PyObject 
*resultobj 
= 0; 
17567   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17576   PyObject 
* obj0 
= 0 ; 
17577   PyObject 
* obj1 
= 0 ; 
17578   PyObject 
* obj2 
= 0 ; 
17579   char *  kwnames
[] = { 
17580     (char *) "self",(char *) "row",(char *) "col", NULL 
 
17583   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17584   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17585   if (!SWIG_IsOK(res1
)) { 
17586     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCell" "', expected argument " "1"" of type '" "wxGrid *""'");  
17588   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17589   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17590   if (!SWIG_IsOK(ecode2
)) { 
17591     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCell" "', expected argument " "2"" of type '" "int""'"); 
17593   arg2 
= static_cast< int >(val2
); 
17594   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17595   if (!SWIG_IsOK(ecode3
)) { 
17596     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeselectCell" "', expected argument " "3"" of type '" "int""'"); 
17598   arg3 
= static_cast< int >(val3
); 
17600     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17601     (arg1
)->DeselectCell(arg2
,arg3
); 
17602     wxPyEndAllowThreads(__tstate
); 
17603     if (PyErr_Occurred()) SWIG_fail
; 
17605   resultobj 
= SWIG_Py_Void(); 
17612 SWIGINTERN PyObject 
*_wrap_Grid_BlockToDeviceRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17613   PyObject 
*resultobj 
= 0; 
17614   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17615   wxGridCellCoords 
*arg2 
= 0 ; 
17616   wxGridCellCoords 
*arg3 
= 0 ; 
17620   wxGridCellCoords temp2 
; 
17621   wxGridCellCoords temp3 
; 
17622   PyObject 
* obj0 
= 0 ; 
17623   PyObject 
* obj1 
= 0 ; 
17624   PyObject 
* obj2 
= 0 ; 
17625   char *  kwnames
[] = { 
17626     (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL 
 
17629   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17630   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17631   if (!SWIG_IsOK(res1
)) { 
17632     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BlockToDeviceRect" "', expected argument " "1"" of type '" "wxGrid *""'");  
17634   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17637     if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
17641     if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
; 
17644     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17645     result 
= (arg1
)->BlockToDeviceRect((wxGridCellCoords 
const &)*arg2
,(wxGridCellCoords 
const &)*arg3
); 
17646     wxPyEndAllowThreads(__tstate
); 
17647     if (PyErr_Occurred()) SWIG_fail
; 
17649   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
17656 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17657   PyObject 
*resultobj 
= 0; 
17658   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17662   PyObject 
*swig_obj
[1] ; 
17664   if (!args
) SWIG_fail
; 
17665   swig_obj
[0] = args
; 
17666   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17667   if (!SWIG_IsOK(res1
)) { 
17668     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17670   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17672     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17673     result 
= ((wxGrid 
const *)arg1
)->GetSelectionBackground(); 
17674     wxPyEndAllowThreads(__tstate
); 
17675     if (PyErr_Occurred()) SWIG_fail
; 
17677   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
17684 SWIGINTERN PyObject 
*_wrap_Grid_GetSelectionForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17685   PyObject 
*resultobj 
= 0; 
17686   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17690   PyObject 
*swig_obj
[1] ; 
17692   if (!args
) SWIG_fail
; 
17693   swig_obj
[0] = args
; 
17694   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17695   if (!SWIG_IsOK(res1
)) { 
17696     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17698   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17701     result 
= ((wxGrid 
const *)arg1
)->GetSelectionForeground(); 
17702     wxPyEndAllowThreads(__tstate
); 
17703     if (PyErr_Occurred()) SWIG_fail
; 
17705   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
17712 SWIGINTERN PyObject 
*_wrap_Grid_SetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17713   PyObject 
*resultobj 
= 0; 
17714   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17715   wxColour 
*arg2 
= 0 ; 
17719   PyObject 
* obj0 
= 0 ; 
17720   PyObject 
* obj1 
= 0 ; 
17721   char *  kwnames
[] = { 
17722     (char *) "self",(char *) "c", NULL 
 
17725   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17726   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17727   if (!SWIG_IsOK(res1
)) { 
17728     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid *""'");  
17730   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17733     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17736     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17737     (arg1
)->SetSelectionBackground((wxColour 
const &)*arg2
); 
17738     wxPyEndAllowThreads(__tstate
); 
17739     if (PyErr_Occurred()) SWIG_fail
; 
17741   resultobj 
= SWIG_Py_Void(); 
17748 SWIGINTERN PyObject 
*_wrap_Grid_SetSelectionForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17749   PyObject 
*resultobj 
= 0; 
17750   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17751   wxColour 
*arg2 
= 0 ; 
17755   PyObject 
* obj0 
= 0 ; 
17756   PyObject 
* obj1 
= 0 ; 
17757   char *  kwnames
[] = { 
17758     (char *) "self",(char *) "c", NULL 
 
17761   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17762   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17763   if (!SWIG_IsOK(res1
)) { 
17764     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid *""'");  
17766   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17769     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17772     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17773     (arg1
)->SetSelectionForeground((wxColour 
const &)*arg2
); 
17774     wxPyEndAllowThreads(__tstate
); 
17775     if (PyErr_Occurred()) SWIG_fail
; 
17777   resultobj 
= SWIG_Py_Void(); 
17784 SWIGINTERN PyObject 
*_wrap_Grid_RegisterDataType(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17785   PyObject 
*resultobj 
= 0; 
17786   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17787   wxString 
*arg2 
= 0 ; 
17788   wxGridCellRenderer 
*arg3 
= (wxGridCellRenderer 
*) 0 ; 
17789   wxGridCellEditor 
*arg4 
= (wxGridCellEditor 
*) 0 ; 
17792   bool temp2 
= false ; 
17797   PyObject 
* obj0 
= 0 ; 
17798   PyObject 
* obj1 
= 0 ; 
17799   PyObject 
* obj2 
= 0 ; 
17800   PyObject 
* obj3 
= 0 ; 
17801   char *  kwnames
[] = { 
17802     (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL 
 
17805   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
17806   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17807   if (!SWIG_IsOK(res1
)) { 
17808     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_RegisterDataType" "', expected argument " "1"" of type '" "wxGrid *""'");  
17810   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17812     arg2 
= wxString_in_helper(obj1
); 
17813     if (arg2 
== NULL
) SWIG_fail
; 
17816   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellRenderer
, 0 |  0 ); 
17817   if (!SWIG_IsOK(res3
)) { 
17818     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_RegisterDataType" "', expected argument " "3"" of type '" "wxGridCellRenderer *""'");  
17820   arg3 
= reinterpret_cast< wxGridCellRenderer 
* >(argp3
); 
17821   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 |  0 ); 
17822   if (!SWIG_IsOK(res4
)) { 
17823     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_RegisterDataType" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");  
17825   arg4 
= reinterpret_cast< wxGridCellEditor 
* >(argp4
); 
17827     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17828     (arg1
)->RegisterDataType((wxString 
const &)*arg2
,arg3
,arg4
); 
17829     wxPyEndAllowThreads(__tstate
); 
17830     if (PyErr_Occurred()) SWIG_fail
; 
17832   resultobj 
= SWIG_Py_Void(); 
17847 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultEditorForCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17848   PyObject 
*resultobj 
= 0; 
17849   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17852   wxGridCellEditor 
*result 
= 0 ; 
17859   PyObject 
* obj0 
= 0 ; 
17860   PyObject 
* obj1 
= 0 ; 
17861   PyObject 
* obj2 
= 0 ; 
17862   char *  kwnames
[] = { 
17863     (char *) "self",(char *) "row",(char *) "col", NULL 
 
17866   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17867   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17868   if (!SWIG_IsOK(res1
)) { 
17869     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17871   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17872   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17873   if (!SWIG_IsOK(ecode2
)) { 
17874     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "2"" of type '" "int""'"); 
17876   arg2 
= static_cast< int >(val2
); 
17877   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17878   if (!SWIG_IsOK(ecode3
)) { 
17879     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "3"" of type '" "int""'"); 
17881   arg3 
= static_cast< int >(val3
); 
17883     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17884     result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
); 
17885     wxPyEndAllowThreads(__tstate
); 
17886     if (PyErr_Occurred()) SWIG_fail
; 
17889     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
17897 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRendererForCell(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17898   PyObject 
*resultobj 
= 0; 
17899   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17902   wxGridCellRenderer 
*result 
= 0 ; 
17909   PyObject 
* obj0 
= 0 ; 
17910   PyObject 
* obj1 
= 0 ; 
17911   PyObject 
* obj2 
= 0 ; 
17912   char *  kwnames
[] = { 
17913     (char *) "self",(char *) "row",(char *) "col", NULL 
 
17916   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17917   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17918   if (!SWIG_IsOK(res1
)) { 
17919     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17921   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17922   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17923   if (!SWIG_IsOK(ecode2
)) { 
17924     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "2"" of type '" "int""'"); 
17926   arg2 
= static_cast< int >(val2
); 
17927   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17928   if (!SWIG_IsOK(ecode3
)) { 
17929     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "3"" of type '" "int""'"); 
17931   arg3 
= static_cast< int >(val3
); 
17933     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17934     result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
); 
17935     wxPyEndAllowThreads(__tstate
); 
17936     if (PyErr_Occurred()) SWIG_fail
; 
17939     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
17947 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultEditorForType(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17948   PyObject 
*resultobj 
= 0; 
17949   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17950   wxString 
*arg2 
= 0 ; 
17951   wxGridCellEditor 
*result 
= 0 ; 
17954   bool temp2 
= false ; 
17955   PyObject 
* obj0 
= 0 ; 
17956   PyObject 
* obj1 
= 0 ; 
17957   char *  kwnames
[] = { 
17958     (char *) "self",(char *) "typeName", NULL 
 
17961   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17962   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
17963   if (!SWIG_IsOK(res1
)) { 
17964     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForType" "', expected argument " "1"" of type '" "wxGrid const *""'");  
17966   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
17968     arg2 
= wxString_in_helper(obj1
); 
17969     if (arg2 
== NULL
) SWIG_fail
; 
17973     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17974     result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditorForType((wxString 
const &)*arg2
); 
17975     wxPyEndAllowThreads(__tstate
); 
17976     if (PyErr_Occurred()) SWIG_fail
; 
17979     resultobj 
= wxPyMake_wxGridCellEditor(result
,   (bool)0);  
17995 SWIGINTERN PyObject 
*_wrap_Grid_GetDefaultRendererForType(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17996   PyObject 
*resultobj 
= 0; 
17997   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
17998   wxString 
*arg2 
= 0 ; 
17999   wxGridCellRenderer 
*result 
= 0 ; 
18002   bool temp2 
= false ; 
18003   PyObject 
* obj0 
= 0 ; 
18004   PyObject 
* obj1 
= 0 ; 
18005   char *  kwnames
[] = { 
18006     (char *) "self",(char *) "typeName", NULL 
 
18009   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18010   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18011   if (!SWIG_IsOK(res1
)) { 
18012     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForType" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18014   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18016     arg2 
= wxString_in_helper(obj1
); 
18017     if (arg2 
== NULL
) SWIG_fail
; 
18021     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18022     result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRendererForType((wxString 
const &)*arg2
); 
18023     wxPyEndAllowThreads(__tstate
); 
18024     if (PyErr_Occurred()) SWIG_fail
; 
18027     resultobj 
= wxPyMake_wxGridCellRenderer(result
, (bool)0);  
18043 SWIGINTERN PyObject 
*_wrap_Grid_SetMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18044   PyObject 
*resultobj 
= 0; 
18045   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18054   PyObject 
* obj0 
= 0 ; 
18055   PyObject 
* obj1 
= 0 ; 
18056   PyObject 
* obj2 
= 0 ; 
18057   char *  kwnames
[] = { 
18058     (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL 
 
18061   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18062   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18063   if (!SWIG_IsOK(res1
)) { 
18064     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetMargins" "', expected argument " "1"" of type '" "wxGrid *""'");  
18066   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18067   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18068   if (!SWIG_IsOK(ecode2
)) { 
18069     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetMargins" "', expected argument " "2"" of type '" "int""'"); 
18071   arg2 
= static_cast< int >(val2
); 
18072   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18073   if (!SWIG_IsOK(ecode3
)) { 
18074     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetMargins" "', expected argument " "3"" of type '" "int""'"); 
18076   arg3 
= static_cast< int >(val3
); 
18078     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18079     (arg1
)->SetMargins(arg2
,arg3
); 
18080     wxPyEndAllowThreads(__tstate
); 
18081     if (PyErr_Occurred()) SWIG_fail
; 
18083   resultobj 
= SWIG_Py_Void(); 
18090 SWIGINTERN PyObject 
*_wrap_Grid_GetGridWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18091   PyObject 
*resultobj 
= 0; 
18092   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18093   wxWindow 
*result 
= 0 ; 
18096   PyObject 
*swig_obj
[1] ; 
18098   if (!args
) SWIG_fail
; 
18099   swig_obj
[0] = args
; 
18100   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18101   if (!SWIG_IsOK(res1
)) { 
18102     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridWindow" "', expected argument " "1"" of type '" "wxGrid *""'");  
18104   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18106     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18107     result 
= (wxWindow 
*)(arg1
)->GetGridWindow(); 
18108     wxPyEndAllowThreads(__tstate
); 
18109     if (PyErr_Occurred()) SWIG_fail
; 
18112     resultobj 
= wxPyMake_wxObject(result
, 0);  
18120 SWIGINTERN PyObject 
*_wrap_Grid_GetGridRowLabelWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18121   PyObject 
*resultobj 
= 0; 
18122   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18123   wxWindow 
*result 
= 0 ; 
18126   PyObject 
*swig_obj
[1] ; 
18128   if (!args
) SWIG_fail
; 
18129   swig_obj
[0] = args
; 
18130   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18131   if (!SWIG_IsOK(res1
)) { 
18132     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridRowLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");  
18134   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18136     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18137     result 
= (wxWindow 
*)(arg1
)->GetGridRowLabelWindow(); 
18138     wxPyEndAllowThreads(__tstate
); 
18139     if (PyErr_Occurred()) SWIG_fail
; 
18142     resultobj 
= wxPyMake_wxObject(result
, 0);  
18150 SWIGINTERN PyObject 
*_wrap_Grid_GetGridColLabelWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18151   PyObject 
*resultobj 
= 0; 
18152   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18153   wxWindow 
*result 
= 0 ; 
18156   PyObject 
*swig_obj
[1] ; 
18158   if (!args
) SWIG_fail
; 
18159   swig_obj
[0] = args
; 
18160   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18161   if (!SWIG_IsOK(res1
)) { 
18162     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridColLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");  
18164   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18166     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18167     result 
= (wxWindow 
*)(arg1
)->GetGridColLabelWindow(); 
18168     wxPyEndAllowThreads(__tstate
); 
18169     if (PyErr_Occurred()) SWIG_fail
; 
18172     resultobj 
= wxPyMake_wxObject(result
, 0);  
18180 SWIGINTERN PyObject 
*_wrap_Grid_GetGridCornerLabelWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18181   PyObject 
*resultobj 
= 0; 
18182   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18183   wxWindow 
*result 
= 0 ; 
18186   PyObject 
*swig_obj
[1] ; 
18188   if (!args
) SWIG_fail
; 
18189   swig_obj
[0] = args
; 
18190   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18191   if (!SWIG_IsOK(res1
)) { 
18192     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCornerLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");  
18194   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18196     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18197     result 
= (wxWindow 
*)(arg1
)->GetGridCornerLabelWindow(); 
18198     wxPyEndAllowThreads(__tstate
); 
18199     if (PyErr_Occurred()) SWIG_fail
; 
18202     resultobj 
= wxPyMake_wxObject(result
, 0);  
18210 SWIGINTERN PyObject 
*_wrap_Grid_SetScrollLineX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18211   PyObject 
*resultobj 
= 0; 
18212   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18218   PyObject 
* obj0 
= 0 ; 
18219   PyObject 
* obj1 
= 0 ; 
18220   char *  kwnames
[] = { 
18221     (char *) "self",(char *) "x", NULL 
 
18224   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18225   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18226   if (!SWIG_IsOK(res1
)) { 
18227     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineX" "', expected argument " "1"" of type '" "wxGrid *""'");  
18229   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18230   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18231   if (!SWIG_IsOK(ecode2
)) { 
18232     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineX" "', expected argument " "2"" of type '" "int""'"); 
18234   arg2 
= static_cast< int >(val2
); 
18236     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18237     (arg1
)->SetScrollLineX(arg2
); 
18238     wxPyEndAllowThreads(__tstate
); 
18239     if (PyErr_Occurred()) SWIG_fail
; 
18241   resultobj 
= SWIG_Py_Void(); 
18248 SWIGINTERN PyObject 
*_wrap_Grid_SetScrollLineY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18249   PyObject 
*resultobj 
= 0; 
18250   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18256   PyObject 
* obj0 
= 0 ; 
18257   PyObject 
* obj1 
= 0 ; 
18258   char *  kwnames
[] = { 
18259     (char *) "self",(char *) "y", NULL 
 
18262   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18263   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18264   if (!SWIG_IsOK(res1
)) { 
18265     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineY" "', expected argument " "1"" of type '" "wxGrid *""'");  
18267   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18268   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18269   if (!SWIG_IsOK(ecode2
)) { 
18270     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineY" "', expected argument " "2"" of type '" "int""'"); 
18272   arg2 
= static_cast< int >(val2
); 
18274     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18275     (arg1
)->SetScrollLineY(arg2
); 
18276     wxPyEndAllowThreads(__tstate
); 
18277     if (PyErr_Occurred()) SWIG_fail
; 
18279   resultobj 
= SWIG_Py_Void(); 
18286 SWIGINTERN PyObject 
*_wrap_Grid_GetScrollLineX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18287   PyObject 
*resultobj 
= 0; 
18288   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18292   PyObject 
*swig_obj
[1] ; 
18294   if (!args
) SWIG_fail
; 
18295   swig_obj
[0] = args
; 
18296   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18297   if (!SWIG_IsOK(res1
)) { 
18298     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineX" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18300   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18302     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18303     result 
= (int)((wxGrid 
const *)arg1
)->GetScrollLineX(); 
18304     wxPyEndAllowThreads(__tstate
); 
18305     if (PyErr_Occurred()) SWIG_fail
; 
18307   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18314 SWIGINTERN PyObject 
*_wrap_Grid_GetScrollLineY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18315   PyObject 
*resultobj 
= 0; 
18316   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18320   PyObject 
*swig_obj
[1] ; 
18322   if (!args
) SWIG_fail
; 
18323   swig_obj
[0] = args
; 
18324   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18325   if (!SWIG_IsOK(res1
)) { 
18326     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineY" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18328   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18330     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18331     result 
= (int)((wxGrid 
const *)arg1
)->GetScrollLineY(); 
18332     wxPyEndAllowThreads(__tstate
); 
18333     if (PyErr_Occurred()) SWIG_fail
; 
18335   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18342 SWIGINTERN PyObject 
*_wrap_Grid_GetScrollX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18343   PyObject 
*resultobj 
= 0; 
18344   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18351   PyObject 
* obj0 
= 0 ; 
18352   PyObject 
* obj1 
= 0 ; 
18353   char *  kwnames
[] = { 
18354     (char *) "self",(char *) "x", NULL 
 
18357   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18358   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18359   if (!SWIG_IsOK(res1
)) { 
18360     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollX" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18362   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18363   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18364   if (!SWIG_IsOK(ecode2
)) { 
18365     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollX" "', expected argument " "2"" of type '" "int""'"); 
18367   arg2 
= static_cast< int >(val2
); 
18369     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18370     result 
= (int)((wxGrid 
const *)arg1
)->GetScrollX(arg2
); 
18371     wxPyEndAllowThreads(__tstate
); 
18372     if (PyErr_Occurred()) SWIG_fail
; 
18374   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18381 SWIGINTERN PyObject 
*_wrap_Grid_GetScrollY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18382   PyObject 
*resultobj 
= 0; 
18383   wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
18390   PyObject 
* obj0 
= 0 ; 
18391   PyObject 
* obj1 
= 0 ; 
18392   char *  kwnames
[] = { 
18393     (char *) "self",(char *) "y", NULL 
 
18396   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",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_GetScrollY" "', expected argument " "1"" of type '" "wxGrid const *""'");  
18401   arg1 
= reinterpret_cast< wxGrid 
* >(argp1
); 
18402   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18403   if (!SWIG_IsOK(ecode2
)) { 
18404     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollY" "', expected argument " "2"" of type '" "int""'"); 
18406   arg2 
= static_cast< int >(val2
); 
18408     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18409     result 
= (int)((wxGrid 
const *)arg1
)->GetScrollY(arg2
); 
18410     wxPyEndAllowThreads(__tstate
); 
18411     if (PyErr_Occurred()) SWIG_fail
; 
18413   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18420 SWIGINTERN PyObject 
*_wrap_Grid_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18421   PyObject 
*resultobj 
= 0; 
18422   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
18423   SwigValueWrapper
<wxVisualAttributes 
> result
; 
18426   PyObject 
* obj0 
= 0 ; 
18427   char *  kwnames
[] = { 
18428     (char *) "variant", NULL 
 
18431   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
18433     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
18434     if (!SWIG_IsOK(ecode1
)) { 
18435       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Grid_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
18437     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
18440     if (!wxPyCheckForApp()) SWIG_fail
; 
18441     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18442     result 
= wxGrid::GetClassDefaultAttributes(arg1
); 
18443     wxPyEndAllowThreads(__tstate
); 
18444     if (PyErr_Occurred()) SWIG_fail
; 
18446   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
18453 SWIGINTERN PyObject 
*Grid_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18455   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18456   SWIG_TypeNewClientData(SWIGTYPE_p_wxGrid
, SWIG_NewClientData(obj
)); 
18457   return SWIG_Py_Void(); 
18460 SWIGINTERN PyObject 
*Grid_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18461   return SWIG_Python_InitShadowInstance(args
); 
18464 SWIGINTERN PyObject 
*_wrap_new_GridEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18465   PyObject 
*resultobj 
= 0; 
18468   wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
18469   int arg4 
= (int) -1 ; 
18470   int arg5 
= (int) -1 ; 
18471   int arg6 
= (int) -1 ; 
18472   int arg7 
= (int) -1 ; 
18473   bool arg8 
= (bool) true ; 
18474   bool arg9 
= (bool) false ; 
18475   bool arg10 
= (bool) false ; 
18476   bool arg11 
= (bool) false ; 
18477   bool arg12 
= (bool) false ; 
18478   wxGridEvent 
*result 
= 0 ; 
18503   PyObject 
* obj0 
= 0 ; 
18504   PyObject 
* obj1 
= 0 ; 
18505   PyObject 
* obj2 
= 0 ; 
18506   PyObject 
* obj3 
= 0 ; 
18507   PyObject 
* obj4 
= 0 ; 
18508   PyObject 
* obj5 
= 0 ; 
18509   PyObject 
* obj6 
= 0 ; 
18510   PyObject 
* obj7 
= 0 ; 
18511   PyObject 
* obj8 
= 0 ; 
18512   PyObject 
* obj9 
= 0 ; 
18513   PyObject 
* obj10 
= 0 ; 
18514   PyObject 
* obj11 
= 0 ; 
18515   char *  kwnames
[] = { 
18516     (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 
 
18519   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
; 
18520   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
18521   if (!SWIG_IsOK(ecode1
)) { 
18522     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEvent" "', expected argument " "1"" of type '" "int""'"); 
18524   arg1 
= static_cast< int >(val1
); 
18525   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18526   if (!SWIG_IsOK(ecode2
)) { 
18527     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEvent" "', expected argument " "2"" of type '" "wxEventType""'"); 
18529   arg2 
= static_cast< wxEventType 
>(val2
); 
18530   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18531   if (!SWIG_IsOK(res3
)) { 
18532     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEvent" "', expected argument " "3"" of type '" "wxGrid *""'");  
18534   arg3 
= reinterpret_cast< wxGrid 
* >(argp3
); 
18536     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
18537     if (!SWIG_IsOK(ecode4
)) { 
18538       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEvent" "', expected argument " "4"" of type '" "int""'"); 
18540     arg4 
= static_cast< int >(val4
); 
18543     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
18544     if (!SWIG_IsOK(ecode5
)) { 
18545       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEvent" "', expected argument " "5"" of type '" "int""'"); 
18547     arg5 
= static_cast< int >(val5
); 
18550     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
18551     if (!SWIG_IsOK(ecode6
)) { 
18552       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridEvent" "', expected argument " "6"" of type '" "int""'"); 
18554     arg6 
= static_cast< int >(val6
); 
18557     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
18558     if (!SWIG_IsOK(ecode7
)) { 
18559       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridEvent" "', expected argument " "7"" of type '" "int""'"); 
18561     arg7 
= static_cast< int >(val7
); 
18564     ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
18565     if (!SWIG_IsOK(ecode8
)) { 
18566       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridEvent" "', expected argument " "8"" of type '" "bool""'"); 
18568     arg8 
= static_cast< bool >(val8
); 
18571     ecode9 
= SWIG_AsVal_bool(obj8
, &val9
); 
18572     if (!SWIG_IsOK(ecode9
)) { 
18573       SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridEvent" "', expected argument " "9"" of type '" "bool""'"); 
18575     arg9 
= static_cast< bool >(val9
); 
18578     ecode10 
= SWIG_AsVal_bool(obj9
, &val10
); 
18579     if (!SWIG_IsOK(ecode10
)) { 
18580       SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridEvent" "', expected argument " "10"" of type '" "bool""'"); 
18582     arg10 
= static_cast< bool >(val10
); 
18585     ecode11 
= SWIG_AsVal_bool(obj10
, &val11
); 
18586     if (!SWIG_IsOK(ecode11
)) { 
18587       SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "new_GridEvent" "', expected argument " "11"" of type '" "bool""'"); 
18589     arg11 
= static_cast< bool >(val11
); 
18592     ecode12 
= SWIG_AsVal_bool(obj11
, &val12
); 
18593     if (!SWIG_IsOK(ecode12
)) { 
18594       SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "new_GridEvent" "', expected argument " "12"" of type '" "bool""'"); 
18596     arg12 
= static_cast< bool >(val12
); 
18599     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18600     result 
= (wxGridEvent 
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
18601     wxPyEndAllowThreads(__tstate
); 
18602     if (PyErr_Occurred()) SWIG_fail
; 
18604   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_NEW 
|  0 ); 
18611 SWIGINTERN PyObject 
*_wrap_GridEvent_GetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18612   PyObject 
*resultobj 
= 0; 
18613   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
18617   PyObject 
*swig_obj
[1] ; 
18619   if (!args
) SWIG_fail
; 
18620   swig_obj
[0] = args
; 
18621   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
18622   if (!SWIG_IsOK(res1
)) { 
18623     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
18625   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
18627     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18628     result 
= (int)(arg1
)->GetRow(); 
18629     wxPyEndAllowThreads(__tstate
); 
18630     if (PyErr_Occurred()) SWIG_fail
; 
18632   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18639 SWIGINTERN PyObject 
*_wrap_GridEvent_GetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18640   PyObject 
*resultobj 
= 0; 
18641   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
18645   PyObject 
*swig_obj
[1] ; 
18647   if (!args
) SWIG_fail
; 
18648   swig_obj
[0] = args
; 
18649   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
18650   if (!SWIG_IsOK(res1
)) { 
18651     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
18653   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
18655     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18656     result 
= (int)(arg1
)->GetCol(); 
18657     wxPyEndAllowThreads(__tstate
); 
18658     if (PyErr_Occurred()) SWIG_fail
; 
18660   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18667 SWIGINTERN PyObject 
*_wrap_GridEvent_GetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18668   PyObject 
*resultobj 
= 0; 
18669   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
18673   PyObject 
*swig_obj
[1] ; 
18675   if (!args
) SWIG_fail
; 
18676   swig_obj
[0] = args
; 
18677   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
18678   if (!SWIG_IsOK(res1
)) { 
18679     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
18681   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
18683     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18684     result 
= (arg1
)->GetPosition(); 
18685     wxPyEndAllowThreads(__tstate
); 
18686     if (PyErr_Occurred()) SWIG_fail
; 
18688   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
18695 SWIGINTERN PyObject 
*_wrap_GridEvent_Selecting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18696   PyObject 
*resultobj 
= 0; 
18697   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
18701   PyObject 
*swig_obj
[1] ; 
18703   if (!args
) SWIG_fail
; 
18704   swig_obj
[0] = args
; 
18705   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 |  0 ); 
18706   if (!SWIG_IsOK(res1
)) { 
18707     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_Selecting" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
18709   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
18711     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18712     result 
= (bool)(arg1
)->Selecting(); 
18713     wxPyEndAllowThreads(__tstate
); 
18714     if (PyErr_Occurred()) SWIG_fail
; 
18717     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18725 SWIGINTERN PyObject 
*_wrap_GridEvent_ControlDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18726   PyObject 
*resultobj 
= 0; 
18727   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 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_wxGridEvent
, 0 |  0 ); 
18736   if (!SWIG_IsOK(res1
)) { 
18737     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
18739   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
18741     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18742     result 
= (bool)(arg1
)->ControlDown(); 
18743     wxPyEndAllowThreads(__tstate
); 
18744     if (PyErr_Occurred()) SWIG_fail
; 
18747     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18755 SWIGINTERN PyObject 
*_wrap_GridEvent_MetaDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18756   PyObject 
*resultobj 
= 0; 
18757   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 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_wxGridEvent
, 0 |  0 ); 
18766   if (!SWIG_IsOK(res1
)) { 
18767     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
18769   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
18771     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18772     result 
= (bool)(arg1
)->MetaDown(); 
18773     wxPyEndAllowThreads(__tstate
); 
18774     if (PyErr_Occurred()) SWIG_fail
; 
18777     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18785 SWIGINTERN PyObject 
*_wrap_GridEvent_ShiftDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18786   PyObject 
*resultobj 
= 0; 
18787   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 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_wxGridEvent
, 0 |  0 ); 
18796   if (!SWIG_IsOK(res1
)) { 
18797     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
18799   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
18801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18802     result 
= (bool)(arg1
)->ShiftDown(); 
18803     wxPyEndAllowThreads(__tstate
); 
18804     if (PyErr_Occurred()) SWIG_fail
; 
18807     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18815 SWIGINTERN PyObject 
*_wrap_GridEvent_AltDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18816   PyObject 
*resultobj 
= 0; 
18817   wxGridEvent 
*arg1 
= (wxGridEvent 
*) 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_wxGridEvent
, 0 |  0 ); 
18826   if (!SWIG_IsOK(res1
)) { 
18827     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_AltDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");  
18829   arg1 
= reinterpret_cast< wxGridEvent 
* >(argp1
); 
18831     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18832     result 
= (bool)(arg1
)->AltDown(); 
18833     wxPyEndAllowThreads(__tstate
); 
18834     if (PyErr_Occurred()) SWIG_fail
; 
18837     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18845 SWIGINTERN PyObject 
*GridEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18847   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18848   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEvent
, SWIG_NewClientData(obj
)); 
18849   return SWIG_Py_Void(); 
18852 SWIGINTERN PyObject 
*GridEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18853   return SWIG_Python_InitShadowInstance(args
); 
18856 SWIGINTERN PyObject 
*_wrap_new_GridSizeEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18857   PyObject 
*resultobj 
= 0; 
18860   wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
18861   int arg4 
= (int) -1 ; 
18862   int arg5 
= (int) -1 ; 
18863   int arg6 
= (int) -1 ; 
18864   bool arg7 
= (bool) false ; 
18865   bool arg8 
= (bool) false ; 
18866   bool arg9 
= (bool) false ; 
18867   bool arg10 
= (bool) false ; 
18868   wxGridSizeEvent 
*result 
= 0 ; 
18889   PyObject 
* obj0 
= 0 ; 
18890   PyObject 
* obj1 
= 0 ; 
18891   PyObject 
* obj2 
= 0 ; 
18892   PyObject 
* obj3 
= 0 ; 
18893   PyObject 
* obj4 
= 0 ; 
18894   PyObject 
* obj5 
= 0 ; 
18895   PyObject 
* obj6 
= 0 ; 
18896   PyObject 
* obj7 
= 0 ; 
18897   PyObject 
* obj8 
= 0 ; 
18898   PyObject 
* obj9 
= 0 ; 
18899   char *  kwnames
[] = { 
18900     (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL 
 
18903   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
; 
18904   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
18905   if (!SWIG_IsOK(ecode1
)) { 
18906     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizeEvent" "', expected argument " "1"" of type '" "int""'"); 
18908   arg1 
= static_cast< int >(val1
); 
18909   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18910   if (!SWIG_IsOK(ecode2
)) { 
18911     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizeEvent" "', expected argument " "2"" of type '" "wxEventType""'"); 
18913   arg2 
= static_cast< wxEventType 
>(val2
); 
18914   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
18915   if (!SWIG_IsOK(res3
)) { 
18916     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridSizeEvent" "', expected argument " "3"" of type '" "wxGrid *""'");  
18918   arg3 
= reinterpret_cast< wxGrid 
* >(argp3
); 
18920     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
18921     if (!SWIG_IsOK(ecode4
)) { 
18922       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizeEvent" "', expected argument " "4"" of type '" "int""'"); 
18924     arg4 
= static_cast< int >(val4
); 
18927     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
18928     if (!SWIG_IsOK(ecode5
)) { 
18929       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridSizeEvent" "', expected argument " "5"" of type '" "int""'"); 
18931     arg5 
= static_cast< int >(val5
); 
18934     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
18935     if (!SWIG_IsOK(ecode6
)) { 
18936       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridSizeEvent" "', expected argument " "6"" of type '" "int""'"); 
18938     arg6 
= static_cast< int >(val6
); 
18941     ecode7 
= SWIG_AsVal_bool(obj6
, &val7
); 
18942     if (!SWIG_IsOK(ecode7
)) { 
18943       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridSizeEvent" "', expected argument " "7"" of type '" "bool""'"); 
18945     arg7 
= static_cast< bool >(val7
); 
18948     ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
18949     if (!SWIG_IsOK(ecode8
)) { 
18950       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridSizeEvent" "', expected argument " "8"" of type '" "bool""'"); 
18952     arg8 
= static_cast< bool >(val8
); 
18955     ecode9 
= SWIG_AsVal_bool(obj8
, &val9
); 
18956     if (!SWIG_IsOK(ecode9
)) { 
18957       SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridSizeEvent" "', expected argument " "9"" of type '" "bool""'"); 
18959     arg9 
= static_cast< bool >(val9
); 
18962     ecode10 
= SWIG_AsVal_bool(obj9
, &val10
); 
18963     if (!SWIG_IsOK(ecode10
)) { 
18964       SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridSizeEvent" "', expected argument " "10"" of type '" "bool""'"); 
18966     arg10 
= static_cast< bool >(val10
); 
18969     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18970     result 
= (wxGridSizeEvent 
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
18971     wxPyEndAllowThreads(__tstate
); 
18972     if (PyErr_Occurred()) SWIG_fail
; 
18974   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_NEW 
|  0 ); 
18981 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_GetRowOrCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18982   PyObject 
*resultobj 
= 0; 
18983   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
18987   PyObject 
*swig_obj
[1] ; 
18989   if (!args
) SWIG_fail
; 
18990   swig_obj
[0] = args
; 
18991   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
18992   if (!SWIG_IsOK(res1
)) { 
18993     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetRowOrCol" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
18995   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
18997     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18998     result 
= (int)(arg1
)->GetRowOrCol(); 
18999     wxPyEndAllowThreads(__tstate
); 
19000     if (PyErr_Occurred()) SWIG_fail
; 
19002   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19009 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_GetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19010   PyObject 
*resultobj 
= 0; 
19011   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19015   PyObject 
*swig_obj
[1] ; 
19017   if (!args
) SWIG_fail
; 
19018   swig_obj
[0] = args
; 
19019   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19020   if (!SWIG_IsOK(res1
)) { 
19021     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19023   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19025     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19026     result 
= (arg1
)->GetPosition(); 
19027     wxPyEndAllowThreads(__tstate
); 
19028     if (PyErr_Occurred()) SWIG_fail
; 
19030   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
19037 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_ControlDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19038   PyObject 
*resultobj 
= 0; 
19039   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19043   PyObject 
*swig_obj
[1] ; 
19045   if (!args
) SWIG_fail
; 
19046   swig_obj
[0] = args
; 
19047   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19048   if (!SWIG_IsOK(res1
)) { 
19049     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19051   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19053     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19054     result 
= (bool)(arg1
)->ControlDown(); 
19055     wxPyEndAllowThreads(__tstate
); 
19056     if (PyErr_Occurred()) SWIG_fail
; 
19059     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19067 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_MetaDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19068   PyObject 
*resultobj 
= 0; 
19069   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19073   PyObject 
*swig_obj
[1] ; 
19075   if (!args
) SWIG_fail
; 
19076   swig_obj
[0] = args
; 
19077   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19078   if (!SWIG_IsOK(res1
)) { 
19079     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19081   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19083     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19084     result 
= (bool)(arg1
)->MetaDown(); 
19085     wxPyEndAllowThreads(__tstate
); 
19086     if (PyErr_Occurred()) SWIG_fail
; 
19089     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19097 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_ShiftDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19098   PyObject 
*resultobj 
= 0; 
19099   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19103   PyObject 
*swig_obj
[1] ; 
19105   if (!args
) SWIG_fail
; 
19106   swig_obj
[0] = args
; 
19107   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19108   if (!SWIG_IsOK(res1
)) { 
19109     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19111   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19113     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19114     result 
= (bool)(arg1
)->ShiftDown(); 
19115     wxPyEndAllowThreads(__tstate
); 
19116     if (PyErr_Occurred()) SWIG_fail
; 
19119     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19127 SWIGINTERN PyObject 
*_wrap_GridSizeEvent_AltDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19128   PyObject 
*resultobj 
= 0; 
19129   wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
19133   PyObject 
*swig_obj
[1] ; 
19135   if (!args
) SWIG_fail
; 
19136   swig_obj
[0] = args
; 
19137   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 |  0 ); 
19138   if (!SWIG_IsOK(res1
)) { 
19139     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_AltDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");  
19141   arg1 
= reinterpret_cast< wxGridSizeEvent 
* >(argp1
); 
19143     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19144     result 
= (bool)(arg1
)->AltDown(); 
19145     wxPyEndAllowThreads(__tstate
); 
19146     if (PyErr_Occurred()) SWIG_fail
; 
19149     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19157 SWIGINTERN PyObject 
*GridSizeEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19159   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19160   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizeEvent
, SWIG_NewClientData(obj
)); 
19161   return SWIG_Py_Void(); 
19164 SWIGINTERN PyObject 
*GridSizeEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19165   return SWIG_Python_InitShadowInstance(args
); 
19168 SWIGINTERN PyObject 
*_wrap_new_GridRangeSelectEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19169   PyObject 
*resultobj 
= 0; 
19172   wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
19173   wxGridCellCoords 
*arg4 
= 0 ; 
19174   wxGridCellCoords 
*arg5 
= 0 ; 
19175   bool arg6 
= (bool) true ; 
19176   bool arg7 
= (bool) false ; 
19177   bool arg8 
= (bool) false ; 
19178   bool arg9 
= (bool) false ; 
19179   bool arg10 
= (bool) false ; 
19180   wxGridRangeSelectEvent 
*result 
= 0 ; 
19187   wxGridCellCoords temp4 
; 
19188   wxGridCellCoords temp5 
; 
19199   PyObject 
* obj0 
= 0 ; 
19200   PyObject 
* obj1 
= 0 ; 
19201   PyObject 
* obj2 
= 0 ; 
19202   PyObject 
* obj3 
= 0 ; 
19203   PyObject 
* obj4 
= 0 ; 
19204   PyObject 
* obj5 
= 0 ; 
19205   PyObject 
* obj6 
= 0 ; 
19206   PyObject 
* obj7 
= 0 ; 
19207   PyObject 
* obj8 
= 0 ; 
19208   PyObject 
* obj9 
= 0 ; 
19209   char *  kwnames
[] = { 
19210     (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL 
 
19213   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
; 
19214   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19215   if (!SWIG_IsOK(ecode1
)) { 
19216     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "1"" of type '" "int""'"); 
19218   arg1 
= static_cast< int >(val1
); 
19219   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19220   if (!SWIG_IsOK(ecode2
)) { 
19221     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "2"" of type '" "wxEventType""'"); 
19223   arg2 
= static_cast< wxEventType 
>(val2
); 
19224   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 |  0 ); 
19225   if (!SWIG_IsOK(res3
)) { 
19226     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "3"" of type '" "wxGrid *""'");  
19228   arg3 
= reinterpret_cast< wxGrid 
* >(argp3
); 
19231     if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
; 
19235     if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
; 
19238     ecode6 
= SWIG_AsVal_bool(obj5
, &val6
); 
19239     if (!SWIG_IsOK(ecode6
)) { 
19240       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "6"" of type '" "bool""'"); 
19242     arg6 
= static_cast< bool >(val6
); 
19245     ecode7 
= SWIG_AsVal_bool(obj6
, &val7
); 
19246     if (!SWIG_IsOK(ecode7
)) { 
19247       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "7"" of type '" "bool""'"); 
19249     arg7 
= static_cast< bool >(val7
); 
19252     ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
19253     if (!SWIG_IsOK(ecode8
)) { 
19254       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "8"" of type '" "bool""'"); 
19256     arg8 
= static_cast< bool >(val8
); 
19259     ecode9 
= SWIG_AsVal_bool(obj8
, &val9
); 
19260     if (!SWIG_IsOK(ecode9
)) { 
19261       SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "9"" of type '" "bool""'"); 
19263     arg9 
= static_cast< bool >(val9
); 
19266     ecode10 
= SWIG_AsVal_bool(obj9
, &val10
); 
19267     if (!SWIG_IsOK(ecode10
)) { 
19268       SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "10"" of type '" "bool""'"); 
19270     arg10 
= static_cast< bool >(val10
); 
19273     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19274     result 
= (wxGridRangeSelectEvent 
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords 
const &)*arg4
,(wxGridCellCoords 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
19275     wxPyEndAllowThreads(__tstate
); 
19276     if (PyErr_Occurred()) SWIG_fail
; 
19278   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_NEW 
|  0 ); 
19285 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19286   PyObject 
*resultobj 
= 0; 
19287   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19288   wxGridCellCoords result
; 
19291   PyObject 
*swig_obj
[1] ; 
19293   if (!args
) SWIG_fail
; 
19294   swig_obj
[0] = args
; 
19295   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19296   if (!SWIG_IsOK(res1
)) { 
19297     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopLeftCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19299   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19301     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19302     result 
= (arg1
)->GetTopLeftCoords(); 
19303     wxPyEndAllowThreads(__tstate
); 
19304     if (PyErr_Occurred()) SWIG_fail
; 
19306   resultobj 
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN 
|  0 ); 
19313 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19314   PyObject 
*resultobj 
= 0; 
19315   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19316   wxGridCellCoords result
; 
19319   PyObject 
*swig_obj
[1] ; 
19321   if (!args
) SWIG_fail
; 
19322   swig_obj
[0] = args
; 
19323   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19324   if (!SWIG_IsOK(res1
)) { 
19325     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRightCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19327   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19329     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19330     result 
= (arg1
)->GetBottomRightCoords(); 
19331     wxPyEndAllowThreads(__tstate
); 
19332     if (PyErr_Occurred()) SWIG_fail
; 
19334   resultobj 
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN 
|  0 ); 
19341 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19342   PyObject 
*resultobj 
= 0; 
19343   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19347   PyObject 
*swig_obj
[1] ; 
19349   if (!args
) SWIG_fail
; 
19350   swig_obj
[0] = args
; 
19351   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19352   if (!SWIG_IsOK(res1
)) { 
19353     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19355   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19357     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19358     result 
= (int)(arg1
)->GetTopRow(); 
19359     wxPyEndAllowThreads(__tstate
); 
19360     if (PyErr_Occurred()) SWIG_fail
; 
19362   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19369 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19370   PyObject 
*resultobj 
= 0; 
19371   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19375   PyObject 
*swig_obj
[1] ; 
19377   if (!args
) SWIG_fail
; 
19378   swig_obj
[0] = args
; 
19379   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19380   if (!SWIG_IsOK(res1
)) { 
19381     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19383   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19385     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19386     result 
= (int)(arg1
)->GetBottomRow(); 
19387     wxPyEndAllowThreads(__tstate
); 
19388     if (PyErr_Occurred()) SWIG_fail
; 
19390   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19397 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19398   PyObject 
*resultobj 
= 0; 
19399   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19403   PyObject 
*swig_obj
[1] ; 
19405   if (!args
) SWIG_fail
; 
19406   swig_obj
[0] = args
; 
19407   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19408   if (!SWIG_IsOK(res1
)) { 
19409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetLeftCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19411   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19414     result 
= (int)(arg1
)->GetLeftCol(); 
19415     wxPyEndAllowThreads(__tstate
); 
19416     if (PyErr_Occurred()) SWIG_fail
; 
19418   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19425 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19426   PyObject 
*resultobj 
= 0; 
19427   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19431   PyObject 
*swig_obj
[1] ; 
19433   if (!args
) SWIG_fail
; 
19434   swig_obj
[0] = args
; 
19435   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19436   if (!SWIG_IsOK(res1
)) { 
19437     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetRightCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19439   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19441     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19442     result 
= (int)(arg1
)->GetRightCol(); 
19443     wxPyEndAllowThreads(__tstate
); 
19444     if (PyErr_Occurred()) SWIG_fail
; 
19446   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19453 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_Selecting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19454   PyObject 
*resultobj 
= 0; 
19455   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19459   PyObject 
*swig_obj
[1] ; 
19461   if (!args
) SWIG_fail
; 
19462   swig_obj
[0] = args
; 
19463   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19464   if (!SWIG_IsOK(res1
)) { 
19465     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_Selecting" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19467   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19470     result 
= (bool)(arg1
)->Selecting(); 
19471     wxPyEndAllowThreads(__tstate
); 
19472     if (PyErr_Occurred()) SWIG_fail
; 
19475     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19483 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_ControlDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19484   PyObject 
*resultobj 
= 0; 
19485   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19489   PyObject 
*swig_obj
[1] ; 
19491   if (!args
) SWIG_fail
; 
19492   swig_obj
[0] = args
; 
19493   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19494   if (!SWIG_IsOK(res1
)) { 
19495     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19497   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19500     result 
= (bool)(arg1
)->ControlDown(); 
19501     wxPyEndAllowThreads(__tstate
); 
19502     if (PyErr_Occurred()) SWIG_fail
; 
19505     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19513 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_MetaDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19514   PyObject 
*resultobj 
= 0; 
19515   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19519   PyObject 
*swig_obj
[1] ; 
19521   if (!args
) SWIG_fail
; 
19522   swig_obj
[0] = args
; 
19523   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19524   if (!SWIG_IsOK(res1
)) { 
19525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19527   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19530     result 
= (bool)(arg1
)->MetaDown(); 
19531     wxPyEndAllowThreads(__tstate
); 
19532     if (PyErr_Occurred()) SWIG_fail
; 
19535     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19543 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19544   PyObject 
*resultobj 
= 0; 
19545   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19549   PyObject 
*swig_obj
[1] ; 
19551   if (!args
) SWIG_fail
; 
19552   swig_obj
[0] = args
; 
19553   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19554   if (!SWIG_IsOK(res1
)) { 
19555     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19557   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19560     result 
= (bool)(arg1
)->ShiftDown(); 
19561     wxPyEndAllowThreads(__tstate
); 
19562     if (PyErr_Occurred()) SWIG_fail
; 
19565     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19573 SWIGINTERN PyObject 
*_wrap_GridRangeSelectEvent_AltDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19574   PyObject 
*resultobj 
= 0; 
19575   wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
19579   PyObject 
*swig_obj
[1] ; 
19581   if (!args
) SWIG_fail
; 
19582   swig_obj
[0] = args
; 
19583   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 |  0 ); 
19584   if (!SWIG_IsOK(res1
)) { 
19585     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_AltDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");  
19587   arg1 
= reinterpret_cast< wxGridRangeSelectEvent 
* >(argp1
); 
19589     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19590     result 
= (bool)(arg1
)->AltDown(); 
19591     wxPyEndAllowThreads(__tstate
); 
19592     if (PyErr_Occurred()) SWIG_fail
; 
19595     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19603 SWIGINTERN PyObject 
*GridRangeSelectEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19605   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19606   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_NewClientData(obj
)); 
19607   return SWIG_Py_Void(); 
19610 SWIGINTERN PyObject 
*GridRangeSelectEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19611   return SWIG_Python_InitShadowInstance(args
); 
19614 SWIGINTERN PyObject 
*_wrap_new_GridEditorCreatedEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19615   PyObject 
*resultobj 
= 0; 
19618   wxObject 
*arg3 
= (wxObject 
*) 0 ; 
19621   wxControl 
*arg6 
= (wxControl 
*) 0 ; 
19622   wxGridEditorCreatedEvent 
*result 
= 0 ; 
19635   PyObject 
* obj0 
= 0 ; 
19636   PyObject 
* obj1 
= 0 ; 
19637   PyObject 
* obj2 
= 0 ; 
19638   PyObject 
* obj3 
= 0 ; 
19639   PyObject 
* obj4 
= 0 ; 
19640   PyObject 
* obj5 
= 0 ; 
19641   char *  kwnames
[] = { 
19642     (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL 
 
19645   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
19646   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19647   if (!SWIG_IsOK(ecode1
)) { 
19648     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "1"" of type '" "int""'"); 
19650   arg1 
= static_cast< int >(val1
); 
19651   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19652   if (!SWIG_IsOK(ecode2
)) { 
19653     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "2"" of type '" "wxEventType""'"); 
19655   arg2 
= static_cast< wxEventType 
>(val2
); 
19656   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxObject
, 0 |  0 ); 
19657   if (!SWIG_IsOK(res3
)) { 
19658     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "3"" of type '" "wxObject *""'");  
19660   arg3 
= reinterpret_cast< wxObject 
* >(argp3
); 
19661   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
19662   if (!SWIG_IsOK(ecode4
)) { 
19663     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "4"" of type '" "int""'"); 
19665   arg4 
= static_cast< int >(val4
); 
19666   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19667   if (!SWIG_IsOK(ecode5
)) { 
19668     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "5"" of type '" "int""'"); 
19670   arg5 
= static_cast< int >(val5
); 
19671   res6 
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxControl
, 0 |  0 ); 
19672   if (!SWIG_IsOK(res6
)) { 
19673     SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "6"" of type '" "wxControl *""'");  
19675   arg6 
= reinterpret_cast< wxControl 
* >(argp6
); 
19677     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19678     result 
= (wxGridEditorCreatedEvent 
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
); 
19679     wxPyEndAllowThreads(__tstate
); 
19680     if (PyErr_Occurred()) SWIG_fail
; 
19682   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_NEW 
|  0 ); 
19689 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_GetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19690   PyObject 
*resultobj 
= 0; 
19691   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
19695   PyObject 
*swig_obj
[1] ; 
19697   if (!args
) SWIG_fail
; 
19698   swig_obj
[0] = args
; 
19699   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
19700   if (!SWIG_IsOK(res1
)) { 
19701     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
19703   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
19705     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19706     result 
= (int)(arg1
)->GetRow(); 
19707     wxPyEndAllowThreads(__tstate
); 
19708     if (PyErr_Occurred()) SWIG_fail
; 
19710   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19717 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_GetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19718   PyObject 
*resultobj 
= 0; 
19719   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
19723   PyObject 
*swig_obj
[1] ; 
19725   if (!args
) SWIG_fail
; 
19726   swig_obj
[0] = args
; 
19727   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
19728   if (!SWIG_IsOK(res1
)) { 
19729     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
19731   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
19733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19734     result 
= (int)(arg1
)->GetCol(); 
19735     wxPyEndAllowThreads(__tstate
); 
19736     if (PyErr_Occurred()) SWIG_fail
; 
19738   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19745 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_GetControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19746   PyObject 
*resultobj 
= 0; 
19747   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
19748   wxControl 
*result 
= 0 ; 
19751   PyObject 
*swig_obj
[1] ; 
19753   if (!args
) SWIG_fail
; 
19754   swig_obj
[0] = args
; 
19755   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
19756   if (!SWIG_IsOK(res1
)) { 
19757     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
19759   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
19761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19762     result 
= (wxControl 
*)(arg1
)->GetControl(); 
19763     wxPyEndAllowThreads(__tstate
); 
19764     if (PyErr_Occurred()) SWIG_fail
; 
19767     resultobj 
= wxPyMake_wxObject(result
, 0);  
19775 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_SetRow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19776   PyObject 
*resultobj 
= 0; 
19777   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
19783   PyObject 
* obj0 
= 0 ; 
19784   PyObject 
* obj1 
= 0 ; 
19785   char *  kwnames
[] = { 
19786     (char *) "self",(char *) "row", NULL 
 
19789   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19790   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
19791   if (!SWIG_IsOK(res1
)) { 
19792     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
19794   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
19795   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19796   if (!SWIG_IsOK(ecode2
)) { 
19797     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "2"" of type '" "int""'"); 
19799   arg2 
= static_cast< int >(val2
); 
19801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19802     (arg1
)->SetRow(arg2
); 
19803     wxPyEndAllowThreads(__tstate
); 
19804     if (PyErr_Occurred()) SWIG_fail
; 
19806   resultobj 
= SWIG_Py_Void(); 
19813 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_SetCol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19814   PyObject 
*resultobj 
= 0; 
19815   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
19821   PyObject 
* obj0 
= 0 ; 
19822   PyObject 
* obj1 
= 0 ; 
19823   char *  kwnames
[] = { 
19824     (char *) "self",(char *) "col", NULL 
 
19827   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19828   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
19829   if (!SWIG_IsOK(res1
)) { 
19830     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
19832   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
19833   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19834   if (!SWIG_IsOK(ecode2
)) { 
19835     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "2"" of type '" "int""'"); 
19837   arg2 
= static_cast< int >(val2
); 
19839     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19840     (arg1
)->SetCol(arg2
); 
19841     wxPyEndAllowThreads(__tstate
); 
19842     if (PyErr_Occurred()) SWIG_fail
; 
19844   resultobj 
= SWIG_Py_Void(); 
19851 SWIGINTERN PyObject 
*_wrap_GridEditorCreatedEvent_SetControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19852   PyObject 
*resultobj 
= 0; 
19853   wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
19854   wxControl 
*arg2 
= (wxControl 
*) 0 ; 
19859   PyObject 
* obj0 
= 0 ; 
19860   PyObject 
* obj1 
= 0 ; 
19861   char *  kwnames
[] = { 
19862     (char *) "self",(char *) "ctrl", NULL 
 
19865   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19866   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 |  0 ); 
19867   if (!SWIG_IsOK(res1
)) { 
19868     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");  
19870   arg1 
= reinterpret_cast< wxGridEditorCreatedEvent 
* >(argp1
); 
19871   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 |  0 ); 
19872   if (!SWIG_IsOK(res2
)) { 
19873     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");  
19875   arg2 
= reinterpret_cast< wxControl 
* >(argp2
); 
19877     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19878     (arg1
)->SetControl(arg2
); 
19879     wxPyEndAllowThreads(__tstate
); 
19880     if (PyErr_Occurred()) SWIG_fail
; 
19882   resultobj 
= SWIG_Py_Void(); 
19889 SWIGINTERN PyObject 
*GridEditorCreatedEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19891   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19892   SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_NewClientData(obj
)); 
19893   return SWIG_Py_Void(); 
19896 SWIGINTERN PyObject 
*GridEditorCreatedEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19897   return SWIG_Python_InitShadowInstance(args
); 
19900 static PyMethodDef SwigMethods
[] = { 
19901          { (char *)"GridCellWorker__setOORInfo", (PyCFunction
) _wrap_GridCellWorker__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19902          { (char *)"delete_GridCellWorker", (PyCFunction
)_wrap_delete_GridCellWorker
, METH_O
, NULL
}, 
19903          { (char *)"GridCellWorker_SetParameters", (PyCFunction
) _wrap_GridCellWorker_SetParameters
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19904          { (char *)"GridCellWorker_IncRef", (PyCFunction
)_wrap_GridCellWorker_IncRef
, METH_O
, NULL
}, 
19905          { (char *)"GridCellWorker_DecRef", (PyCFunction
)_wrap_GridCellWorker_DecRef
, METH_O
, NULL
}, 
19906          { (char *)"GridCellWorker_swigregister", GridCellWorker_swigregister
, METH_VARARGS
, NULL
}, 
19907          { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
}, 
19908          { (char *)"new_PyGridCellRenderer", (PyCFunction
)_wrap_new_PyGridCellRenderer
, METH_NOARGS
, NULL
}, 
19909          { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19910          { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19911          { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
}, 
19912          { (char *)"PyGridCellRenderer_swiginit", PyGridCellRenderer_swiginit
, METH_VARARGS
, NULL
}, 
19913          { (char *)"new_GridCellStringRenderer", (PyCFunction
)_wrap_new_GridCellStringRenderer
, METH_NOARGS
, NULL
}, 
19914          { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
}, 
19915          { (char *)"GridCellStringRenderer_swiginit", GridCellStringRenderer_swiginit
, METH_VARARGS
, NULL
}, 
19916          { (char *)"new_GridCellNumberRenderer", (PyCFunction
)_wrap_new_GridCellNumberRenderer
, METH_NOARGS
, NULL
}, 
19917          { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
}, 
19918          { (char *)"GridCellNumberRenderer_swiginit", GridCellNumberRenderer_swiginit
, METH_VARARGS
, NULL
}, 
19919          { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19920          { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
)_wrap_GridCellFloatRenderer_GetWidth
, METH_O
, NULL
}, 
19921          { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19922          { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
)_wrap_GridCellFloatRenderer_GetPrecision
, METH_O
, NULL
}, 
19923          { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19924          { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
}, 
19925          { (char *)"GridCellFloatRenderer_swiginit", GridCellFloatRenderer_swiginit
, METH_VARARGS
, NULL
}, 
19926          { (char *)"new_GridCellBoolRenderer", (PyCFunction
)_wrap_new_GridCellBoolRenderer
, METH_NOARGS
, NULL
}, 
19927          { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
}, 
19928          { (char *)"GridCellBoolRenderer_swiginit", GridCellBoolRenderer_swiginit
, METH_VARARGS
, NULL
}, 
19929          { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19930          { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
}, 
19931          { (char *)"GridCellDateTimeRenderer_swiginit", GridCellDateTimeRenderer_swiginit
, METH_VARARGS
, NULL
}, 
19932          { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19933          { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
}, 
19934          { (char *)"GridCellEnumRenderer_swiginit", GridCellEnumRenderer_swiginit
, METH_VARARGS
, NULL
}, 
19935          { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
)_wrap_new_GridCellAutoWrapStringRenderer
, METH_NOARGS
, NULL
}, 
19936          { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
}, 
19937          { (char *)"GridCellAutoWrapStringRenderer_swiginit", GridCellAutoWrapStringRenderer_swiginit
, METH_VARARGS
, NULL
}, 
19938          { (char *)"GridCellEditor_IsCreated", (PyCFunction
)_wrap_GridCellEditor_IsCreated
, METH_O
, NULL
}, 
19939          { (char *)"GridCellEditor_GetControl", (PyCFunction
)_wrap_GridCellEditor_GetControl
, METH_O
, NULL
}, 
19940          { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19941          { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
)_wrap_GridCellEditor_GetCellAttr
, METH_O
, NULL
}, 
19942          { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19943          { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19944          { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19945          { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19946          { (char *)"GridCellEditor_Reset", (PyCFunction
)_wrap_GridCellEditor_Reset
, METH_O
, NULL
}, 
19947          { (char *)"GridCellEditor_Clone", (PyCFunction
)_wrap_GridCellEditor_Clone
, METH_O
, NULL
}, 
19948          { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19949          { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19950          { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19951          { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19952          { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19953          { (char *)"GridCellEditor_StartingClick", (PyCFunction
)_wrap_GridCellEditor_StartingClick
, METH_O
, NULL
}, 
19954          { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19955          { (char *)"GridCellEditor_Destroy", (PyCFunction
)_wrap_GridCellEditor_Destroy
, METH_O
, NULL
}, 
19956          { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
}, 
19957          { (char *)"new_PyGridCellEditor", (PyCFunction
)_wrap_new_PyGridCellEditor
, METH_NOARGS
, NULL
}, 
19958          { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19959          { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19960          { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
}, 
19961          { (char *)"PyGridCellEditor_swiginit", PyGridCellEditor_swiginit
, METH_VARARGS
, NULL
}, 
19962          { (char *)"new_GridCellTextEditor", (PyCFunction
)_wrap_new_GridCellTextEditor
, METH_NOARGS
, NULL
}, 
19963          { (char *)"GridCellTextEditor_GetValue", (PyCFunction
)_wrap_GridCellTextEditor_GetValue
, METH_O
, NULL
}, 
19964          { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
}, 
19965          { (char *)"GridCellTextEditor_swiginit", GridCellTextEditor_swiginit
, METH_VARARGS
, NULL
}, 
19966          { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19967          { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
}, 
19968          { (char *)"GridCellNumberEditor_swiginit", GridCellNumberEditor_swiginit
, METH_VARARGS
, NULL
}, 
19969          { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19970          { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
}, 
19971          { (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit
, METH_VARARGS
, NULL
}, 
19972          { (char *)"new_GridCellBoolEditor", (PyCFunction
)_wrap_new_GridCellBoolEditor
, METH_NOARGS
, NULL
}, 
19973          { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
)_wrap_GridCellBoolEditor_GetValue
, METH_O
, NULL
}, 
19974          { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
}, 
19975          { (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit
, METH_VARARGS
, NULL
}, 
19976          { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19977          { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
)_wrap_GridCellChoiceEditor_GetValue
, METH_O
, NULL
}, 
19978          { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
}, 
19979          { (char *)"GridCellChoiceEditor_swiginit", GridCellChoiceEditor_swiginit
, METH_VARARGS
, NULL
}, 
19980          { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19981          { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
}, 
19982          { (char *)"GridCellEnumEditor_swiginit", GridCellEnumEditor_swiginit
, METH_VARARGS
, NULL
}, 
19983          { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
)_wrap_new_GridCellAutoWrapStringEditor
, METH_NOARGS
, NULL
}, 
19984          { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
}, 
19985          { (char *)"GridCellAutoWrapStringEditor_swiginit", GridCellAutoWrapStringEditor_swiginit
, METH_VARARGS
, NULL
}, 
19986          { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19987          { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19988          { (char *)"delete_GridCellAttr", (PyCFunction
)_wrap_delete_GridCellAttr
, METH_O
, NULL
}, 
19989          { (char *)"GridCellAttr_Clone", (PyCFunction
)_wrap_GridCellAttr_Clone
, METH_O
, NULL
}, 
19990          { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19991          { (char *)"GridCellAttr_IncRef", (PyCFunction
)_wrap_GridCellAttr_IncRef
, METH_O
, NULL
}, 
19992          { (char *)"GridCellAttr_DecRef", (PyCFunction
)_wrap_GridCellAttr_DecRef
, METH_O
, NULL
}, 
19993          { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19994          { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19995          { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19996          { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19997          { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19998          { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
19999          { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20000          { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20001          { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20002          { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20003          { (char *)"GridCellAttr_HasTextColour", (PyCFunction
)_wrap_GridCellAttr_HasTextColour
, METH_O
, NULL
}, 
20004          { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_HasBackgroundColour
, METH_O
, NULL
}, 
20005          { (char *)"GridCellAttr_HasFont", (PyCFunction
)_wrap_GridCellAttr_HasFont
, METH_O
, NULL
}, 
20006          { (char *)"GridCellAttr_HasAlignment", (PyCFunction
)_wrap_GridCellAttr_HasAlignment
, METH_O
, NULL
}, 
20007          { (char *)"GridCellAttr_HasRenderer", (PyCFunction
)_wrap_GridCellAttr_HasRenderer
, METH_O
, NULL
}, 
20008          { (char *)"GridCellAttr_HasEditor", (PyCFunction
)_wrap_GridCellAttr_HasEditor
, METH_O
, NULL
}, 
20009          { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
)_wrap_GridCellAttr_HasReadWriteMode
, METH_O
, NULL
}, 
20010          { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
)_wrap_GridCellAttr_HasOverflowMode
, METH_O
, NULL
}, 
20011          { (char *)"GridCellAttr_GetTextColour", (PyCFunction
)_wrap_GridCellAttr_GetTextColour
, METH_O
, NULL
}, 
20012          { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_GetBackgroundColour
, METH_O
, NULL
}, 
20013          { (char *)"GridCellAttr_GetFont", (PyCFunction
)_wrap_GridCellAttr_GetFont
, METH_O
, NULL
}, 
20014          { (char *)"GridCellAttr_GetAlignment", (PyCFunction
)_wrap_GridCellAttr_GetAlignment
, METH_O
, NULL
}, 
20015          { (char *)"GridCellAttr_GetSize", (PyCFunction
)_wrap_GridCellAttr_GetSize
, METH_O
, NULL
}, 
20016          { (char *)"GridCellAttr_GetOverflow", (PyCFunction
)_wrap_GridCellAttr_GetOverflow
, METH_O
, NULL
}, 
20017          { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20018          { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20019          { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
)_wrap_GridCellAttr_IsReadOnly
, METH_O
, NULL
}, 
20020          { (char *)"GridCellAttr_GetKind", (PyCFunction
)_wrap_GridCellAttr_GetKind
, METH_O
, NULL
}, 
20021          { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20022          { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
}, 
20023          { (char *)"GridCellAttr_swiginit", GridCellAttr_swiginit
, METH_VARARGS
, NULL
}, 
20024          { (char *)"new_GridCellAttrProvider", (PyCFunction
)_wrap_new_GridCellAttrProvider
, METH_NOARGS
, NULL
}, 
20025          { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20026          { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20027          { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20028          { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20029          { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20030          { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20031          { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20032          { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
}, 
20033          { (char *)"GridCellAttrProvider_swiginit", GridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
}, 
20034          { (char *)"new_PyGridCellAttrProvider", (PyCFunction
)_wrap_new_PyGridCellAttrProvider
, METH_NOARGS
, NULL
}, 
20035          { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20036          { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20037          { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20038          { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20039          { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20040          { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
}, 
20041          { (char *)"PyGridCellAttrProvider_swiginit", PyGridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
}, 
20042          { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20043          { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20044          { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
)_wrap_GridTableBase_GetAttrProvider
, METH_O
, NULL
}, 
20045          { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20046          { (char *)"GridTableBase_GetView", (PyCFunction
)_wrap_GridTableBase_GetView
, METH_O
, NULL
}, 
20047          { (char *)"GridTableBase_GetNumberRows", (PyCFunction
)_wrap_GridTableBase_GetNumberRows
, METH_O
, NULL
}, 
20048          { (char *)"GridTableBase_GetNumberCols", (PyCFunction
)_wrap_GridTableBase_GetNumberCols
, METH_O
, NULL
}, 
20049          { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20050          { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20051          { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20052          { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20053          { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20054          { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20055          { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20056          { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20057          { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20058          { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20059          { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20060          { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20061          { (char *)"GridTableBase_Clear", (PyCFunction
)_wrap_GridTableBase_Clear
, METH_O
, NULL
}, 
20062          { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20063          { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20064          { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20065          { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20066          { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20067          { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20068          { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20069          { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20070          { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20071          { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20072          { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
)_wrap_GridTableBase_CanHaveAttributes
, METH_O
, NULL
}, 
20073          { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20074          { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20075          { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20076          { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20077          { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
}, 
20078          { (char *)"new_PyGridTableBase", (PyCFunction
)_wrap_new_PyGridTableBase
, METH_NOARGS
, NULL
}, 
20079          { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20080          { (char *)"PyGridTableBase_Destroy", (PyCFunction
)_wrap_PyGridTableBase_Destroy
, METH_O
, NULL
}, 
20081          { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
}, 
20082          { (char *)"PyGridTableBase_swiginit", PyGridTableBase_swiginit
, METH_VARARGS
, NULL
}, 
20083          { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20084          { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
}, 
20085          { (char *)"GridStringTable_swiginit", GridStringTable_swiginit
, METH_VARARGS
, NULL
}, 
20086          { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20087          { (char *)"delete_GridTableMessage", (PyCFunction
)_wrap_delete_GridTableMessage
, METH_O
, NULL
}, 
20088          { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20089          { (char *)"GridTableMessage_GetTableObject", (PyCFunction
)_wrap_GridTableMessage_GetTableObject
, METH_O
, NULL
}, 
20090          { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20091          { (char *)"GridTableMessage_GetId", (PyCFunction
)_wrap_GridTableMessage_GetId
, METH_O
, NULL
}, 
20092          { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20093          { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt
, METH_O
, NULL
}, 
20094          { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20095          { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt2
, METH_O
, NULL
}, 
20096          { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
}, 
20097          { (char *)"GridTableMessage_swiginit", GridTableMessage_swiginit
, METH_VARARGS
, NULL
}, 
20098          { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20099          { (char *)"delete_GridCellCoords", (PyCFunction
)_wrap_delete_GridCellCoords
, METH_O
, NULL
}, 
20100          { (char *)"GridCellCoords_GetRow", (PyCFunction
)_wrap_GridCellCoords_GetRow
, METH_O
, NULL
}, 
20101          { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20102          { (char *)"GridCellCoords_GetCol", (PyCFunction
)_wrap_GridCellCoords_GetCol
, METH_O
, NULL
}, 
20103          { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20104          { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20105          { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20106          { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20107          { (char *)"GridCellCoords_Get", (PyCFunction
)_wrap_GridCellCoords_Get
, METH_O
, NULL
}, 
20108          { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
}, 
20109          { (char *)"GridCellCoords_swiginit", GridCellCoords_swiginit
, METH_VARARGS
, NULL
}, 
20110          { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20111          { (char *)"new_PreGrid", (PyCFunction
)_wrap_new_PreGrid
, METH_NOARGS
, NULL
}, 
20112          { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20113          { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20114          { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20115          { (char *)"Grid_GetSelectionMode", (PyCFunction
)_wrap_Grid_GetSelectionMode
, METH_O
, NULL
}, 
20116          { (char *)"Grid_GetNumberRows", (PyCFunction
)_wrap_Grid_GetNumberRows
, METH_O
, NULL
}, 
20117          { (char *)"Grid_GetNumberCols", (PyCFunction
)_wrap_Grid_GetNumberCols
, METH_O
, NULL
}, 
20118          { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20119          { (char *)"Grid_GetTable", (PyCFunction
)_wrap_Grid_GetTable
, METH_O
, NULL
}, 
20120          { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20121          { (char *)"Grid_ClearGrid", (PyCFunction
)_wrap_Grid_ClearGrid
, METH_O
, NULL
}, 
20122          { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20123          { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20124          { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20125          { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20126          { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20127          { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20128          { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20129          { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20130          { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20131          { (char *)"Grid_BeginBatch", (PyCFunction
)_wrap_Grid_BeginBatch
, METH_O
, NULL
}, 
20132          { (char *)"Grid_EndBatch", (PyCFunction
)_wrap_Grid_EndBatch
, METH_O
, NULL
}, 
20133          { (char *)"Grid_GetBatchCount", (PyCFunction
)_wrap_Grid_GetBatchCount
, METH_O
, NULL
}, 
20134          { (char *)"Grid_ForceRefresh", (PyCFunction
)_wrap_Grid_ForceRefresh
, METH_O
, NULL
}, 
20135          { (char *)"Grid_IsEditable", (PyCFunction
)_wrap_Grid_IsEditable
, METH_O
, NULL
}, 
20136          { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20137          { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20138          { (char *)"Grid_DisableCellEditControl", (PyCFunction
)_wrap_Grid_DisableCellEditControl
, METH_O
, NULL
}, 
20139          { (char *)"Grid_CanEnableCellControl", (PyCFunction
)_wrap_Grid_CanEnableCellControl
, METH_O
, NULL
}, 
20140          { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
)_wrap_Grid_IsCellEditControlEnabled
, METH_O
, NULL
}, 
20141          { (char *)"Grid_IsCellEditControlShown", (PyCFunction
)_wrap_Grid_IsCellEditControlShown
, METH_O
, NULL
}, 
20142          { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
)_wrap_Grid_IsCurrentCellReadOnly
, METH_O
, NULL
}, 
20143          { (char *)"Grid_ShowCellEditControl", (PyCFunction
)_wrap_Grid_ShowCellEditControl
, METH_O
, NULL
}, 
20144          { (char *)"Grid_HideCellEditControl", (PyCFunction
)_wrap_Grid_HideCellEditControl
, METH_O
, NULL
}, 
20145          { (char *)"Grid_SaveEditControlValue", (PyCFunction
)_wrap_Grid_SaveEditControlValue
, METH_O
, NULL
}, 
20146          { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20147          { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20148          { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20149          { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20150          { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20151          { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20152          { (char *)"Grid_GetGridCursorRow", (PyCFunction
)_wrap_Grid_GetGridCursorRow
, METH_O
, NULL
}, 
20153          { (char *)"Grid_GetGridCursorCol", (PyCFunction
)_wrap_Grid_GetGridCursorCol
, METH_O
, NULL
}, 
20154          { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20155          { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20156          { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20157          { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20158          { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20159          { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20160          { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20161          { (char *)"Grid_MovePageDown", (PyCFunction
)_wrap_Grid_MovePageDown
, METH_O
, NULL
}, 
20162          { (char *)"Grid_MovePageUp", (PyCFunction
)_wrap_Grid_MovePageUp
, METH_O
, NULL
}, 
20163          { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20164          { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20165          { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20166          { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20167          { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultRowLabelSize
, METH_O
, NULL
}, 
20168          { (char *)"Grid_GetRowLabelSize", (PyCFunction
)_wrap_Grid_GetRowLabelSize
, METH_O
, NULL
}, 
20169          { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultColLabelSize
, METH_O
, NULL
}, 
20170          { (char *)"Grid_GetColLabelSize", (PyCFunction
)_wrap_Grid_GetColLabelSize
, METH_O
, NULL
}, 
20171          { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
)_wrap_Grid_GetLabelBackgroundColour
, METH_O
, NULL
}, 
20172          { (char *)"Grid_GetLabelTextColour", (PyCFunction
)_wrap_Grid_GetLabelTextColour
, METH_O
, NULL
}, 
20173          { (char *)"Grid_GetLabelFont", (PyCFunction
)_wrap_Grid_GetLabelFont
, METH_O
, NULL
}, 
20174          { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
)_wrap_Grid_GetRowLabelAlignment
, METH_O
, NULL
}, 
20175          { (char *)"Grid_GetColLabelAlignment", (PyCFunction
)_wrap_Grid_GetColLabelAlignment
, METH_O
, NULL
}, 
20176          { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
)_wrap_Grid_GetColLabelTextOrientation
, METH_O
, NULL
}, 
20177          { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20178          { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20179          { (char *)"Grid_GetGridLineColour", (PyCFunction
)_wrap_Grid_GetGridLineColour
, METH_O
, NULL
}, 
20180          { (char *)"Grid_GetCellHighlightColour", (PyCFunction
)_wrap_Grid_GetCellHighlightColour
, METH_O
, NULL
}, 
20181          { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightPenWidth
, METH_O
, NULL
}, 
20182          { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightROPenWidth
, METH_O
, NULL
}, 
20183          { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20184          { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20185          { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20186          { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20187          { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20188          { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20189          { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20190          { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20191          { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20192          { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20193          { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20194          { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20195          { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20196          { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20197          { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20198          { (char *)"Grid_DisableDragRowSize", (PyCFunction
)_wrap_Grid_DisableDragRowSize
, METH_O
, NULL
}, 
20199          { (char *)"Grid_CanDragRowSize", (PyCFunction
)_wrap_Grid_CanDragRowSize
, METH_O
, NULL
}, 
20200          { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20201          { (char *)"Grid_DisableDragColSize", (PyCFunction
)_wrap_Grid_DisableDragColSize
, METH_O
, NULL
}, 
20202          { (char *)"Grid_CanDragColSize", (PyCFunction
)_wrap_Grid_CanDragColSize
, METH_O
, NULL
}, 
20203          { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20204          { (char *)"Grid_DisableDragGridSize", (PyCFunction
)_wrap_Grid_DisableDragGridSize
, METH_O
, NULL
}, 
20205          { (char *)"Grid_CanDragGridSize", (PyCFunction
)_wrap_Grid_CanDragGridSize
, METH_O
, NULL
}, 
20206          { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20207          { (char *)"Grid_DisableDragCell", (PyCFunction
)_wrap_Grid_DisableDragCell
, METH_O
, NULL
}, 
20208          { (char *)"Grid_CanDragCell", (PyCFunction
)_wrap_Grid_CanDragCell
, METH_O
, NULL
}, 
20209          { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20210          { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20211          { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20212          { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20213          { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20214          { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20215          { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20216          { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20217          { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20218          { (char *)"Grid_GridLinesEnabled", (PyCFunction
)_wrap_Grid_GridLinesEnabled
, METH_O
, NULL
}, 
20219          { (char *)"Grid_GetDefaultRowSize", (PyCFunction
)_wrap_Grid_GetDefaultRowSize
, METH_O
, NULL
}, 
20220          { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20221          { (char *)"Grid_GetDefaultColSize", (PyCFunction
)_wrap_Grid_GetDefaultColSize
, METH_O
, NULL
}, 
20222          { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20223          { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
)_wrap_Grid_GetDefaultCellBackgroundColour
, METH_O
, NULL
}, 
20224          { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20225          { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
)_wrap_Grid_GetDefaultCellTextColour
, METH_O
, NULL
}, 
20226          { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20227          { (char *)"Grid_GetDefaultCellFont", (PyCFunction
)_wrap_Grid_GetDefaultCellFont
, METH_O
, NULL
}, 
20228          { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20229          { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
)_wrap_Grid_GetDefaultCellAlignment
, METH_O
, NULL
}, 
20230          { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20231          { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
)_wrap_Grid_GetDefaultCellOverflow
, METH_O
, NULL
}, 
20232          { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20233          { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20234          { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20235          { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20236          { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20237          { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20238          { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20239          { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20240          { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20241          { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20242          { (char *)"Grid_AutoSize", (PyCFunction
)_wrap_Grid_AutoSize
, METH_O
, NULL
}, 
20243          { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20244          { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20245          { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20246          { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20247          { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20248          { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20249          { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
)_wrap_Grid_GetColMinimalAcceptableWidth
, METH_O
, NULL
}, 
20250          { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
)_wrap_Grid_GetRowMinimalAcceptableHeight
, METH_O
, NULL
}, 
20251          { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20252          { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20253          { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20254          { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20255          { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20256          { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20257          { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20258          { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20259          { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20260          { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20261          { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20262          { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20263          { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20264          { (char *)"Grid_GetDefaultRenderer", (PyCFunction
)_wrap_Grid_GetDefaultRenderer
, METH_O
, NULL
}, 
20265          { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20266          { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20267          { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20268          { (char *)"Grid_GetDefaultEditor", (PyCFunction
)_wrap_Grid_GetDefaultEditor
, METH_O
, NULL
}, 
20269          { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20270          { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20271          { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20272          { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20273          { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20274          { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20275          { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20276          { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20277          { (char *)"Grid_SelectAll", (PyCFunction
)_wrap_Grid_SelectAll
, METH_O
, NULL
}, 
20278          { (char *)"Grid_IsSelection", (PyCFunction
)_wrap_Grid_IsSelection
, METH_O
, NULL
}, 
20279          { (char *)"Grid_ClearSelection", (PyCFunction
)_wrap_Grid_ClearSelection
, METH_O
, NULL
}, 
20280          { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20281          { (char *)"Grid_GetSelectedCells", (PyCFunction
)_wrap_Grid_GetSelectedCells
, METH_O
, NULL
}, 
20282          { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
)_wrap_Grid_GetSelectionBlockTopLeft
, METH_O
, NULL
}, 
20283          { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
)_wrap_Grid_GetSelectionBlockBottomRight
, METH_O
, NULL
}, 
20284          { (char *)"Grid_GetSelectedRows", (PyCFunction
)_wrap_Grid_GetSelectedRows
, METH_O
, NULL
}, 
20285          { (char *)"Grid_GetSelectedCols", (PyCFunction
)_wrap_Grid_GetSelectedCols
, METH_O
, NULL
}, 
20286          { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20287          { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20288          { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20289          { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20290          { (char *)"Grid_GetSelectionBackground", (PyCFunction
)_wrap_Grid_GetSelectionBackground
, METH_O
, NULL
}, 
20291          { (char *)"Grid_GetSelectionForeground", (PyCFunction
)_wrap_Grid_GetSelectionForeground
, METH_O
, NULL
}, 
20292          { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20293          { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20294          { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20295          { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20296          { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20297          { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20298          { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20299          { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20300          { (char *)"Grid_GetGridWindow", (PyCFunction
)_wrap_Grid_GetGridWindow
, METH_O
, NULL
}, 
20301          { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
)_wrap_Grid_GetGridRowLabelWindow
, METH_O
, NULL
}, 
20302          { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
)_wrap_Grid_GetGridColLabelWindow
, METH_O
, NULL
}, 
20303          { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
)_wrap_Grid_GetGridCornerLabelWindow
, METH_O
, NULL
}, 
20304          { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20305          { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20306          { (char *)"Grid_GetScrollLineX", (PyCFunction
)_wrap_Grid_GetScrollLineX
, METH_O
, NULL
}, 
20307          { (char *)"Grid_GetScrollLineY", (PyCFunction
)_wrap_Grid_GetScrollLineY
, METH_O
, NULL
}, 
20308          { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20309          { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20310          { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20311          { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
}, 
20312          { (char *)"Grid_swiginit", Grid_swiginit
, METH_VARARGS
, NULL
}, 
20313          { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20314          { (char *)"GridEvent_GetRow", (PyCFunction
)_wrap_GridEvent_GetRow
, METH_O
, NULL
}, 
20315          { (char *)"GridEvent_GetCol", (PyCFunction
)_wrap_GridEvent_GetCol
, METH_O
, NULL
}, 
20316          { (char *)"GridEvent_GetPosition", (PyCFunction
)_wrap_GridEvent_GetPosition
, METH_O
, NULL
}, 
20317          { (char *)"GridEvent_Selecting", (PyCFunction
)_wrap_GridEvent_Selecting
, METH_O
, NULL
}, 
20318          { (char *)"GridEvent_ControlDown", (PyCFunction
)_wrap_GridEvent_ControlDown
, METH_O
, NULL
}, 
20319          { (char *)"GridEvent_MetaDown", (PyCFunction
)_wrap_GridEvent_MetaDown
, METH_O
, NULL
}, 
20320          { (char *)"GridEvent_ShiftDown", (PyCFunction
)_wrap_GridEvent_ShiftDown
, METH_O
, NULL
}, 
20321          { (char *)"GridEvent_AltDown", (PyCFunction
)_wrap_GridEvent_AltDown
, METH_O
, NULL
}, 
20322          { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
}, 
20323          { (char *)"GridEvent_swiginit", GridEvent_swiginit
, METH_VARARGS
, NULL
}, 
20324          { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20325          { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
)_wrap_GridSizeEvent_GetRowOrCol
, METH_O
, NULL
}, 
20326          { (char *)"GridSizeEvent_GetPosition", (PyCFunction
)_wrap_GridSizeEvent_GetPosition
, METH_O
, NULL
}, 
20327          { (char *)"GridSizeEvent_ControlDown", (PyCFunction
)_wrap_GridSizeEvent_ControlDown
, METH_O
, NULL
}, 
20328          { (char *)"GridSizeEvent_MetaDown", (PyCFunction
)_wrap_GridSizeEvent_MetaDown
, METH_O
, NULL
}, 
20329          { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
)_wrap_GridSizeEvent_ShiftDown
, METH_O
, NULL
}, 
20330          { (char *)"GridSizeEvent_AltDown", (PyCFunction
)_wrap_GridSizeEvent_AltDown
, METH_O
, NULL
}, 
20331          { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
}, 
20332          { (char *)"GridSizeEvent_swiginit", GridSizeEvent_swiginit
, METH_VARARGS
, NULL
}, 
20333          { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20334          { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_O
, NULL
}, 
20335          { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_O
, NULL
}, 
20336          { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopRow
, METH_O
, NULL
}, 
20337          { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRow
, METH_O
, NULL
}, 
20338          { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetLeftCol
, METH_O
, NULL
}, 
20339          { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetRightCol
, METH_O
, NULL
}, 
20340          { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
)_wrap_GridRangeSelectEvent_Selecting
, METH_O
, NULL
}, 
20341          { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ControlDown
, METH_O
, NULL
}, 
20342          { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
)_wrap_GridRangeSelectEvent_MetaDown
, METH_O
, NULL
}, 
20343          { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ShiftDown
, METH_O
, NULL
}, 
20344          { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
)_wrap_GridRangeSelectEvent_AltDown
, METH_O
, NULL
}, 
20345          { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
}, 
20346          { (char *)"GridRangeSelectEvent_swiginit", GridRangeSelectEvent_swiginit
, METH_VARARGS
, NULL
}, 
20347          { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20348          { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetRow
, METH_O
, NULL
}, 
20349          { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetCol
, METH_O
, NULL
}, 
20350          { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetControl
, METH_O
, NULL
}, 
20351          { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20352          { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20353          { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
20354          { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
}, 
20355          { (char *)"GridEditorCreatedEvent_swiginit", GridEditorCreatedEvent_swiginit
, METH_VARARGS
, NULL
}, 
20356          { NULL
, NULL
, 0, NULL 
} 
20360 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
20362 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) { 
20363     return (void *)((wxGridCellRenderer 
*)  ((wxPyGridCellRenderer 
*) x
)); 
20365 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) { 
20366     return (void *)((wxGridCellRenderer 
*)  ((wxGridCellStringRenderer 
*) x
)); 
20368 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) { 
20369     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellNumberRenderer 
*) x
)); 
20371 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) { 
20372     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellFloatRenderer 
*) x
)); 
20374 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) { 
20375     return (void *)((wxGridCellRenderer 
*)  ((wxGridCellBoolRenderer 
*) x
)); 
20377 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) { 
20378     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellDateTimeRenderer 
*) x
)); 
20380 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) { 
20381     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellEnumRenderer 
*) x
)); 
20383 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) { 
20384     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
20386 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) { 
20387     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellNumberRenderer 
*) x
)); 
20389 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) { 
20390     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellFloatRenderer 
*) x
)); 
20392 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) { 
20393     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellDateTimeRenderer 
*) x
)); 
20395 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) { 
20396     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellEnumRenderer 
*) x
)); 
20398 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) { 
20399     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
20401 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellWorker(void *x
) { 
20402     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*) ((wxGridCellChoiceEditor 
*) x
)); 
20404 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellWorker(void *x
) { 
20405     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*)(wxGridCellChoiceEditor 
*) ((wxGridCellEnumEditor 
*) x
)); 
20407 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker(void *x
) { 
20408     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*)(wxGridCellTextEditor 
*) ((wxGridCellAutoWrapStringEditor 
*) x
)); 
20410 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellWorker(void *x
) { 
20411     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*)(wxGridCellTextEditor 
*) ((wxGridCellFloatEditor 
*) x
)); 
20413 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellWorker(void *x
) { 
20414     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*)(wxGridCellTextEditor 
*) ((wxGridCellNumberEditor 
*) x
)); 
20416 static void *_p_wxGridCellTextEditorTo_p_wxGridCellWorker(void *x
) { 
20417     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*) ((wxGridCellTextEditor 
*) x
)); 
20419 static void *_p_wxPyGridCellEditorTo_p_wxGridCellWorker(void *x
) { 
20420     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*) ((wxPyGridCellEditor 
*) x
)); 
20422 static void *_p_wxGridCellEditorTo_p_wxGridCellWorker(void *x
) { 
20423     return (void *)((wxGridCellWorker 
*)  ((wxGridCellEditor 
*) x
)); 
20425 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellWorker(void *x
) { 
20426     return (void *)((wxGridCellWorker 
*) (wxGridCellEditor 
*) ((wxGridCellBoolEditor 
*) x
)); 
20428 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker(void *x
) { 
20429     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
20431 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellWorker(void *x
) { 
20432     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellEnumRenderer 
*) x
)); 
20434 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker(void *x
) { 
20435     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellDateTimeRenderer 
*) x
)); 
20437 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellWorker(void *x
) { 
20438     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*) ((wxGridCellBoolRenderer 
*) x
)); 
20440 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellWorker(void *x
) { 
20441     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellFloatRenderer 
*) x
)); 
20443 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellWorker(void *x
) { 
20444     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*)(wxGridCellStringRenderer 
*) ((wxGridCellNumberRenderer 
*) x
)); 
20446 static void *_p_wxGridCellStringRendererTo_p_wxGridCellWorker(void *x
) { 
20447     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*) ((wxGridCellStringRenderer 
*) x
)); 
20449 static void *_p_wxPyGridCellRendererTo_p_wxGridCellWorker(void *x
) { 
20450     return (void *)((wxGridCellWorker 
*) (wxGridCellRenderer 
*) ((wxPyGridCellRenderer 
*) x
)); 
20452 static void *_p_wxGridCellRendererTo_p_wxGridCellWorker(void *x
) { 
20453     return (void *)((wxGridCellWorker 
*)  ((wxGridCellRenderer 
*) x
)); 
20455 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
20456     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
20458 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
20459     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
20461 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
20462     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
20464 static void *_p_wxGridTo_p_wxPanel(void *x
) { 
20465     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
20467 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
20468     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
20470 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
20471     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
20473 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
20474     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
20476 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
20477     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
20479 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
20480     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
20482 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
20483     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
20485 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) { 
20486     return (void *)((wxNotifyEvent 
*)  ((wxGridSizeEvent 
*) x
)); 
20488 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) { 
20489     return (void *)((wxNotifyEvent 
*)  ((wxGridRangeSelectEvent 
*) x
)); 
20491 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
20492     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
20494 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) { 
20495     return (void *)((wxNotifyEvent 
*)  ((wxGridEvent 
*) x
)); 
20497 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
20498     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
20500 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) { 
20501     return (void *)((wxScrolledWindow 
*)  ((wxGrid 
*) x
)); 
20503 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
20504     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
20506 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
20507     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
20509 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
20510     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
20512 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
20513     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
20515 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
20516     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
20518 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
20519     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
20521 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
20522     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
20524 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
20525     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
20527 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) { 
20528     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
20530 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
20531     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
20533 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
20534     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
20536 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
20537     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
20539 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
20540     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
20542 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
20543     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
20545 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
20546     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
20548 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
20549     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
20551 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
20552     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
20554 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
20555     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
20557 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
20558     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
20560 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
20561     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
20563 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
20564     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
20566 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
20567     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
20569 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
20570     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
20572 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
20573     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
20575 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
20576     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
20578 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
20579     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
20581 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
20582     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
20584 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
20585     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
20587 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
20588     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
20590 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
20591     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
20593 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
20594     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
20596 static void *_p_wxGridTo_p_wxWindow(void *x
) { 
20597     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
20599 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
20600     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
20602 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
20603     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
20605 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
20606     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
20608 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
20609     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
20611 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
20612     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
20614 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
20615     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
20617 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
20618     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
20620 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
20621     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
20623 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
20624     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
20626 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
20627     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
20629 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
20630     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
20632 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
20633     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
20635 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
20636     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
20638 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
20639     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
20641 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
20642     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
20644 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
20645     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
20647 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
20648     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
20650 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
20651     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
20653 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
20654     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
20656 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
20657     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
20659 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
20660     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
20662 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
20663     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
20665 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
20666     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
20668 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
20669     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
20671 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
20672     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
20674 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
20675     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
20677 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
20678     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
20680 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) { 
20681     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
20683 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
20684     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
20686 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
20687     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
20689 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
20690     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
20692 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
20693     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
20695 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
20696     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
20698 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
20699     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
20701 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
20702     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
20704 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
20705     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
20707 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
20708     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
20710 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) { 
20711     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
20713 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
20714     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
20716 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
20717     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
20719 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
20720     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
20722 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
20723     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
20725 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
20726     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
20728 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
20729     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
20731 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
20732     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
20734 static void *_p_wxGridEventTo_p_wxEvent(void *x
) { 
20735     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
20737 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) { 
20738     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxGridEditorCreatedEvent 
*) x
)); 
20740 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
20741     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
20743 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
20744     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
20746 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
20747     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
20749 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
20750     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
20752 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
20753     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
20755 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
20756     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
20758 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
20759     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
20761 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
20762     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
20764 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
20765     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
20767 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
20768     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
20770 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
20771     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
20773 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
20774     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
20776 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
20777     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
20779 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
20780     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
20782 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
20783     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
20785 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
20786     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
20788 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
20789     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
20791 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
20792     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
20794 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
20795     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
20797 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
20798     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
20800 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
20801     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
20803 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
20804     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
20806 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
20807     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
20809 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
20810     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
20812 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
20813     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
20815 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
20816     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
20818 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
20819     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
20821 static void *_p_wxEventTo_p_wxObject(void *x
) { 
20822     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
20824 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
20825     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
20827 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
20828     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
20830 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
20831     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
20833 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
20834     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
20836 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
20837     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
20839 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
20840     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
20842 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) { 
20843     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTaskBarIcon 
*) x
)); 
20845 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
20846     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
20848 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) { 
20849     return (void *)((wxObject 
*) (wxGridTableBase 
*) ((wxGridStringTable 
*) x
)); 
20851 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
20852     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
20854 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
20855     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
20857 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
20858     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
20860 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
20861     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
20863 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
20864     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
20866 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
20867     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
20869 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
20870     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
20872 static void *_p_wxGridEventTo_p_wxObject(void *x
) { 
20873     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
20875 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) { 
20876     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxGridEditorCreatedEvent 
*) x
)); 
20878 static void *_p_wxControlTo_p_wxObject(void *x
) { 
20879     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
20881 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
20882     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
20884 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
20885     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
20887 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
20888     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
20890 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
20891     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
20893 static void *_p_wxGridTo_p_wxObject(void *x
) { 
20894     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
20896 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
20897     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
20899 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
20900     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
20902 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
20903     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
20905 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
20906     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
20908 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
20909     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
20911 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
20912     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
20914 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
20915     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
20917 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
20918     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
20920 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
20921     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
20923 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
20924     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
20926 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
20927     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
20929 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) { 
20930     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
20932 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
20933     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
20935 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
20936     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
20938 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
20939     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
20941 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
20942     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
20944 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
20945     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
20947 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
20948     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
20950 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
20951     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
20953 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
20954     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
20956 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
20957     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
20959 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
20960     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
20962 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
20963     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
20965 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
20966     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
20968 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
20969     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
20971 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
20972     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
20974 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
20975     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
20977 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) { 
20978     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
20980 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
20981     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
20983 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
20984     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
20986 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
20987     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
20989 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
20990     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
20992 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
20993     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
20995 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
20996     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
20998 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
20999     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
21001 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
21002     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
21004 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
21005     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
21007 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
21008     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
21010 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
21011     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
21013 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
21014     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
21016 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
21017     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
21019 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
21020     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
21022 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
21023     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
21025 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) { 
21026     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
21028 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
21029     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
21031 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
21032     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
21034 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
21035     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
21037 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
21038     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
21040 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
21041     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
21043 static void *_p_wxImageTo_p_wxObject(void *x
) { 
21044     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
21046 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
21047     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
21049 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
21050     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
21052 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
21053     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
21055 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
21056     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
21058 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
21059     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
21061 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
21062     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
21064 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
21065     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
21067 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
21068     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
21070 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
21071     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
21073 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
21074     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
21076 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
21077     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
21079 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
21080     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
21082 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
21083     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
21085 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
21086     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
21088 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
21089     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
21091 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
21092     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
21094 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
21095     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
21097 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
21098     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
21100 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
21101     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
21103 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
21104     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
21106 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
21107     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
21109 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
21110     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
21112 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
21113     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
21115 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
21116     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
21118 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
21119     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
21121 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
21122     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
21124 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
21125     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
21127 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
21128     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
21130 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
21131     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
21133 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
21134     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
21136 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
21137     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
21139 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
21140     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
21142 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
21143     return (void *)((wxObject 
*)  ((wxPageSetupDialog 
*) x
)); 
21145 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
21146     return (void *)((wxObject 
*)  ((wxPrintDialog 
*) x
)); 
21148 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
21149     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
21151 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
21152     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
21154 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
21155     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
21157 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
21158     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
21160 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
21161     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
21163 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
21164     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
21166 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
21167     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
21169 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) { 
21170     return (void *)((wxObject 
*)  ((wxGridTableBase 
*) x
)); 
21172 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) { 
21173     return (void *)((wxObject 
*) (wxGridTableBase 
*) ((wxPyGridTableBase 
*) x
)); 
21175 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
21176     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
21178 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
21179     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
21181 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
21182     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
21184 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
21185     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
21187 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
21188     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
21190 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
21191     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
21193 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
21194     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
21196 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
21197     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
21199 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
21200     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
21202 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
21203     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
21205 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
21206     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
21208 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
21209     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
21211 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
21212     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
21214 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
21215     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
21217 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
21218     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
21220 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
21221     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
21223 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
21224     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
21226 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
21227     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
21229 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
21230     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
21232 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) { 
21233     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
21235 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
21236     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
21238 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
21239     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
21241 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
21242     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
21244 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
21245     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
21247 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
21248     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
21250 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
21251     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
21253 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
21254     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
21256 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
21257     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
21259 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
21260     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
21262 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
21263     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
21265 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
21266     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
21268 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
21269     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
21271 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
21272     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
21274 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
21275     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
21277 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
21278     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
21280 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
21281     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
21283 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
21284     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
21286 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
21287     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
21289 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
21290     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
21292 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
21293     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
21295 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
21296     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
21298 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
21299     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
21301 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
21302     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
21304 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
21305     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
21307 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
21308     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
21310 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
21311     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
21313 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
21314     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
21316 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) { 
21317     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
21319 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
21320     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
21322 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
21323     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
21325 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
21326     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
21328 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
21329     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
21331 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
21332     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
21334 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
21335     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
21337 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
21338     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
21340 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) { 
21341     return (void *)((wxEvtHandler 
*)  ((wxPyTaskBarIcon 
*) x
)); 
21343 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
21344     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
21346 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
21347     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
21349 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
21350     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
21352 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
21353     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
21355 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
21356     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
21358 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
21359     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
21361 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) { 
21362     return (void *)((wxGridTableBase 
*)  ((wxGridStringTable 
*) x
)); 
21364 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) { 
21365     return (void *)((wxGridTableBase 
*)  ((wxPyGridTableBase 
*) x
)); 
21367 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) { 
21368     return (void *)((wxGridCellEditor 
*)  ((wxPyGridCellEditor 
*) x
)); 
21370 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) { 
21371     return (void *)((wxGridCellEditor 
*)  ((wxGridCellTextEditor 
*) x
)); 
21373 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) { 
21374     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellNumberEditor 
*) x
)); 
21376 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) { 
21377     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellFloatEditor 
*) x
)); 
21379 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) { 
21380     return (void *)((wxGridCellEditor 
*)  ((wxGridCellBoolEditor 
*) x
)); 
21382 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) { 
21383     return (void *)((wxGridCellEditor 
*)  ((wxGridCellChoiceEditor 
*) x
)); 
21385 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) { 
21386     return (void *)((wxGridCellEditor 
*) (wxGridCellChoiceEditor 
*) ((wxGridCellEnumEditor 
*) x
)); 
21388 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) { 
21389     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellAutoWrapStringEditor 
*) x
)); 
21391 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) { 
21392     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellNumberEditor 
*) x
)); 
21394 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) { 
21395     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellFloatEditor 
*) x
)); 
21397 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) { 
21398     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellAutoWrapStringEditor 
*) x
)); 
21400 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
21401     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
21403 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
21404     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
21406 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
21407     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
21409 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
21410     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
21412 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
21413     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
21415 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
21416     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
21418 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
21419     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
21421 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) { 
21422     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
21424 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
21425     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
21427 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
21428     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
21430 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) { 
21431     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
21433 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) { 
21434     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
21436 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) { 
21437     return (void *)((wxCommandEvent 
*)  ((wxGridEditorCreatedEvent 
*) x
)); 
21439 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
21440     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
21442 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
21443     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
21445 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
21446     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
21448 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) { 
21449     return (void *)((wxGridCellAttrProvider 
*)  ((wxPyGridCellAttrProvider 
*) x
)); 
21451 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) { 
21452     return (void *)((wxGridCellChoiceEditor 
*)  ((wxGridCellEnumEditor 
*) x
)); 
21454 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
21455 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}; 
21456 static swig_type_info _swigt__p_int 
= {"_p_int", "int *", 0, 0, (void*)0, 0}; 
21457 static swig_type_info _swigt__p_long 
= {"_p_long", "long *", 0, 0, (void*)0, 0}; 
21458 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
21459 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
21460 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
21461 static swig_type_info _swigt__p_wxArrayString 
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; 
21462 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
21463 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; 
21464 static swig_type_info _swigt__p_wxSashEvent 
= {"_p_wxSashEvent", 0, 0, 0, 0, 0}; 
21465 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
21466 static swig_type_info _swigt__p_wxSplitterEvent 
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; 
21467 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
21468 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
21469 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
21470 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
21471 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
21472 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
21473 static swig_type_info _swigt__p_wxFindDialogEvent 
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; 
21474 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
21475 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; 
21476 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
21477 static swig_type_info _swigt__p_wxDC 
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; 
21478 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
21479 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; 
21480 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
21481 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
21482 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
21483 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
21484 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
21485 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
21486 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
21487 static swig_type_info _swigt__p_wxCalculateLayoutEvent 
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; 
21488 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
21489 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
21490 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
21491 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
21492 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
21493 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
21494 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
21495 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
21496 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
21497 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
21498 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
21499 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
21500 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
21501 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
21502 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
21503 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent 
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; 
21504 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
21505 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
21506 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; 
21507 static swig_type_info _swigt__p_wxTaskBarIconEvent 
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; 
21508 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; 
21509 static swig_type_info _swigt__p_wxSplashScreen 
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; 
21510 static swig_type_info _swigt__p_wxMiniFrame 
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; 
21511 static swig_type_info _swigt__p_wxPyPanel 
= {"_p_wxPyPanel", 0, 0, 0, 0, 0}; 
21512 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0, 0}; 
21513 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
21514 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
21515 static swig_type_info _swigt__p_wxMessageDialog 
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; 
21516 static swig_type_info _swigt__p_wxFileDialog 
= {"_p_wxFileDialog", 0, 0, 0, 0, 0}; 
21517 static swig_type_info _swigt__p_wxFindReplaceDialog 
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; 
21518 static swig_type_info _swigt__p_wxProgressDialog 
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; 
21519 static swig_type_info _swigt__p_wxPasswordEntryDialog 
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; 
21520 static swig_type_info _swigt__p_wxTextEntryDialog 
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; 
21521 static swig_type_info _swigt__p_wxSingleChoiceDialog 
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; 
21522 static swig_type_info _swigt__p_wxMultiChoiceDialog 
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; 
21523 static swig_type_info _swigt__p_wxStatusBar 
= {"_p_wxStatusBar", 0, 0, 0, 0, 0}; 
21524 static swig_type_info _swigt__p_wxPopupWindow 
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; 
21525 static swig_type_info _swigt__p_wxSashLayoutWindow 
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; 
21526 static swig_type_info _swigt__p_wxSplashScreenWindow 
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; 
21527 static swig_type_info _swigt__p_wxSplitterWindow 
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; 
21528 static swig_type_info _swigt__p_wxSashWindow 
= {"_p_wxSashWindow", 0, 0, 0, 0, 0}; 
21529 static swig_type_info _swigt__p_wxTopLevelWindow 
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; 
21530 static swig_type_info _swigt__p_wxMDIClientWindow 
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; 
21531 static swig_type_info _swigt__p_wxPyVScrolledWindow 
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; 
21532 static swig_type_info _swigt__p_wxPyScrolledWindow 
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; 
21533 static swig_type_info _swigt__p_wxPyPopupTransientWindow 
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; 
21534 static swig_type_info _swigt__p_wxTipWindow 
= {"_p_wxTipWindow", 0, 0, 0, 0, 0}; 
21535 static swig_type_info _swigt__p_wxPyPreviewFrame 
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; 
21536 static swig_type_info _swigt__p_wxPreviewFrame 
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; 
21537 static swig_type_info _swigt__p_wxMDIChildFrame 
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; 
21538 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
21539 static swig_type_info _swigt__p_wxPreviewCanvas 
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; 
21540 static swig_type_info _swigt__p_wxPyWindow 
= {"_p_wxPyWindow", 0, 0, 0, 0, 0}; 
21541 static swig_type_info _swigt__p_wxPyHtmlListBox 
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; 
21542 static swig_type_info _swigt__p_wxPyVListBox 
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; 
21543 static swig_type_info _swigt__p_wxPyPreviewControlBar 
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; 
21544 static swig_type_info _swigt__p_wxPreviewControlBar 
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; 
21545 static swig_type_info _swigt__p_wxPyTaskBarIcon 
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; 
21546 static swig_type_info _swigt__p_wxFrame 
= {"_p_wxFrame", 0, 0, 0, 0, 0}; 
21547 static swig_type_info _swigt__p_wxFontDialog 
= {"_p_wxFontDialog", 0, 0, 0, 0, 0}; 
21548 static swig_type_info _swigt__p_wxDirDialog 
= {"_p_wxDirDialog", 0, 0, 0, 0, 0}; 
21549 static swig_type_info _swigt__p_wxColourDialog 
= {"_p_wxColourDialog", 0, 0, 0, 0, 0}; 
21550 static swig_type_info _swigt__p_wxDialog 
= {"_p_wxDialog", 0, 0, 0, 0, 0}; 
21551 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0, 0}; 
21552 static swig_type_info _swigt__p_wxMDIParentFrame 
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; 
21553 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
21554 static swig_type_info _swigt__p_wxGrid 
= {"_p_wxGrid", "wxGrid *", 0, 0, (void*)0, 0}; 
21555 static swig_type_info _swigt__p_wxGridCellAttr 
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, (void*)0, 0}; 
21556 static swig_type_info _swigt__p_wxGridCellAttrProvider 
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, (void*)0, 0}; 
21557 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor 
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, (void*)0, 0}; 
21558 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer 
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, (void*)0, 0}; 
21559 static swig_type_info _swigt__p_wxGridCellBoolEditor 
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, (void*)0, 0}; 
21560 static swig_type_info _swigt__p_wxGridCellBoolRenderer 
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, (void*)0, 0}; 
21561 static swig_type_info _swigt__p_wxGridCellChoiceEditor 
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, (void*)0, 0}; 
21562 static swig_type_info _swigt__p_wxGridCellCoords 
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, (void*)0, 0}; 
21563 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer 
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, (void*)0, 0}; 
21564 static swig_type_info _swigt__p_wxGridCellEditor 
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, (void*)0, 0}; 
21565 static swig_type_info _swigt__p_wxGridCellEnumEditor 
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, (void*)0, 0}; 
21566 static swig_type_info _swigt__p_wxGridCellEnumRenderer 
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, (void*)0, 0}; 
21567 static swig_type_info _swigt__p_wxGridCellFloatEditor 
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, (void*)0, 0}; 
21568 static swig_type_info _swigt__p_wxGridCellFloatRenderer 
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, (void*)0, 0}; 
21569 static swig_type_info _swigt__p_wxGridCellNumberEditor 
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, (void*)0, 0}; 
21570 static swig_type_info _swigt__p_wxGridCellNumberRenderer 
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, (void*)0, 0}; 
21571 static swig_type_info _swigt__p_wxGridCellRenderer 
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, (void*)0, 0}; 
21572 static swig_type_info _swigt__p_wxGridCellStringRenderer 
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, (void*)0, 0}; 
21573 static swig_type_info _swigt__p_wxGridCellTextEditor 
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, (void*)0, 0}; 
21574 static swig_type_info _swigt__p_wxGridCellWorker 
= {"_p_wxGridCellWorker", "wxGridCellWorker *", 0, 0, (void*)0, 0}; 
21575 static swig_type_info _swigt__p_wxGridEditorCreatedEvent 
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, (void*)0, 0}; 
21576 static swig_type_info _swigt__p_wxGridEvent 
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, (void*)0, 0}; 
21577 static swig_type_info _swigt__p_wxGridRangeSelectEvent 
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, (void*)0, 0}; 
21578 static swig_type_info _swigt__p_wxGridSizeEvent 
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, (void*)0, 0}; 
21579 static swig_type_info _swigt__p_wxGridStringTable 
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, (void*)0, 0}; 
21580 static swig_type_info _swigt__p_wxGridTableBase 
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, (void*)0, 0}; 
21581 static swig_type_info _swigt__p_wxGridTableMessage 
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, (void*)0, 0}; 
21582 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0}; 
21583 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; 
21584 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
21585 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
21586 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
21587 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
21588 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
21589 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
21590 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
21591 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
21592 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
21593 static swig_type_info _swigt__p_wxFontData 
= {"_p_wxFontData", 0, 0, 0, 0, 0}; 
21594 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", 0, 0, 0, 0, 0}; 
21595 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
21596 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
21597 static swig_type_info _swigt__p_wxLayoutAlgorithm 
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; 
21598 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
21599 static swig_type_info _swigt__p_wxFindReplaceData 
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; 
21600 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
21601 static swig_type_info _swigt__p_wxColourData 
= {"_p_wxColourData", 0, 0, 0, 0, 0}; 
21602 static swig_type_info _swigt__p_wxPrinter 
= {"_p_wxPrinter", 0, 0, 0, 0, 0}; 
21603 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
21604 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
21605 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
21606 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
21607 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
21608 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
21609 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
21610 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
21611 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
21612 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
21613 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
21614 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
21615 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
21616 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
21617 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; 
21618 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
21619 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", 0, 0, 0, 0, 0}; 
21620 static swig_type_info _swigt__p_wxPyPrintout 
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; 
21621 static swig_type_info _swigt__p_wxPrintPreview 
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; 
21622 static swig_type_info _swigt__p_wxPyPrintPreview 
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; 
21623 static swig_type_info _swigt__p_wxPageSetupDialog 
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; 
21624 static swig_type_info _swigt__p_wxPrintDialog 
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; 
21625 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0, 0}; 
21626 static swig_type_info _swigt__p_wxPageSetupDialogData 
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; 
21627 static swig_type_info _swigt__p_wxPrintDialogData 
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; 
21628 static swig_type_info _swigt__p_wxPanel 
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; 
21629 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
21630 static swig_type_info _swigt__p_wxPoint 
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; 
21631 static swig_type_info _swigt__p_wxPyGridCellAttrProvider 
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, (void*)0, 0}; 
21632 static swig_type_info _swigt__p_wxPyGridCellEditor 
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, (void*)0, 0}; 
21633 static swig_type_info _swigt__p_wxPyGridCellRenderer 
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, (void*)0, 0}; 
21634 static swig_type_info _swigt__p_wxPyGridTableBase 
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, (void*)0, 0}; 
21635 static swig_type_info _swigt__p_wxRect 
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; 
21636 static swig_type_info _swigt__p_wxScrolledWindow 
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; 
21637 static swig_type_info _swigt__p_wxString 
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; 
21638 static swig_type_info _swigt__p_wxVisualAttributes 
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; 
21639 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
21641 static swig_type_info 
*swig_type_initial
[] = { 
21643   &_swigt__p_form_ops_t
, 
21646   &_swigt__p_unsigned_char
, 
21647   &_swigt__p_unsigned_int
, 
21648   &_swigt__p_unsigned_long
, 
21649   &_swigt__p_wxANIHandler
, 
21650   &_swigt__p_wxAcceleratorTable
, 
21651   &_swigt__p_wxActivateEvent
, 
21652   &_swigt__p_wxArrayString
, 
21653   &_swigt__p_wxBMPHandler
, 
21654   &_swigt__p_wxBoxSizer
, 
21655   &_swigt__p_wxCURHandler
, 
21656   &_swigt__p_wxCalculateLayoutEvent
, 
21657   &_swigt__p_wxChildFocusEvent
, 
21658   &_swigt__p_wxCloseEvent
, 
21659   &_swigt__p_wxColour
, 
21660   &_swigt__p_wxColourData
, 
21661   &_swigt__p_wxColourDialog
, 
21662   &_swigt__p_wxCommandEvent
, 
21663   &_swigt__p_wxContextMenuEvent
, 
21664   &_swigt__p_wxControl
, 
21665   &_swigt__p_wxControlWithItems
, 
21667   &_swigt__p_wxDateEvent
, 
21668   &_swigt__p_wxDialog
, 
21669   &_swigt__p_wxDirDialog
, 
21670   &_swigt__p_wxDisplayChangedEvent
, 
21671   &_swigt__p_wxDropFilesEvent
, 
21672   &_swigt__p_wxDuplexMode
, 
21673   &_swigt__p_wxEraseEvent
, 
21674   &_swigt__p_wxEvent
, 
21675   &_swigt__p_wxEvtHandler
, 
21676   &_swigt__p_wxFSFile
, 
21677   &_swigt__p_wxFileDialog
, 
21678   &_swigt__p_wxFileSystem
, 
21679   &_swigt__p_wxFindDialogEvent
, 
21680   &_swigt__p_wxFindReplaceData
, 
21681   &_swigt__p_wxFindReplaceDialog
, 
21682   &_swigt__p_wxFlexGridSizer
, 
21683   &_swigt__p_wxFocusEvent
, 
21685   &_swigt__p_wxFontData
, 
21686   &_swigt__p_wxFontDialog
, 
21687   &_swigt__p_wxFrame
, 
21688   &_swigt__p_wxGBSizerItem
, 
21689   &_swigt__p_wxGIFHandler
, 
21691   &_swigt__p_wxGridBagSizer
, 
21692   &_swigt__p_wxGridCellAttr
, 
21693   &_swigt__p_wxGridCellAttrProvider
, 
21694   &_swigt__p_wxGridCellAutoWrapStringEditor
, 
21695   &_swigt__p_wxGridCellAutoWrapStringRenderer
, 
21696   &_swigt__p_wxGridCellBoolEditor
, 
21697   &_swigt__p_wxGridCellBoolRenderer
, 
21698   &_swigt__p_wxGridCellChoiceEditor
, 
21699   &_swigt__p_wxGridCellCoords
, 
21700   &_swigt__p_wxGridCellDateTimeRenderer
, 
21701   &_swigt__p_wxGridCellEditor
, 
21702   &_swigt__p_wxGridCellEnumEditor
, 
21703   &_swigt__p_wxGridCellEnumRenderer
, 
21704   &_swigt__p_wxGridCellFloatEditor
, 
21705   &_swigt__p_wxGridCellFloatRenderer
, 
21706   &_swigt__p_wxGridCellNumberEditor
, 
21707   &_swigt__p_wxGridCellNumberRenderer
, 
21708   &_swigt__p_wxGridCellRenderer
, 
21709   &_swigt__p_wxGridCellStringRenderer
, 
21710   &_swigt__p_wxGridCellTextEditor
, 
21711   &_swigt__p_wxGridCellWorker
, 
21712   &_swigt__p_wxGridEditorCreatedEvent
, 
21713   &_swigt__p_wxGridEvent
, 
21714   &_swigt__p_wxGridRangeSelectEvent
, 
21715   &_swigt__p_wxGridSizeEvent
, 
21716   &_swigt__p_wxGridSizer
, 
21717   &_swigt__p_wxGridStringTable
, 
21718   &_swigt__p_wxGridTableBase
, 
21719   &_swigt__p_wxGridTableMessage
, 
21720   &_swigt__p_wxICOHandler
, 
21721   &_swigt__p_wxIconizeEvent
, 
21722   &_swigt__p_wxIdleEvent
, 
21723   &_swigt__p_wxImage
, 
21724   &_swigt__p_wxImageHandler
, 
21725   &_swigt__p_wxIndividualLayoutConstraint
, 
21726   &_swigt__p_wxInitDialogEvent
, 
21727   &_swigt__p_wxJPEGHandler
, 
21728   &_swigt__p_wxKeyEvent
, 
21729   &_swigt__p_wxLayoutAlgorithm
, 
21730   &_swigt__p_wxLayoutConstraints
, 
21731   &_swigt__p_wxMDIChildFrame
, 
21732   &_swigt__p_wxMDIClientWindow
, 
21733   &_swigt__p_wxMDIParentFrame
, 
21734   &_swigt__p_wxMaximizeEvent
, 
21736   &_swigt__p_wxMenuBar
, 
21737   &_swigt__p_wxMenuEvent
, 
21738   &_swigt__p_wxMenuItem
, 
21739   &_swigt__p_wxMessageDialog
, 
21740   &_swigt__p_wxMiniFrame
, 
21741   &_swigt__p_wxMouseCaptureChangedEvent
, 
21742   &_swigt__p_wxMouseEvent
, 
21743   &_swigt__p_wxMoveEvent
, 
21744   &_swigt__p_wxMultiChoiceDialog
, 
21745   &_swigt__p_wxNavigationKeyEvent
, 
21746   &_swigt__p_wxNcPaintEvent
, 
21747   &_swigt__p_wxNotifyEvent
, 
21748   &_swigt__p_wxObject
, 
21749   &_swigt__p_wxPCXHandler
, 
21750   &_swigt__p_wxPNGHandler
, 
21751   &_swigt__p_wxPNMHandler
, 
21752   &_swigt__p_wxPageSetupDialog
, 
21753   &_swigt__p_wxPageSetupDialogData
, 
21754   &_swigt__p_wxPaintEvent
, 
21755   &_swigt__p_wxPaletteChangedEvent
, 
21756   &_swigt__p_wxPanel
, 
21757   &_swigt__p_wxPaperSize
, 
21758   &_swigt__p_wxPasswordEntryDialog
, 
21759   &_swigt__p_wxPoint
, 
21760   &_swigt__p_wxPopupWindow
, 
21761   &_swigt__p_wxPreviewCanvas
, 
21762   &_swigt__p_wxPreviewControlBar
, 
21763   &_swigt__p_wxPreviewFrame
, 
21764   &_swigt__p_wxPrintData
, 
21765   &_swigt__p_wxPrintDialog
, 
21766   &_swigt__p_wxPrintDialogData
, 
21767   &_swigt__p_wxPrintPreview
, 
21768   &_swigt__p_wxPrinter
, 
21769   &_swigt__p_wxProgressDialog
, 
21770   &_swigt__p_wxPyApp
, 
21771   &_swigt__p_wxPyCommandEvent
, 
21772   &_swigt__p_wxPyEvent
, 
21773   &_swigt__p_wxPyGridCellAttrProvider
, 
21774   &_swigt__p_wxPyGridCellEditor
, 
21775   &_swigt__p_wxPyGridCellRenderer
, 
21776   &_swigt__p_wxPyGridTableBase
, 
21777   &_swigt__p_wxPyHtmlListBox
, 
21778   &_swigt__p_wxPyImageHandler
, 
21779   &_swigt__p_wxPyPanel
, 
21780   &_swigt__p_wxPyPopupTransientWindow
, 
21781   &_swigt__p_wxPyPreviewControlBar
, 
21782   &_swigt__p_wxPyPreviewFrame
, 
21783   &_swigt__p_wxPyPrintPreview
, 
21784   &_swigt__p_wxPyPrintout
, 
21785   &_swigt__p_wxPyScrolledWindow
, 
21786   &_swigt__p_wxPySizer
, 
21787   &_swigt__p_wxPyTaskBarIcon
, 
21788   &_swigt__p_wxPyVListBox
, 
21789   &_swigt__p_wxPyVScrolledWindow
, 
21790   &_swigt__p_wxPyValidator
, 
21791   &_swigt__p_wxPyWindow
, 
21792   &_swigt__p_wxQueryLayoutInfoEvent
, 
21793   &_swigt__p_wxQueryNewPaletteEvent
, 
21795   &_swigt__p_wxSashEvent
, 
21796   &_swigt__p_wxSashLayoutWindow
, 
21797   &_swigt__p_wxSashWindow
, 
21798   &_swigt__p_wxScrollEvent
, 
21799   &_swigt__p_wxScrollWinEvent
, 
21800   &_swigt__p_wxScrolledWindow
, 
21801   &_swigt__p_wxSetCursorEvent
, 
21802   &_swigt__p_wxShowEvent
, 
21803   &_swigt__p_wxSingleChoiceDialog
, 
21804   &_swigt__p_wxSizeEvent
, 
21805   &_swigt__p_wxSizer
, 
21806   &_swigt__p_wxSizerItem
, 
21807   &_swigt__p_wxSplashScreen
, 
21808   &_swigt__p_wxSplashScreenWindow
, 
21809   &_swigt__p_wxSplitterEvent
, 
21810   &_swigt__p_wxSplitterWindow
, 
21811   &_swigt__p_wxStaticBoxSizer
, 
21812   &_swigt__p_wxStatusBar
, 
21813   &_swigt__p_wxStdDialogButtonSizer
, 
21814   &_swigt__p_wxString
, 
21815   &_swigt__p_wxSysColourChangedEvent
, 
21816   &_swigt__p_wxTIFFHandler
, 
21817   &_swigt__p_wxTaskBarIconEvent
, 
21818   &_swigt__p_wxTextEntryDialog
, 
21819   &_swigt__p_wxTipWindow
, 
21820   &_swigt__p_wxTopLevelWindow
, 
21821   &_swigt__p_wxUpdateUIEvent
, 
21822   &_swigt__p_wxValidator
, 
21823   &_swigt__p_wxVisualAttributes
, 
21824   &_swigt__p_wxWindow
, 
21825   &_swigt__p_wxWindowCreateEvent
, 
21826   &_swigt__p_wxWindowDestroyEvent
, 
21827   &_swigt__p_wxXPMHandler
, 
21830 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
21831 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
21832 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
21833 static swig_cast_info _swigc__p_long
[] = {  {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}}; 
21834 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
21835 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
21836 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
21837 static swig_cast_info _swigc__p_wxArrayString
[] = {  {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}}; 
21838 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
21839 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21840 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21841 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21842 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21843 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21844 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21845 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21846 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21847 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21848 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21849 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21850 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_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_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_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}}; 
21851 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
21852 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}}; 
21853 static swig_cast_info _swigc__p_wxDC
[] = {  {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}}; 
21854 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
21855 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21856 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21857 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21858 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21859 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21860 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21861 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21862 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21863 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21864 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21865 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21866 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21867 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21868 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21869 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21870 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21871 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21872 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21873 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21874 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21875 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21876 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21877 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21878 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21879 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21880 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21881 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21882 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21883 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_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_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_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}}; 
21884 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}}; 
21885 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
21886 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}}; 
21887 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
21888 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
21889 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
21890 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21891 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21892 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21893 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21894 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21895 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21896 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21897 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21898 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}}; 
21899 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21900 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21901 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21902 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21903 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21904 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21905 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21906 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21907 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21908 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21909 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21910 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
21911 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
21912 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
21913 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
21914 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}}; 
21915 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
21916 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
21917 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
21918 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
21919 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
21920 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
21921 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
21922 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21923 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21924 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21925 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21926 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
21927 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
21928 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_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_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_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_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_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}}; 
21929 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
21930 static swig_cast_info _swigc__p_wxGrid
[] = {  {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}}; 
21931 static swig_cast_info _swigc__p_wxGridCellAttr
[] = {  {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}}; 
21932 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}}; 
21933 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = {  {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
21934 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = {  {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
21935 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = {  {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
21936 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = {  {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
21937 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}}; 
21938 static swig_cast_info _swigc__p_wxGridCellCoords
[] = {  {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}}; 
21939 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = {  {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
21940 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}}; 
21941 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = {  {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
21942 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = {  {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
21943 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = {  {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
21944 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = {  {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
21945 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = {  {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
21946 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = {  {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
21947 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}}; 
21948 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}}; 
21949 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}}; 
21950 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}}; 
21951 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = {  {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21952 static swig_cast_info _swigc__p_wxGridEvent
[] = {  {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21953 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = {  {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21954 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = {  {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21955 static swig_cast_info _swigc__p_wxGridStringTable
[] = {  {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}}; 
21956 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}}; 
21957 static swig_cast_info _swigc__p_wxGridTableMessage
[] = {  {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}}; 
21958 static swig_cast_info _swigc__p_wxKeyEvent
[] = {  {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
21959 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}}; 
21960 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
21961 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
21962 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
21963 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
21964 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
21965 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
21966 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
21967 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
21968 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}}; 
21969 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
21970 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
21971 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
21972 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}}; 
21973 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
21974 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}}; 
21975 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
21976 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}}; 
21977 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}}; 
21978 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
21979 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21980 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21981 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21982 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21983 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21984 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21985 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21986 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21987 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21988 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21989 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21990 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21991 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
21992 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
21993 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
21994 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
21995 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}}; 
21996 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
21997 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
21998 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
21999 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
22000 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
22001 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
22002 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
22003 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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_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_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_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_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_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_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_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_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_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_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_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}}; 
22004 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_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}}; 
22005 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
22006 static swig_cast_info _swigc__p_wxPoint
[] = {  {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}}; 
22007 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = {  {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}}; 
22008 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = {  {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}}; 
22009 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = {  {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}}; 
22010 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = {  {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}}; 
22011 static swig_cast_info _swigc__p_wxRect
[] = {  {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}}; 
22012 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}}; 
22013 static swig_cast_info _swigc__p_wxString
[] = {  {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}}; 
22014 static swig_cast_info _swigc__p_wxVisualAttributes
[] = {  {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}}; 
22015 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_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_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_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_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_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}}; 
22017 static swig_cast_info 
*swig_cast_initial
[] = { 
22019   _swigc__p_form_ops_t
, 
22022   _swigc__p_unsigned_char
, 
22023   _swigc__p_unsigned_int
, 
22024   _swigc__p_unsigned_long
, 
22025   _swigc__p_wxANIHandler
, 
22026   _swigc__p_wxAcceleratorTable
, 
22027   _swigc__p_wxActivateEvent
, 
22028   _swigc__p_wxArrayString
, 
22029   _swigc__p_wxBMPHandler
, 
22030   _swigc__p_wxBoxSizer
, 
22031   _swigc__p_wxCURHandler
, 
22032   _swigc__p_wxCalculateLayoutEvent
, 
22033   _swigc__p_wxChildFocusEvent
, 
22034   _swigc__p_wxCloseEvent
, 
22035   _swigc__p_wxColour
, 
22036   _swigc__p_wxColourData
, 
22037   _swigc__p_wxColourDialog
, 
22038   _swigc__p_wxCommandEvent
, 
22039   _swigc__p_wxContextMenuEvent
, 
22040   _swigc__p_wxControl
, 
22041   _swigc__p_wxControlWithItems
, 
22043   _swigc__p_wxDateEvent
, 
22044   _swigc__p_wxDialog
, 
22045   _swigc__p_wxDirDialog
, 
22046   _swigc__p_wxDisplayChangedEvent
, 
22047   _swigc__p_wxDropFilesEvent
, 
22048   _swigc__p_wxDuplexMode
, 
22049   _swigc__p_wxEraseEvent
, 
22051   _swigc__p_wxEvtHandler
, 
22052   _swigc__p_wxFSFile
, 
22053   _swigc__p_wxFileDialog
, 
22054   _swigc__p_wxFileSystem
, 
22055   _swigc__p_wxFindDialogEvent
, 
22056   _swigc__p_wxFindReplaceData
, 
22057   _swigc__p_wxFindReplaceDialog
, 
22058   _swigc__p_wxFlexGridSizer
, 
22059   _swigc__p_wxFocusEvent
, 
22061   _swigc__p_wxFontData
, 
22062   _swigc__p_wxFontDialog
, 
22064   _swigc__p_wxGBSizerItem
, 
22065   _swigc__p_wxGIFHandler
, 
22067   _swigc__p_wxGridBagSizer
, 
22068   _swigc__p_wxGridCellAttr
, 
22069   _swigc__p_wxGridCellAttrProvider
, 
22070   _swigc__p_wxGridCellAutoWrapStringEditor
, 
22071   _swigc__p_wxGridCellAutoWrapStringRenderer
, 
22072   _swigc__p_wxGridCellBoolEditor
, 
22073   _swigc__p_wxGridCellBoolRenderer
, 
22074   _swigc__p_wxGridCellChoiceEditor
, 
22075   _swigc__p_wxGridCellCoords
, 
22076   _swigc__p_wxGridCellDateTimeRenderer
, 
22077   _swigc__p_wxGridCellEditor
, 
22078   _swigc__p_wxGridCellEnumEditor
, 
22079   _swigc__p_wxGridCellEnumRenderer
, 
22080   _swigc__p_wxGridCellFloatEditor
, 
22081   _swigc__p_wxGridCellFloatRenderer
, 
22082   _swigc__p_wxGridCellNumberEditor
, 
22083   _swigc__p_wxGridCellNumberRenderer
, 
22084   _swigc__p_wxGridCellRenderer
, 
22085   _swigc__p_wxGridCellStringRenderer
, 
22086   _swigc__p_wxGridCellTextEditor
, 
22087   _swigc__p_wxGridCellWorker
, 
22088   _swigc__p_wxGridEditorCreatedEvent
, 
22089   _swigc__p_wxGridEvent
, 
22090   _swigc__p_wxGridRangeSelectEvent
, 
22091   _swigc__p_wxGridSizeEvent
, 
22092   _swigc__p_wxGridSizer
, 
22093   _swigc__p_wxGridStringTable
, 
22094   _swigc__p_wxGridTableBase
, 
22095   _swigc__p_wxGridTableMessage
, 
22096   _swigc__p_wxICOHandler
, 
22097   _swigc__p_wxIconizeEvent
, 
22098   _swigc__p_wxIdleEvent
, 
22100   _swigc__p_wxImageHandler
, 
22101   _swigc__p_wxIndividualLayoutConstraint
, 
22102   _swigc__p_wxInitDialogEvent
, 
22103   _swigc__p_wxJPEGHandler
, 
22104   _swigc__p_wxKeyEvent
, 
22105   _swigc__p_wxLayoutAlgorithm
, 
22106   _swigc__p_wxLayoutConstraints
, 
22107   _swigc__p_wxMDIChildFrame
, 
22108   _swigc__p_wxMDIClientWindow
, 
22109   _swigc__p_wxMDIParentFrame
, 
22110   _swigc__p_wxMaximizeEvent
, 
22112   _swigc__p_wxMenuBar
, 
22113   _swigc__p_wxMenuEvent
, 
22114   _swigc__p_wxMenuItem
, 
22115   _swigc__p_wxMessageDialog
, 
22116   _swigc__p_wxMiniFrame
, 
22117   _swigc__p_wxMouseCaptureChangedEvent
, 
22118   _swigc__p_wxMouseEvent
, 
22119   _swigc__p_wxMoveEvent
, 
22120   _swigc__p_wxMultiChoiceDialog
, 
22121   _swigc__p_wxNavigationKeyEvent
, 
22122   _swigc__p_wxNcPaintEvent
, 
22123   _swigc__p_wxNotifyEvent
, 
22124   _swigc__p_wxObject
, 
22125   _swigc__p_wxPCXHandler
, 
22126   _swigc__p_wxPNGHandler
, 
22127   _swigc__p_wxPNMHandler
, 
22128   _swigc__p_wxPageSetupDialog
, 
22129   _swigc__p_wxPageSetupDialogData
, 
22130   _swigc__p_wxPaintEvent
, 
22131   _swigc__p_wxPaletteChangedEvent
, 
22133   _swigc__p_wxPaperSize
, 
22134   _swigc__p_wxPasswordEntryDialog
, 
22136   _swigc__p_wxPopupWindow
, 
22137   _swigc__p_wxPreviewCanvas
, 
22138   _swigc__p_wxPreviewControlBar
, 
22139   _swigc__p_wxPreviewFrame
, 
22140   _swigc__p_wxPrintData
, 
22141   _swigc__p_wxPrintDialog
, 
22142   _swigc__p_wxPrintDialogData
, 
22143   _swigc__p_wxPrintPreview
, 
22144   _swigc__p_wxPrinter
, 
22145   _swigc__p_wxProgressDialog
, 
22147   _swigc__p_wxPyCommandEvent
, 
22148   _swigc__p_wxPyEvent
, 
22149   _swigc__p_wxPyGridCellAttrProvider
, 
22150   _swigc__p_wxPyGridCellEditor
, 
22151   _swigc__p_wxPyGridCellRenderer
, 
22152   _swigc__p_wxPyGridTableBase
, 
22153   _swigc__p_wxPyHtmlListBox
, 
22154   _swigc__p_wxPyImageHandler
, 
22155   _swigc__p_wxPyPanel
, 
22156   _swigc__p_wxPyPopupTransientWindow
, 
22157   _swigc__p_wxPyPreviewControlBar
, 
22158   _swigc__p_wxPyPreviewFrame
, 
22159   _swigc__p_wxPyPrintPreview
, 
22160   _swigc__p_wxPyPrintout
, 
22161   _swigc__p_wxPyScrolledWindow
, 
22162   _swigc__p_wxPySizer
, 
22163   _swigc__p_wxPyTaskBarIcon
, 
22164   _swigc__p_wxPyVListBox
, 
22165   _swigc__p_wxPyVScrolledWindow
, 
22166   _swigc__p_wxPyValidator
, 
22167   _swigc__p_wxPyWindow
, 
22168   _swigc__p_wxQueryLayoutInfoEvent
, 
22169   _swigc__p_wxQueryNewPaletteEvent
, 
22171   _swigc__p_wxSashEvent
, 
22172   _swigc__p_wxSashLayoutWindow
, 
22173   _swigc__p_wxSashWindow
, 
22174   _swigc__p_wxScrollEvent
, 
22175   _swigc__p_wxScrollWinEvent
, 
22176   _swigc__p_wxScrolledWindow
, 
22177   _swigc__p_wxSetCursorEvent
, 
22178   _swigc__p_wxShowEvent
, 
22179   _swigc__p_wxSingleChoiceDialog
, 
22180   _swigc__p_wxSizeEvent
, 
22182   _swigc__p_wxSizerItem
, 
22183   _swigc__p_wxSplashScreen
, 
22184   _swigc__p_wxSplashScreenWindow
, 
22185   _swigc__p_wxSplitterEvent
, 
22186   _swigc__p_wxSplitterWindow
, 
22187   _swigc__p_wxStaticBoxSizer
, 
22188   _swigc__p_wxStatusBar
, 
22189   _swigc__p_wxStdDialogButtonSizer
, 
22190   _swigc__p_wxString
, 
22191   _swigc__p_wxSysColourChangedEvent
, 
22192   _swigc__p_wxTIFFHandler
, 
22193   _swigc__p_wxTaskBarIconEvent
, 
22194   _swigc__p_wxTextEntryDialog
, 
22195   _swigc__p_wxTipWindow
, 
22196   _swigc__p_wxTopLevelWindow
, 
22197   _swigc__p_wxUpdateUIEvent
, 
22198   _swigc__p_wxValidator
, 
22199   _swigc__p_wxVisualAttributes
, 
22200   _swigc__p_wxWindow
, 
22201   _swigc__p_wxWindowCreateEvent
, 
22202   _swigc__p_wxWindowDestroyEvent
, 
22203   _swigc__p_wxXPMHandler
, 
22207 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
22209 static swig_const_info swig_const_table
[] = { 
22210 {0, 0, 0, 0.0, 0, 0}}; 
22215 /* ----------------------------------------------------------------------------- 
22216  * Type initialization: 
22217  * This problem is tough by the requirement that no dynamic  
22218  * memory is used. Also, since swig_type_info structures store pointers to  
22219  * swig_cast_info structures and swig_cast_info structures store pointers back 
22220  * to swig_type_info structures, we need some lookup code at initialization.  
22221  * The idea is that swig generates all the structures that are needed.  
22222  * The runtime then collects these partially filled structures.  
22223  * The SWIG_InitializeModule function takes these initial arrays out of  
22224  * swig_module, and does all the lookup, filling in the swig_module.types 
22225  * array with the correct data and linking the correct swig_cast_info 
22226  * structures together. 
22228  * The generated swig_type_info structures are assigned staticly to an initial  
22229  * array. We just loop though that array, and handle each type individually. 
22230  * First we lookup if this type has been already loaded, and if so, use the 
22231  * loaded structure instead of the generated one. Then we have to fill in the 
22232  * cast linked list. The cast data is initially stored in something like a 
22233  * two-dimensional array. Each row corresponds to a type (there are the same 
22234  * number of rows as there are in the swig_type_initial array). Each entry in 
22235  * a column is one of the swig_cast_info structures for that type. 
22236  * The cast_initial array is actually an array of arrays, because each row has 
22237  * a variable number of columns. So to actually build the cast linked list, 
22238  * we find the array of casts associated with the type, and loop through it  
22239  * adding the casts to the list. The one last trick we need to do is making 
22240  * sure the type pointer in the swig_cast_info struct is correct. 
22242  * First off, we lookup the cast->type name to see if it is already loaded.  
22243  * There are three cases to handle: 
22244  *  1) If the cast->type has already been loaded AND the type we are adding 
22245  *     casting info to has not been loaded (it is in this module), THEN we 
22246  *     replace the cast->type pointer with the type pointer that has already 
22248  *  2) If BOTH types (the one we are adding casting info to, and the  
22249  *     cast->type) are loaded, THEN the cast info has already been loaded by 
22250  *     the previous module so we just ignore it. 
22251  *  3) Finally, if cast->type has not already been loaded, then we add that 
22252  *     swig_cast_info to the linked list (because the cast->type) pointer will 
22254  * ----------------------------------------------------------------------------- */ 
22264 #define SWIGRUNTIME_DEBUG 
22268 SWIG_InitializeModule(void *clientdata
) { 
22270   swig_module_info 
*module_head
; 
22271   static int init_run 
= 0; 
22273   clientdata 
= clientdata
; 
22275   if (init_run
) return; 
22278   /* Initialize the swig_module */ 
22279   swig_module
.type_initial 
= swig_type_initial
; 
22280   swig_module
.cast_initial 
= swig_cast_initial
; 
22282   /* Try and load any already created modules */ 
22283   module_head 
= SWIG_GetModule(clientdata
); 
22285     swig_module
.next 
= module_head
->next
; 
22286     module_head
->next 
= &swig_module
; 
22288     /* This is the first module loaded */ 
22289     swig_module
.next 
= &swig_module
; 
22290     SWIG_SetModule(clientdata
, &swig_module
); 
22293   /* Now work on filling in swig_module.types */ 
22294 #ifdef SWIGRUNTIME_DEBUG 
22295   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
22297   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
22298     swig_type_info 
*type 
= 0; 
22299     swig_type_info 
*ret
; 
22300     swig_cast_info 
*cast
; 
22302 #ifdef SWIGRUNTIME_DEBUG 
22303     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
22306     /* if there is another module already loaded */ 
22307     if (swig_module
.next 
!= &swig_module
) { 
22308       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
22311       /* Overwrite clientdata field */ 
22312 #ifdef SWIGRUNTIME_DEBUG 
22313       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
22315       if (swig_module
.type_initial
[i
]->clientdata
) { 
22316         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
22317 #ifdef SWIGRUNTIME_DEBUG 
22318         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
22322       type 
= swig_module
.type_initial
[i
]; 
22325     /* Insert casting types */ 
22326     cast 
= swig_module
.cast_initial
[i
]; 
22327     while (cast
->type
) { 
22328       /* Don't need to add information already in the list */ 
22330 #ifdef SWIGRUNTIME_DEBUG 
22331       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
22333       if (swig_module
.next 
!= &swig_module
) { 
22334         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
22335 #ifdef SWIGRUNTIME_DEBUG 
22336         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
22340         if (type 
== swig_module
.type_initial
[i
]) { 
22341 #ifdef SWIGRUNTIME_DEBUG 
22342           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
22347           /* Check for casting already in the list */ 
22348           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
22349 #ifdef SWIGRUNTIME_DEBUG 
22350           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
22352           if (!ocast
) ret 
= 0; 
22357 #ifdef SWIGRUNTIME_DEBUG 
22358         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
22361           type
->cast
->prev 
= cast
; 
22362           cast
->next 
= type
->cast
; 
22368     /* Set entry in modules->types array equal to the type */ 
22369     swig_module
.types
[i
] = type
; 
22371   swig_module
.types
[i
] = 0; 
22373 #ifdef SWIGRUNTIME_DEBUG 
22374   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
22375   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
22377     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
22378     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
22379     while (cast
->type
) { 
22380       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
22384     printf("---- Total casts: %d\n",j
); 
22386   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
22390 /* This function will propagate the clientdata field of type to 
22391 * any new swig_type_info structures that have been added into the list 
22392 * of equivalent types.  It is like calling 
22393 * SWIG_TypeClientData(type, clientdata) a second time. 
22396 SWIG_PropagateClientData(void) { 
22398   swig_cast_info 
*equiv
; 
22399   static int init_run 
= 0; 
22401   if (init_run
) return; 
22404   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
22405     if (swig_module
.types
[i
]->clientdata
) { 
22406       equiv 
= swig_module
.types
[i
]->cast
; 
22408         if (!equiv
->converter
) { 
22409           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
22410           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
22412         equiv 
= equiv
->next
; 
22432   /* Python-specific SWIG API */ 
22433 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
22434 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
22435 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
22437   /* ----------------------------------------------------------------------------- 
22438    * global variable support code. 
22439    * ----------------------------------------------------------------------------- */ 
22441   typedef struct swig_globalvar 
{ 
22442     char       *name
;                  /* Name of global variable */ 
22443     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
22444     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
22445     struct swig_globalvar 
*next
; 
22448   typedef struct swig_varlinkobject 
{ 
22450     swig_globalvar 
*vars
; 
22451   } swig_varlinkobject
; 
22453   SWIGINTERN PyObject 
* 
22454   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
22455     return PyString_FromString("<Swig global variables>"); 
22458   SWIGINTERN PyObject 
* 
22459   swig_varlink_str(swig_varlinkobject 
*v
) { 
22460     PyObject 
*str 
= PyString_FromString("("); 
22461     swig_globalvar  
*var
; 
22462     for (var 
= v
->vars
; var
; var
=var
->next
) { 
22463       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
22464       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
22466     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
22471   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
22472     PyObject 
*str 
= swig_varlink_str(v
); 
22473     fprintf(fp
,"Swig global variables "); 
22474     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
22480   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
22481     swig_globalvar 
*var 
= v
->vars
; 
22483       swig_globalvar 
*n 
= var
->next
; 
22490   SWIGINTERN PyObject 
* 
22491   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
22492     PyObject 
*res 
= NULL
; 
22493     swig_globalvar 
*var 
= v
->vars
; 
22495       if (strcmp(var
->name
,n
) == 0) { 
22496         res 
= (*var
->get_attr
)(); 
22501     if (res 
== NULL 
&& !PyErr_Occurred()) { 
22502       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
22508   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
22510     swig_globalvar 
*var 
= v
->vars
; 
22512       if (strcmp(var
->name
,n
) == 0) { 
22513         res 
= (*var
->set_attr
)(p
); 
22518     if (res 
== 1 && !PyErr_Occurred()) { 
22519       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
22524   SWIGINTERN PyTypeObject
* 
22525   swig_varlink_type(void) { 
22526     static char varlink__doc__
[] = "Swig var link object"; 
22527     static PyTypeObject varlink_type
; 
22528     static int type_init 
= 0;   
22530       const PyTypeObject tmp
 
22532         PyObject_HEAD_INIT(NULL
) 
22533         0,                                  /* Number of items in variable part (ob_size) */ 
22534         (char *)"swigvarlink",              /* Type name (tp_name) */ 
22535         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
22536         0,                                  /* Itemsize (tp_itemsize) */ 
22537         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
22538         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
22539         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
22540         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
22541         0,                                  /* tp_compare */ 
22542         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
22543         0,                                  /* tp_as_number */ 
22544         0,                                  /* tp_as_sequence */ 
22545         0,                                  /* tp_as_mapping */ 
22548         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
22549         0,                                  /* tp_getattro */ 
22550         0,                                  /* tp_setattro */ 
22551         0,                                  /* tp_as_buffer */ 
22553         varlink__doc__
,                     /* tp_doc */ 
22554         0,                                  /* tp_traverse */ 
22556         0,                                  /* tp_richcompare */ 
22557         0,                                  /* tp_weaklistoffset */ 
22558 #if PY_VERSION_HEX >= 0x02020000 
22559         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
22561 #if PY_VERSION_HEX >= 0x02030000 
22564 #ifdef COUNT_ALLOCS 
22565         0,0,0,0                             /* tp_alloc -> tp_next */ 
22568       varlink_type 
= tmp
; 
22569       varlink_type
.ob_type 
= &PyType_Type
; 
22572     return &varlink_type
; 
22575   /* Create a variable linking object for use later */ 
22576   SWIGINTERN PyObject 
* 
22577   SWIG_Python_newvarlink(void) { 
22578     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
22582     return ((PyObject
*) result
); 
22586   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
22587     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
22588     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
22590       size_t size 
= strlen(name
)+1; 
22591       gv
->name 
= (char *)malloc(size
); 
22593         strncpy(gv
->name
,name
,size
); 
22594         gv
->get_attr 
= get_attr
; 
22595         gv
->set_attr 
= set_attr
; 
22596         gv
->next 
= v
->vars
; 
22602   SWIGINTERN PyObject 
* 
22604     static PyObject 
*_SWIG_globals 
= 0;  
22605     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
22606     return _SWIG_globals
; 
22609   /* ----------------------------------------------------------------------------- 
22610    * constants/methods manipulation 
22611    * ----------------------------------------------------------------------------- */ 
22613   /* Install Constants */ 
22615   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
22618     for (i 
= 0; constants
[i
].type
; ++i
) { 
22619       switch(constants
[i
].type
) { 
22620       case SWIG_PY_POINTER
: 
22621         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
22623       case SWIG_PY_BINARY
: 
22624         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
22631         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
22637   /* -----------------------------------------------------------------------------*/ 
22638   /* Fix SwigMethods to carry the callback ptrs when needed */ 
22639   /* -----------------------------------------------------------------------------*/ 
22642   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
22643     swig_const_info 
*const_table
, 
22644     swig_type_info 
**types
, 
22645     swig_type_info 
**types_initial
) { 
22647     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
22648       char *c 
= methods
[i
].ml_doc
; 
22649       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
22651         swig_const_info 
*ci 
= 0; 
22652         char *name 
= c 
+ 10; 
22653         for (j 
= 0; const_table
[j
].type
; ++j
) { 
22654           if (strncmp(const_table
[j
].name
, name
,  
22655               strlen(const_table
[j
].name
)) == 0) { 
22656             ci 
= &(const_table
[j
]); 
22661           size_t shift 
= (ci
->ptype
) - types
; 
22662           swig_type_info 
*ty 
= types_initial
[shift
]; 
22663           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
22664           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
22665           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
22668             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
22670               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
22672               strncpy(buff
, "swig_ptr: ", 10); 
22674               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
22675               methods
[i
].ml_doc 
= ndoc
; 
22687 /* -----------------------------------------------------------------------------* 
22688  *  Partial Init method 
22689  * -----------------------------------------------------------------------------*/ 
22694 SWIGEXPORT 
void SWIG_init(void) { 
22697   /* Fix SwigMethods to carry the callback ptrs when needed */ 
22698   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
22700   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
22701   d 
= PyModule_GetDict(m
); 
22703   SWIG_InitializeModule(0); 
22704   SWIG_InstallConstants(d
,swig_const_table
); 
22707   SWIG_Python_SetConstant(d
, "GRID_VALUE_STRING",SWIG_FromCharPtr("string")); 
22708   SWIG_Python_SetConstant(d
, "GRID_VALUE_BOOL",SWIG_FromCharPtr("bool")); 
22709   SWIG_Python_SetConstant(d
, "GRID_VALUE_NUMBER",SWIG_FromCharPtr("long")); 
22710   SWIG_Python_SetConstant(d
, "GRID_VALUE_FLOAT",SWIG_FromCharPtr("double")); 
22711   SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICE",SWIG_FromCharPtr("choice")); 
22712   SWIG_Python_SetConstant(d
, "GRID_VALUE_TEXT",SWIG_FromCharPtr("string")); 
22713   SWIG_Python_SetConstant(d
, "GRID_VALUE_LONG",SWIG_FromCharPtr("long")); 
22714   SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICEINT",SWIG_FromCharPtr("choiceint")); 
22715   SWIG_Python_SetConstant(d
, "GRID_VALUE_DATETIME",SWIG_FromCharPtr("datetime")); 
22716   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
22717   SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellCoords",GridNoCellCoords_get
, GridNoCellCoords_set
); 
22718   SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellRect",GridNoCellRect_get
, GridNoCellRect_set
); 
22719   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_ROWS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_ROWS
))); 
22720   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_COLS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_COLS
))); 
22721   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_HEIGHT
))); 
22722   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_WIDTH
))); 
22723   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_LABEL_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
))); 
22724   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_LABEL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
))); 
22725   SWIG_Python_SetConstant(d
, "GRID_LABEL_EDGE_ZONE",SWIG_From_int(static_cast< int >(wxGRID_LABEL_EDGE_ZONE
))); 
22726   SWIG_Python_SetConstant(d
, "GRID_MIN_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_MIN_ROW_HEIGHT
))); 
22727   SWIG_Python_SetConstant(d
, "GRID_MIN_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_MIN_COL_WIDTH
))); 
22728   SWIG_Python_SetConstant(d
, "GRID_DEFAULT_SCROLLBAR_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
))); 
22729   SWIG_Python_SetConstant(d
, "GridCellAttr_Any",SWIG_From_int(static_cast< int >(wxGridCellAttr::Any
))); 
22730   SWIG_Python_SetConstant(d
, "GridCellAttr_Default",SWIG_From_int(static_cast< int >(wxGridCellAttr::Default
))); 
22731   SWIG_Python_SetConstant(d
, "GridCellAttr_Cell",SWIG_From_int(static_cast< int >(wxGridCellAttr::Cell
))); 
22732   SWIG_Python_SetConstant(d
, "GridCellAttr_Row",SWIG_From_int(static_cast< int >(wxGridCellAttr::Row
))); 
22733   SWIG_Python_SetConstant(d
, "GridCellAttr_Col",SWIG_From_int(static_cast< int >(wxGridCellAttr::Col
))); 
22734   SWIG_Python_SetConstant(d
, "GridCellAttr_Merged",SWIG_From_int(static_cast< int >(wxGridCellAttr::Merged
))); 
22735   SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_GET_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
))); 
22736   SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_SEND_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
))); 
22737   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
))); 
22738   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
))); 
22739   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
))); 
22740   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
))); 
22741   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
))); 
22742   SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
))); 
22743   SWIG_Python_SetConstant(d
, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells
))); 
22744   SWIG_Python_SetConstant(d
, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows
))); 
22745   SWIG_Python_SetConstant(d
, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns
))); 
22746   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
)); 
22747   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
)); 
22748   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
)); 
22749   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
)); 
22750   PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
)); 
22751   PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
)); 
22752   PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
)); 
22753   PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
)); 
22754   PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
)); 
22755   PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
)); 
22756   PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
)); 
22757   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
)); 
22758   PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
)); 
22759   PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
)); 
22760   PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
)); 
22761   PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
)); 
22762   PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));