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_NOINCLUDE 
  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
); 
  33 /*************************************************************** -*- c -*- 
  34  * python/precommon.swg 
  36  * Rename all exported symbols from common.swg, to avoid symbol 
  37  * clashes if multiple interpreters are included 
  39  ************************************************************************/ 
  41 #define SWIG_TypeRegister    SWIG_Python_TypeRegister 
  42 #define SWIG_TypeCheck       SWIG_Python_TypeCheck 
  43 #define SWIG_TypeCast        SWIG_Python_TypeCast 
  44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast 
  45 #define SWIG_TypeName        SWIG_Python_TypeName 
  46 #define SWIG_TypeQuery       SWIG_Python_TypeQuery 
  47 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  48 #define SWIG_PackData        SWIG_Python_PackData  
  49 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  52 /*********************************************************************** 
  53  * common.swg for wxPython 
  55  * Include only the function prototypes and such from SWIG's common.swg, 
  56  * but not the runtime functions themselves.  This helps keep the 
  57  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  60  ************************************************************************/ 
  64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  65 #  if defined(_MSC_VER) || defined(__GNUC__) 
  66 #    if defined(STATIC_LINKED) 
  67 #      define SWIGEXPORT(a) a 
  68 #      define SWIGIMPORT(a) extern a 
  70 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  71 #      define SWIGIMPORT(a) extern a 
  74 #    if defined(__BORLANDC__) 
  75 #      define SWIGEXPORT(a) a _export 
  76 #      define SWIGIMPORT(a) a _export 
  78 #      define SWIGEXPORT(a) a 
  79 #      define SWIGIMPORT(a) a 
  83 #  define SWIGEXPORT(a) a 
  84 #  define SWIGIMPORT(a) a 
  88 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  90 #  define SWIGRUNTIME(a) static a 
  97 typedef void *(*swig_converter_func
)(void *); 
  98 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 100 typedef struct swig_type_info 
{ 
 102   swig_converter_func     converter
; 
 105   swig_dycast_func        dcast
; 
 106   struct swig_type_info  
*next
; 
 107   struct swig_type_info  
*prev
; 
 111 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 113 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 114 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 115 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 116 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 117 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 118 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 119 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 126 /*********************************************************************** 
 127  * pyrun.swg for wxPython 
 129  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 130  * but not the runtime functions themselves.  This helps keep the 
 131  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 134  ************************************************************************/ 
 142 #define SWIG_PY_INT     1 
 143 #define SWIG_PY_FLOAT   2 
 144 #define SWIG_PY_STRING  3 
 145 #define SWIG_PY_POINTER 4 
 146 #define SWIG_PY_BINARY  5 
 148 /* Flags for pointer conversion */ 
 150 #define SWIG_POINTER_EXCEPTION     0x1 
 151 #define SWIG_POINTER_DISOWN        0x2 
 153 /* Exception handling in wrappers */ 
 154 #define SWIG_fail   goto fail 
 156 /* Constant information structure */ 
 157 typedef struct swig_const_info 
{ 
 163     swig_type_info 
**ptype
; 
 166 /* Common SWIG API */ 
 167 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 168   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 169 #define SWIG_NewPointerObj(p, type, flags) \ 
 170   SWIG_Python_NewPointerObj(p, type, flags) 
 171 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 172   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 174 /* Python-specific SWIG API */ 
 175 #define SWIG_newvarlink() \ 
 176   SWIG_Python_newvarlink() 
 177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 178   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 180   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 181 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 182   SWIG_Python_NewPackedObj(ptr, sz, type) 
 183 #define SWIG_InstallConstants(d, constants) \ 
 184   SWIG_Python_InstallConstants(d, constants) 
 186 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 188 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 189 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 190 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 191 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 192 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 193 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 194 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 195 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 198 /* Contract support */ 
 200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 207 /* -------- TYPES TABLE (BEGIN) -------- */ 
 209 #define  SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]  
 210 #define  SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]  
 211 #define  SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]  
 212 #define  SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]  
 213 #define  SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]  
 214 #define  SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]  
 215 #define  SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]  
 216 #define  SWIGTYPE_p_wxGridCellRenderer swig_types[7]  
 217 #define  SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]  
 218 #define  SWIGTYPE_p_wxGridCellAttr swig_types[9]  
 219 #define  SWIGTYPE_p_wxColour swig_types[10]  
 220 #define  SWIGTYPE_p_wxDC swig_types[11]  
 221 #define  SWIGTYPE_p_wxGridTableMessage swig_types[12]  
 222 #define  SWIGTYPE_p_wxGrid swig_types[13]  
 223 #define  SWIGTYPE_p_char swig_types[14]  
 224 #define  SWIGTYPE_p_wxPanel swig_types[15]  
 225 #define  SWIGTYPE_p_wxNotifyEvent swig_types[16]  
 226 #define  SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]  
 227 #define  SWIGTYPE_p_wxSize swig_types[18]  
 228 #define  SWIGTYPE_p_wxGridCellCoords swig_types[19]  
 229 #define  SWIGTYPE_p_wxScrolledWindow swig_types[20]  
 230 #define  SWIGTYPE_p_wxWindow swig_types[21]  
 231 #define  SWIGTYPE_p_wxFont swig_types[22]  
 232 #define  SWIGTYPE_p_wxControl swig_types[23]  
 233 #define  SWIGTYPE_p_wxEvent swig_types[24]  
 234 #define  SWIGTYPE_p_wxObject swig_types[25]  
 235 #define  SWIGTYPE_p_wxGridSizeEvent swig_types[26]  
 236 #define  SWIGTYPE_p_wxRect swig_types[27]  
 237 #define  SWIGTYPE_p_long swig_types[28]  
 238 #define  SWIGTYPE_p_wxString swig_types[29]  
 239 #define  SWIGTYPE_p_wxEvtHandler swig_types[30]  
 240 #define  SWIGTYPE_p_wxPoint swig_types[31]  
 241 #define  SWIGTYPE_p_wxGridEvent swig_types[32]  
 242 #define  SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]  
 243 #define  SWIGTYPE_p_wxGridTableBase swig_types[34]  
 244 #define  SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]  
 245 #define  SWIGTYPE_p_wxPyGridCellEditor swig_types[36]  
 246 #define  SWIGTYPE_p_wxGridCellEditor swig_types[37]  
 247 #define  SWIGTYPE_p_wxGridCellTextEditor swig_types[38]  
 248 #define  SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]  
 249 #define  SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]  
 250 #define  SWIGTYPE_p_wxPyGridTableBase swig_types[41]  
 251 #define  SWIGTYPE_p_wxGridStringTable swig_types[42]  
 252 #define  SWIGTYPE_p_wxArrayString swig_types[43]  
 253 #define  SWIGTYPE_p_wxCommandEvent swig_types[44]  
 254 #define  SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]  
 255 #define  SWIGTYPE_p_wxKeyEvent swig_types[46]  
 256 #define  SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]  
 257 #define  SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]  
 258 #define  SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]  
 259 #define  SWIGTYPE_p_int swig_types[50]  
 260 #define  SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]  
 261 static swig_type_info 
*swig_types
[53]; 
 263 /* -------- TYPES TABLE (END) -------- */ 
 266 /*----------------------------------------------- 
 268   ------------------------------------------------*/ 
 269 #define SWIG_init    init_grid 
 271 #define SWIG_name    "_grid" 
 273 /* Auxiliar swig  macros */ 
 276 #define SWIGSTATICINLINE(a) static inline a 
 277 #define SWIGSTATIC(a) static a 
 278 #define swig_new_array(type, size) (new type[(size)]) 
 279 #define swig_delete_array(cptr) delete[] cptr 
 280 #define swig_const_cast(type,a) const_cast<type>(a) 
 281 #define swig_static_cast(type,a) static_cast<type>(a) 
 282 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) 
 284 #ifdef HAVE_NUMERIC_CAST 
 285 #define swig_numeric_cast(type,a) numeric_cast<type>(a) 
 287 #define swig_numeric_cast(type,a) static_cast<type>(a) 
 292 #define SWIGSTATICINLINE(a) static a 
 293 #define SWIGSTATIC(a) static a 
 294 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) 
 295 #define swig_delete_array(cptr) free((char*)cptr) 
 296 #define swig_const_cast(type,a) (type)(a) 
 297 #define swig_static_cast(type,a) (type)(a) 
 298 #define swig_reinterpret_cast(type,a) (type)(a) 
 299 #define swig_numeric_cast(type,a) (type)(a) 
 301 #endif /* __cplusplus */ 
 304 #define SWIG_FromSignedChar     PyInt_FromLong 
 305 #define SWIG_FromUnsignedChar   PyInt_FromLong 
 306 #define SWIG_FromShort         PyInt_FromLong 
 307 #define SWIG_FromUnsignedShort  PyInt_FromLong 
 308 #define SWIG_FromInt           PyInt_FromLong 
 309 #define SWIG_FromLong          PyInt_FromLong 
 310 #define SWIG_FromFloat         PyFloat_FromDouble 
 311 #define SWIG_FromDouble        PyFloat_FromDouble 
 312 #define SWIG_FromFloat         PyFloat_FromDouble 
 313 #define SWIG_FromDouble        PyFloat_FromDouble 
 316 #include "wx/wxPython/wxPython.h" 
 317 #include "wx/wxPython/pyclasses.h" 
 318 #include "wx/wxPython/printfw.h" 
 321 #include <wx/generic/gridctrl.h> 
 324  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 325  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
 326  static const wxString 
wxPyDateTimeFormatStr(wxT("%c"));  
 329 #define wxPyMake_TEMPLATE(TYPE) \ 
 330 PyObject* wxPyMake_##TYPE(TYPE* source) { \ 
 331     PyObject* target = NULL; \ 
 333         /* Check if there is already a pointer to a Python object in the \ 
 334            OOR data that we can use. */ \ 
 335         wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \ 
 337             target = data->m_obj; \ 
 340         /* Otherwise make a new wrapper for it the old fashioned way and \ 
 341            give it the OOR treatment */ \ 
 343             target = wxPyConstructObject(source, wxT(#TYPE), False); \ 
 345                 source->SetClientObject(new wxPyOORClientData(target)); \ 
 347     } else {  /* source was NULL so return None. */ \ 
 348         Py_INCREF(Py_None); target = Py_None; \ 
 354 wxPyMake_TEMPLATE(wxGridCellRenderer) 
 355 wxPyMake_TEMPLATE(wxGridCellEditor
) 
 356 wxPyMake_TEMPLATE(wxGridCellAttr
) 
 357 wxPyMake_TEMPLATE(wxGridCellAttrProvider
) 
 358 wxPyMake_TEMPLATE(wxGridTableBase
) 
 362 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME)                               \ 
 363     wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) {        \ 
 364         wxGridCellAttr* rval = NULL;                                            \ 
 366         bool blocked = wxPyBeginBlockThreads();                            \ 
 367         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 369             wxGridCellAttr* ptr;                                                \ 
 370             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \ 
 372                 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr")))    \ 
 377         wxPyEndBlockThreads(blocked);                                             \ 
 379             rval = PCLASS::CBNAME(a, b, c);                                     \ 
 382     wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ 
 383         return PCLASS::CBNAME(a, b, c);                                         \ 
 388 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME)                                   \ 
 389     void CBNAME(wxGridCellAttr *attr, int a, int b) {                           \ 
 390         bool blocked = wxPyBeginBlockThreads();                                                \ 
 392         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 393             PyObject* obj = wxPyMake_wxGridCellAttr(attr);                      \ 
 394             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b));  \ 
 397         wxPyEndBlockThreads(blocked);                                                  \ 
 399             PCLASS::CBNAME(attr, a, b);                                         \ 
 401     void base_##CBNAME(wxGridCellAttr *attr, int a, int b) {                    \ 
 402         PCLASS::CBNAME(attr, a, b);                                             \ 
 407 #define PYCALLBACK__GCAINT(PCLASS, CBNAME)                                      \ 
 408     void CBNAME(wxGridCellAttr *attr, int val) {                                \ 
 409         bool blocked = wxPyBeginBlockThreads();                                                \ 
 411         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 412             PyObject* obj = wxPyMake_wxGridCellAttr(attr);                      \ 
 413             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val));    \ 
 416         wxPyEndBlockThreads(blocked);                                             \ 
 418             PCLASS::CBNAME(attr, val);                                          \ 
 420     void base_##CBNAME(wxGridCellAttr *attr, int val) {                         \ 
 421         PCLASS::CBNAME(attr, val);                                              \ 
 426 #define PYCALLBACK_INT__pure(CBNAME)                                            \ 
 428         bool blocked = wxPyBeginBlockThreads();                            \ 
 430         if (wxPyCBH_findCallback(m_myInst, #CBNAME))                            \ 
 431             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \ 
 432         wxPyEndBlockThreads(blocked);                                             \ 
 438 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME)                                     \ 
 439     bool CBNAME(int a, int b) {                                                 \ 
 440         bool blocked = wxPyBeginBlockThreads();                            \ 
 442         if (wxPyCBH_findCallback(m_myInst, #CBNAME))                            \ 
 443             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b));   \ 
 444         wxPyEndBlockThreads(blocked);                                             \ 
 449 #define PYCALLBACK_STRING_INTINT_pure(CBNAME)                                   \ 
 450     wxString CBNAME(int a, int b) {                                             \ 
 451         bool blocked = wxPyBeginBlockThreads();                                                \ 
 453         if (wxPyCBH_findCallback(m_myInst, #CBNAME)) {                          \ 
 455             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
 457                 rval = Py2wxString(ro);                                         \ 
 461         wxPyEndBlockThreads(blocked);                                                  \ 
 466 #define PYCALLBACK__INTINTSTRING_pure(CBNAME)                                   \ 
 467     void CBNAME(int a, int b, const wxString& c) {                              \ 
 468         bool blocked = wxPyBeginBlockThreads();                                                \ 
 469         if (wxPyCBH_findCallback(m_myInst, #CBNAME)) {                          \ 
 470             PyObject* s = wx2PyString(c);                                       \ 
 471             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ 
 474         wxPyEndBlockThreads(blocked);                                                  \ 
 478 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME)                                \ 
 479     wxString CBNAME(int a, int b) {                                             \ 
 481         bool blocked = wxPyBeginBlockThreads();                                                \ 
 483         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 485             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
 487                 rval = Py2wxString(ro);                                         \ 
 491         wxPyEndBlockThreads(blocked);                                                  \ 
 493             rval = PCLASS::CBNAME(a, b);                                        \ 
 496     wxString base_##CBNAME(int a, int b) {                                      \ 
 497         return PCLASS::CBNAME(a, b);                                            \ 
 501 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME)                            \ 
 502     bool CBNAME(int a, int b, const wxString& c)  {                             \ 
 505         bool blocked = wxPyBeginBlockThreads();                                                \ 
 506         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 507             PyObject* s = wx2PyString(c);                                       \ 
 508             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ 
 511         wxPyEndBlockThreads(blocked);                                                  \ 
 513             rval = PCLASS::CBNAME(a,b,c);                                       \ 
 516     bool base_##CBNAME(int a, int b, const wxString& c) {                       \ 
 517         return PCLASS::CBNAME(a,b,c);                                           \ 
 523 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME)                                  \ 
 524     long CBNAME(int a, int b)  {                                                \ 
 527         bool blocked = wxPyBeginBlockThreads();                            \ 
 528         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 529             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
 530         wxPyEndBlockThreads(blocked);                                             \ 
 532             rval = PCLASS::CBNAME(a,b);                                         \ 
 535     long base_##CBNAME(int a, int b) {                                          \ 
 536         return PCLASS::CBNAME(a,b);                                             \ 
 541 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME)                                  \ 
 542     bool CBNAME(int a, int b)  {                                                \ 
 545         bool blocked = wxPyBeginBlockThreads();                            \ 
 546         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 547             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
 548         wxPyEndBlockThreads(blocked);                                             \ 
 550             rval = PCLASS::CBNAME(a,b);                                         \ 
 553     bool base_##CBNAME(int a, int b) {                                          \ 
 554         return PCLASS::CBNAME(a,b);                                             \ 
 559 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME)                                \ 
 560     double CBNAME(int a, int b) {                                               \ 
 562         bool blocked = wxPyBeginBlockThreads();                            \ 
 564         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 566             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
 568                 PyObject* str = PyObject_Str(ro);                               \ 
 569                 rval = PyFloat_AsDouble(str);                                   \ 
 570                 Py_DECREF(ro);   Py_DECREF(str);                                \ 
 573         wxPyEndBlockThreads(blocked);                                                  \ 
 575             rval = PCLASS::CBNAME(a, b);                                        \ 
 578     double base_##CBNAME(int a, int b) {                                        \ 
 579         return PCLASS::CBNAME(a, b);                                            \ 
 584 #define PYCALLBACK__(PCLASS, CBNAME)                                            \ 
 587         bool blocked = wxPyBeginBlockThreads();                                                \ 
 588         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 589             wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));                \ 
 590         wxPyEndBlockThreads(blocked);                                                  \ 
 594     void base_##CBNAME() {                                                      \ 
 601 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME)                              \ 
 602     bool CBNAME(size_t a, size_t b)  {                                          \ 
 605         bool blocked = wxPyBeginBlockThreads();                                                \ 
 606         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 607             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
 608         wxPyEndBlockThreads(blocked);                                                  \ 
 610             rval = PCLASS::CBNAME(a,b);                                         \ 
 613     bool base_##CBNAME(size_t a, size_t b) {                                    \ 
 614         return PCLASS::CBNAME(a,b);                                             \ 
 619 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME)                                   \ 
 620     bool CBNAME(size_t a)  {                                                    \ 
 623         bool blocked = wxPyBeginBlockThreads();                                                \ 
 624         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 625             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a));     \ 
 626         wxPyEndBlockThreads(blocked);                                                  \ 
 628             rval = PCLASS::CBNAME(a);                                           \ 
 631     bool base_##CBNAME(size_t a) {                                              \ 
 632         return PCLASS::CBNAME(a);                                               \ 
 636 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME)                                   \ 
 637     wxString CBNAME(int a) {                                                    \ 
 639         bool blocked = wxPyBeginBlockThreads();                                                \ 
 641         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 643             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a));     \ 
 645                 rval = Py2wxString(ro);                                         \ 
 649         wxPyEndBlockThreads(blocked);                                                  \ 
 651             rval = PCLASS::CBNAME(a);                                           \ 
 654     wxString base_##CBNAME(int a) {                                             \ 
 655         return PCLASS::CBNAME(a);                                               \ 
 659 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME)                                   \ 
 660     void CBNAME(int a, const wxString& c)  {                                    \ 
 662         bool blocked = wxPyBeginBlockThreads();                                                \ 
 663         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 664             PyObject* s = wx2PyString(c);                                       \ 
 665             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s));          \ 
 668         wxPyEndBlockThreads(blocked);                                                  \ 
 670             PCLASS::CBNAME(a,c);                                                \ 
 672     void base_##CBNAME(int a, const wxString& c) {                              \ 
 673         PCLASS::CBNAME(a,c);                                                    \ 
 679 #define PYCALLBACK_BOOL_(PCLASS, CBNAME)                                        \ 
 683         bool blocked = wxPyBeginBlockThreads();                                                \ 
 684         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 685             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \ 
 686         wxPyEndBlockThreads(blocked);                                                  \ 
 688             rval = PCLASS::CBNAME();                                            \ 
 691     bool base_##CBNAME() {                                                      \ 
 692         return PCLASS::CBNAME();                                                \ 
 697 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME)                                    \ 
 698     void CBNAME(size_t a, int b)  {                                             \ 
 700         bool blocked = wxPyBeginBlockThreads();                                                \ 
 701         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 702             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));         \ 
 703         wxPyEndBlockThreads(blocked);                                                  \ 
 705             PCLASS::CBNAME(a,b);                                                \ 
 707     void base_##CBNAME(size_t a, int b) {                                       \ 
 708         PCLASS::CBNAME(a,b);                                                    \ 
 714 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME)                                  \ 
 715     void CBNAME(int a, int b, long c)  {                                        \ 
 717         bool blocked = wxPyBeginBlockThreads();                                                \ 
 718         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 719             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c));      \ 
 720         wxPyEndBlockThreads(blocked);                                                  \ 
 722             PCLASS::CBNAME(a,b,c);                                              \ 
 724     void base_##CBNAME(int a, int b, long c) {                                  \ 
 725         PCLASS::CBNAME(a,b,c);                                                  \ 
 731 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME)                                \ 
 732     void CBNAME(int a, int b, double c)  {                                      \ 
 734         bool blocked = wxPyBeginBlockThreads();                                                \ 
 735         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 736             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c));      \ 
 737         wxPyEndBlockThreads(blocked);                                                  \ 
 739             PCLASS::CBNAME(a,b,c);                                              \ 
 741     void base_##CBNAME(int a, int b, double c) {                                \ 
 742         PCLASS::CBNAME(a,b,c);                                                  \ 
 747 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME)                                  \ 
 748     void CBNAME(int a, int b, bool c)  {                                        \ 
 750         bool blocked = wxPyBeginBlockThreads();                                                \ 
 751         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 752             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c));      \ 
 753         wxPyEndBlockThreads(blocked);                                                  \ 
 755             PCLASS::CBNAME(a,b,c);                                              \ 
 757     void base_##CBNAME(int a, int b, bool c) {                                  \ 
 758         PCLASS::CBNAME(a,b,c);                                                  \ 
 766 SWIGSTATICINLINE(PyObject 
*) 
 767 SWIG_FromCharPtr(const char* cptr
) 
 769   size_t size 
= cptr 
? strlen(cptr
) : 0; 
 771     if (size 
> INT_MAX
) { 
 772       return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),  
 773                                 SWIG_TypeQuery("char *"), 0); 
 775       return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
)); 
 783 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer 
*self
,PyObject 
*_self
){ 
 784             self
->SetClientObject(new wxPyOORClientData(_self
)); 
 790 SWIGSTATICINLINE(long) 
 791 SWIG_CheckLongInRange(long value
, const char* type
, 
 792                       long min_value
, long max_value
) 
 794   if (!PyErr_Occurred()) { 
 795     if (value 
< min_value
) { 
 797         PyString_FromFormat("value %ld is less than '%s' minimum %ld",  
 798                             value
, type
, min_value
); 
 800       PyErr_SetObject(PyExc_OverflowError
, err
); 
 802     } else if (value 
> max_value
) { 
 804         PyString_FromFormat("value %ld is greater than '%s' maximum %ld",  
 805                             value
, type
, max_value
); 
 806       PyErr_SetObject(PyExc_OverflowError
, err
); 
 814 SWIGSTATICINLINE(long) 
 815 SWIG_AsLong(PyObject 
* obj
) 
 817     if (PyNumber_Check(obj
)) 
 818         return PyInt_AsLong(obj
); 
 820         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 821                                                obj
->ob_type
->tp_name
); 
 822         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 829 #if INT_MAX != LONG_MAX 
 830 SWIGSTATICINLINE(int) 
 831 SWIG_AsInt(PyObject 
*obj
) 
 833   return swig_numeric_cast(int, 
 834     SWIG_CheckLongInRange(SWIG_AsLong(obj
), 
 835                           "int", INT_MIN
, INT_MAX
)); 
 838 #define SWIG_AsInt SWIG_AsLong 
 842 SWIGSTATICINLINE(bool) 
 843 SWIG_AsBool(PyObject 
*obj
) 
 845   return PyObject_IsTrue(obj
) ? true : false; 
 849 SWIGSTATICINLINE(int) 
 850 SWIG_CheckInt(PyObject
* obj
) 
 853   if (PyErr_Occurred()) { 
 862 SWIGSTATICINLINE(int) 
 863 SWIG_CheckBool(PyObject
* obj
) 
 866   if (PyErr_Occurred()) { 
 875 class wxPyGridCellRenderer 
: public wxGridCellRenderer
 
 878     wxPyGridCellRenderer() : wxGridCellRenderer() {}; 
 880     // Implement Python callback aware virtual methods 
 881     void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
, 
 882               wxDC
& dc
, const wxRect
& rect
, 
 883               int row
, int col
, bool isSelected
) { 
 884         bool blocked 
= wxPyBeginBlockThreads(); 
 885         if (wxPyCBH_findCallback(m_myInst
, "Draw")) { 
 886             PyObject
* go 
= wxPyMake_wxObject(&grid
); 
 887             PyObject
* dco 
= wxPyMake_wxObject(&dc
); 
 888             PyObject
* ao 
= wxPyMake_wxGridCellAttr(&attr
); 
 889             PyObject
* ro 
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0); 
 891             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
, 
 892                                                          row
, col
, isSelected
)); 
 898         wxPyEndBlockThreads(blocked
); 
 901     wxSize 
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
, 
 904         bool blocked 
= wxPyBeginBlockThreads(); 
 905         if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) { 
 908             PyObject
* go 
= wxPyMake_wxObject(&grid
); 
 909             PyObject
* dco 
= wxPyMake_wxObject(&dc
); 
 910             PyObject
* ao 
= wxPyMake_wxGridCellAttr(&attr
); 
 912             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)", 
 920                 const char* errmsg 
= "GetBestSize should return a 2-tuple of integers or a wxSize object."; 
 921                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) { 
 924                 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) { 
 925                     PyObject
* o1 
= PySequence_GetItem(ro
, 0); 
 926                     PyObject
* o2 
= PySequence_GetItem(ro
, 1); 
 927                     if (PyNumber_Check(o1
) && PyNumber_Check(o2
)) 
 928                         rval 
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
)); 
 930                         PyErr_SetString(PyExc_TypeError
, errmsg
); 
 935                     PyErr_SetString(PyExc_TypeError
, errmsg
); 
 940         wxPyEndBlockThreads(blocked
); 
 945     wxGridCellRenderer 
*Clone() const { 
 946         wxGridCellRenderer
* rval 
= NULL
; 
 947         bool blocked 
= wxPyBeginBlockThreads(); 
 948         if (wxPyCBH_findCallback(m_myInst
, "Clone")) { 
 950             wxGridCellRenderer
* ptr
; 
 951             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
 953                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer"))) 
 958         wxPyEndBlockThreads(blocked
); 
 962     DEC_PYCALLBACK__STRING(SetParameters
); 
 967 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
); 
 970 void wxGridCellEditor__setOORInfo(wxGridCellEditor 
*self
,PyObject 
*_self
){ 
 971             self
->SetClientObject(new wxPyOORClientData(_self
)); 
 974 class wxPyGridCellEditor 
: public wxGridCellEditor
 
 977     wxPyGridCellEditor() : wxGridCellEditor() {} 
 979     void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) { 
 980         bool blocked 
= wxPyBeginBlockThreads(); 
 981         if (wxPyCBH_findCallback(m_myInst
, "Create")) { 
 982             PyObject
* po 
= wxPyMake_wxObject(parent
); 
 983             PyObject
* eo 
= wxPyMake_wxObject(evtHandler
); 
 985             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
)); 
 989         wxPyEndBlockThreads(blocked
); 
 993     void BeginEdit(int row
, int col
, wxGrid
* grid
) { 
 994         bool blocked 
= wxPyBeginBlockThreads(); 
 995         if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) { 
 996             PyObject
* go 
= wxPyMake_wxObject(grid
); 
 997             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
)); 
1000         wxPyEndBlockThreads(blocked
); 
1004     bool EndEdit(int row
, int col
, wxGrid
* grid
) { 
1006         bool blocked 
= wxPyBeginBlockThreads(); 
1007         if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) { 
1008             PyObject
* go 
= wxPyMake_wxObject(grid
); 
1009             rv 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
)); 
1012         wxPyEndBlockThreads(blocked
); 
1017     wxGridCellEditor
* Clone() const { 
1018         wxGridCellEditor
* rval 
= NULL
; 
1019         bool blocked 
= wxPyBeginBlockThreads(); 
1020         if (wxPyCBH_findCallback(m_myInst
, "Clone")) { 
1022             wxGridCellEditor
* ptr
; 
1023             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1025                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor"))) 
1030         wxPyEndBlockThreads(blocked
); 
1035     void Show(bool show
, wxGridCellAttr 
*attr
) { 
1037         bool blocked 
= wxPyBeginBlockThreads(); 
1038         if ((found 
= wxPyCBH_findCallback(m_myInst
, "Show"))) { 
1039             PyObject
* ao 
= wxPyMake_wxGridCellAttr(attr
); 
1040             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
)); 
1043         wxPyEndBlockThreads(blocked
); 
1045             wxGridCellEditor::Show(show
, attr
); 
1047     void base_Show(bool show
, wxGridCellAttr 
*attr
) { 
1048         wxGridCellEditor::Show(show
, attr
); 
1052     void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr 
*attr
) { 
1054         bool blocked 
= wxPyBeginBlockThreads(); 
1055         if ((found 
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) { 
1056             PyObject
* ao 
= wxPyMake_wxGridCellAttr(attr
); 
1057             PyObject
* ro 
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0); 
1059             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
)); 
1064         wxPyEndBlockThreads(blocked
); 
1066             wxGridCellEditor::PaintBackground(rectCell
, attr
); 
1068     void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr 
*attr
) { 
1069         wxGridCellEditor::PaintBackground(rectCell
, attr
); 
1073     DEC_PYCALLBACK___pure(Reset
); 
1074     DEC_PYCALLBACK__constany(SetSize
, wxRect
); 
1075     DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
); 
1076     DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
); 
1077     DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
); 
1078     DEC_PYCALLBACK__(StartingClick
); 
1079     DEC_PYCALLBACK__(Destroy
); 
1080     DEC_PYCALLBACK__STRING(SetParameters
); 
1081     DEC_PYCALLBACK_STRING__constpure(GetValue
); 
1087 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
); 
1088 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
); 
1089 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
); 
1090 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
); 
1091 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
); 
1092 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
); 
1093 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
); 
1094 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
); 
1095 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
); 
1098 void wxGridCellAttr__setOORInfo(wxGridCellAttr 
*self
,PyObject 
*_self
){ 
1099             self
->SetClientObject(new wxPyOORClientData(_self
)); 
1102 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
1108     } else if (target 
== Py_None
) {   
1112         if (!PyTuple_Check(target
)) { 
1114             target 
= PyTuple_New(1); 
1115             PyTuple_SetItem(target
, 0, o2
); 
1117         o3 
= PyTuple_New(1);             
1118         PyTuple_SetItem(o3
, 0, o
);       
1121         target 
= PySequence_Concat(o2
, o3
);  
1128 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider 
*self
,PyObject 
*_self
){ 
1129             self
->SetClientObject(new wxPyOORClientData(_self
)); 
1132 SWIGSTATICINLINE(unsigned long) 
1133 SWIG_AsUnsignedLong(PyObject 
* obj
)  
1135   if (PyLong_Check(obj
)) { 
1136     return PyLong_AsUnsignedLong(obj
); 
1138     long i 
= SWIG_AsLong(obj
); 
1139     if ( !PyErr_Occurred() && (i 
< 0)) { 
1140       PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
1147 SWIGSTATICINLINE(int) 
1148 SWIG_CheckUnsignedLong(PyObject
* obj
) 
1150   SWIG_AsUnsignedLong(obj
); 
1151   if (PyErr_Occurred()) { 
1160 class wxPyGridCellAttrProvider 
: public wxGridCellAttrProvider
 
1163     wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {}; 
1165     PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
); 
1166     PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
); 
1167     PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
); 
1168     PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
); 
1173 void wxGridTableBase__setOORInfo(wxGridTableBase 
*self
,PyObject 
*_self
){ 
1174             self
->SetClientObject(new wxPyOORClientData(_self
)); 
1177 SWIGSTATICINLINE(int) 
1178 SWIG_CheckLong(PyObject
* obj
) 
1181   if (PyErr_Occurred()) { 
1190 SWIGSTATICINLINE(double) 
1191 SWIG_AsDouble(PyObject 
*obj
) 
1193     if (PyNumber_Check(obj
)) 
1194         return PyFloat_AsDouble(obj
); 
1196         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
1197                                                obj
->ob_type
->tp_name
); 
1198         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
1205 SWIGSTATICINLINE(int) 
1206 SWIG_CheckDouble(PyObject
* obj
) 
1209   if (PyErr_Occurred()) { 
1218 class wxPyGridTableBase 
: public wxGridTableBase
 
1221     wxPyGridTableBase() : wxGridTableBase() {} 
1223     PYCALLBACK_INT__pure(GetNumberRows
); 
1224     PYCALLBACK_INT__pure(GetNumberCols
); 
1225     PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
); 
1226     PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
); 
1227     PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
); 
1228     PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
); 
1229     PYCALLBACK__(wxGridTableBase
, Clear
); 
1230     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
); 
1231     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
); 
1232     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
); 
1233     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
); 
1234     PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
); 
1235     PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
); 
1236     PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
); 
1237     PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
); 
1238     PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
); 
1239     PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
); 
1240     PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
); 
1241     PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
); 
1242     PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
); 
1243     PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
); 
1244     PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
); 
1247     wxString 
GetValue(int row
, int col
) { 
1248         bool blocked 
= wxPyBeginBlockThreads(); 
1250         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
1252             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
)); 
1254                 rval 
= Py2wxString(ro
); 
1258         wxPyEndBlockThreads(blocked
); 
1262     void SetValue(int row
, int col
, const wxString
& val
) { 
1263         bool blocked 
= wxPyBeginBlockThreads(); 
1264         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
1265             PyObject
* s 
= wx2PyString(val
); 
1266             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
)); 
1269         wxPyEndBlockThreads(blocked
); 
1273     // Map the Get/Set methods for the standard non-string types to 
1274     // the GetValue and SetValue python methods. 
1275     long GetValueAsLong( int row
, int col 
) { 
1277         bool blocked 
= wxPyBeginBlockThreads(); 
1278         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
1281             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
)); 
1282             if (ro 
&& PyNumber_Check(ro
)) { 
1283                 num 
= PyNumber_Int(ro
); 
1285                     rval 
= PyInt_AsLong(num
); 
1291         wxPyEndBlockThreads(blocked
); 
1295     double GetValueAsDouble( int row
, int col 
) { 
1297         bool blocked 
= wxPyBeginBlockThreads(); 
1298         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
1301             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
)); 
1302             if (ro 
&& PyNumber_Check(ro
)) { 
1303                 num 
= PyNumber_Float(ro
); 
1305                     rval 
= PyFloat_AsDouble(num
); 
1311         wxPyEndBlockThreads(blocked
); 
1315     bool GetValueAsBool( int row
, int col 
) { 
1316         return (bool)GetValueAsLong(row
, col
); 
1319     void SetValueAsLong( int row
, int col
, long value 
) { 
1320         bool blocked 
= wxPyBeginBlockThreads(); 
1321         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
1322             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
)); 
1324         wxPyEndBlockThreads(blocked
); 
1327     void SetValueAsDouble( int row
, int col
, double value 
) { 
1328         bool blocked 
= wxPyBeginBlockThreads(); 
1329         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
1330             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
)); 
1332         wxPyEndBlockThreads(blocked
); 
1335     void SetValueAsBool( int row
, int col
, bool value 
) { 
1336         SetValueAsLong( row
, col
, (long)value 
); 
1343 void wxPyGridTableBase_Destroy(wxPyGridTableBase 
*self
){ delete self
; } 
1345 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) { 
1347     if (source 
== Py_None
) { 
1348         **obj 
= wxGridCellCoords(-1,-1); 
1352     // If source is an object instance then it may already be the right type 
1353     if (wxPySwigInstance_Check(source
)) { 
1354         wxGridCellCoords
* ptr
; 
1355         if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords"))) 
1360     // otherwise a 2-tuple of integers is expected 
1361     else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) { 
1362         PyObject
* o1 
= PySequence_GetItem(source
, 0); 
1363         PyObject
* o2 
= PySequence_GetItem(source
, 1); 
1364         if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) { 
1369         **obj 
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
)); 
1376     PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object."); 
1381 bool wxGridCellCoords_typecheck(PyObject
* source
) { 
1384     if (wxPySwigInstance_Check(source
) && 
1385         wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords"))) 
1389     if (PySequence_Check(source
) && PySequence_Length(source
) == 2) 
1396 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
) 
1398     PyObject
* list 
= PyList_New(0); 
1400     for (idx 
= 0; idx 
< source
.GetCount(); idx 
+= 1) { 
1401         wxGridCellCoords
& coord 
= source
.Item(idx
); 
1402         PyObject
* tup 
= PyTuple_New(2); 
1403         PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow())); 
1404         PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol())); 
1405         PyList_Append(list
, tup
); 
1411 PyObject 
*wxGridCellCoords_asTuple(wxGridCellCoords 
*self
){ 
1412             PyObject
* tup 
= PyTuple_New(2); 
1413             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow())); 
1414             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol())); 
1418 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
; 
1420 wxGridCellCoords 
wxGrid_XYToCell(wxGrid 
*self
,int x
,int y
){ 
1421             wxGridCellCoords rv
; 
1422             self
->XYToCell(x
, y
, rv
); 
1428 static int _wrap_DateTimeFormatStr_set(PyObject 
*_val
) { 
1429     PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only."); 
1434 static PyObject 
*_wrap_DateTimeFormatStr_get() { 
1439         pyobj 
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len()); 
1441         pyobj 
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len()); 
1448 static int _wrap_GridNoCellCoords_set(PyObject 
*_val
) { 
1449     PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only."); 
1454 static PyObject 
*_wrap_GridNoCellCoords_get() { 
1457     pyobj 
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0); 
1462 static int _wrap_GridNoCellRect_set(PyObject 
*_val
) { 
1463     PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only."); 
1468 static PyObject 
*_wrap_GridNoCellRect_get() { 
1471     pyobj 
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0); 
1476 static PyObject 
*_wrap_GridCellRenderer__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1477     PyObject 
*resultobj
; 
1478     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1479     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
1480     PyObject 
* obj0 
= 0 ; 
1481     PyObject 
* obj1 
= 0 ; 
1483         (char *) "self",(char *) "_self", NULL 
 
1486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
1487     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1492         wxGridCellRenderer__setOORInfo(arg1
,arg2
); 
1494         wxPyEndAllowThreads(__tstate
); 
1495         if (PyErr_Occurred()) SWIG_fail
; 
1497     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1504 static PyObject 
*_wrap_GridCellRenderer_SetParameters(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1505     PyObject 
*resultobj
; 
1506     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1507     wxString 
*arg2 
= 0 ; 
1508     bool temp2 
= False 
; 
1509     PyObject 
* obj0 
= 0 ; 
1510     PyObject 
* obj1 
= 0 ; 
1512         (char *) "self",(char *) "params", NULL 
 
1515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
; 
1516     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1517     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1519         arg2 
= wxString_in_helper(obj1
); 
1520         if (arg2 
== NULL
) SWIG_fail
; 
1524         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1525         (arg1
)->SetParameters((wxString 
const &)*arg2
); 
1527         wxPyEndAllowThreads(__tstate
); 
1528         if (PyErr_Occurred()) SWIG_fail
; 
1530     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1545 static PyObject 
*_wrap_GridCellRenderer_IncRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1546     PyObject 
*resultobj
; 
1547     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1548     PyObject 
* obj0 
= 0 ; 
1550         (char *) "self", NULL 
 
1553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
; 
1554     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1555     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1557         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1560         wxPyEndAllowThreads(__tstate
); 
1561         if (PyErr_Occurred()) SWIG_fail
; 
1563     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1570 static PyObject 
*_wrap_GridCellRenderer_DecRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1571     PyObject 
*resultobj
; 
1572     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1573     PyObject 
* obj0 
= 0 ; 
1575         (char *) "self", NULL 
 
1578     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
; 
1579     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1580     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1582         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1585         wxPyEndAllowThreads(__tstate
); 
1586         if (PyErr_Occurred()) SWIG_fail
; 
1588     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1595 static PyObject 
*_wrap_GridCellRenderer_Draw(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1596     PyObject 
*resultobj
; 
1597     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1599     wxGridCellAttr 
*arg3 
= 0 ; 
1606     PyObject 
* obj0 
= 0 ; 
1607     PyObject 
* obj1 
= 0 ; 
1608     PyObject 
* obj2 
= 0 ; 
1609     PyObject 
* obj3 
= 0 ; 
1610     PyObject 
* obj4 
= 0 ; 
1611     PyObject 
* obj5 
= 0 ; 
1612     PyObject 
* obj6 
= 0 ; 
1613     PyObject 
* obj7 
= 0 ; 
1615         (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL 
 
1618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
1619     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1620     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1621     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
1622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1625         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1628     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
1629     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1632         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1635     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
, 
1636     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1639         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1644         if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
; 
1646     arg6 
= (int) SWIG_AsInt(obj5
);  
1647     if (PyErr_Occurred()) SWIG_fail
; 
1648     arg7 
= (int) SWIG_AsInt(obj6
);  
1649     if (PyErr_Occurred()) SWIG_fail
; 
1650     arg8 
= (bool) SWIG_AsBool(obj7
);  
1651     if (PyErr_Occurred()) SWIG_fail
; 
1653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1654         (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect 
const &)*arg5
,arg6
,arg7
,arg8
); 
1656         wxPyEndAllowThreads(__tstate
); 
1657         if (PyErr_Occurred()) SWIG_fail
; 
1659     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1666 static PyObject 
*_wrap_GridCellRenderer_GetBestSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1667     PyObject 
*resultobj
; 
1668     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1670     wxGridCellAttr 
*arg3 
= 0 ; 
1675     PyObject 
* obj0 
= 0 ; 
1676     PyObject 
* obj1 
= 0 ; 
1677     PyObject 
* obj2 
= 0 ; 
1678     PyObject 
* obj3 
= 0 ; 
1679     PyObject 
* obj4 
= 0 ; 
1680     PyObject 
* obj5 
= 0 ; 
1682         (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL 
 
1685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
1686     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1687     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1688     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
1689     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1692         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1695     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
1696     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1699         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1702     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
, 
1703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1706         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1709     arg5 
= (int) SWIG_AsInt(obj4
);  
1710     if (PyErr_Occurred()) SWIG_fail
; 
1711     arg6 
= (int) SWIG_AsInt(obj5
);  
1712     if (PyErr_Occurred()) SWIG_fail
; 
1714         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1715         result 
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
); 
1717         wxPyEndAllowThreads(__tstate
); 
1718         if (PyErr_Occurred()) SWIG_fail
; 
1722         resultptr 
= new wxSize((wxSize 
&) result
); 
1723         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
1731 static PyObject 
*_wrap_GridCellRenderer_Clone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1732     PyObject 
*resultobj
; 
1733     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1734     wxGridCellRenderer 
*result
; 
1735     PyObject 
* obj0 
= 0 ; 
1737         (char *) "self", NULL 
 
1740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
; 
1741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1745         result 
= (wxGridCellRenderer 
*)((wxGridCellRenderer 
const *)arg1
)->Clone(); 
1747         wxPyEndAllowThreads(__tstate
); 
1748         if (PyErr_Occurred()) SWIG_fail
; 
1751         resultobj 
= wxPyMake_wxGridCellRenderer(result
);  
1759 static PyObject 
* GridCellRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1761     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1762     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
); 
1764     return Py_BuildValue((char *)""); 
1766 static PyObject 
*_wrap_new_PyGridCellRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1767     PyObject 
*resultobj
; 
1768     wxPyGridCellRenderer 
*result
; 
1773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
; 
1775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1776         result 
= (wxPyGridCellRenderer 
*)new wxPyGridCellRenderer(); 
1778         wxPyEndAllowThreads(__tstate
); 
1779         if (PyErr_Occurred()) SWIG_fail
; 
1781     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1); 
1788 static PyObject 
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1789     PyObject 
*resultobj
; 
1790     wxPyGridCellRenderer 
*arg1 
= (wxPyGridCellRenderer 
*) 0 ; 
1791     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
1792     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
1793     PyObject 
* obj0 
= 0 ; 
1794     PyObject 
* obj1 
= 0 ; 
1795     PyObject 
* obj2 
= 0 ; 
1797         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
1800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1801     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
, 
1802     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1807         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
1809         wxPyEndAllowThreads(__tstate
); 
1810         if (PyErr_Occurred()) SWIG_fail
; 
1812     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1819 static PyObject 
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1820     PyObject 
*resultobj
; 
1821     wxPyGridCellRenderer 
*arg1 
= (wxPyGridCellRenderer 
*) 0 ; 
1822     wxString 
*arg2 
= 0 ; 
1823     bool temp2 
= False 
; 
1824     PyObject 
* obj0 
= 0 ; 
1825     PyObject 
* obj1 
= 0 ; 
1827         (char *) "self",(char *) "params", NULL 
 
1830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
; 
1831     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
, 
1832     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1834         arg2 
= wxString_in_helper(obj1
); 
1835         if (arg2 
== NULL
) SWIG_fail
; 
1839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1840         (arg1
)->base_SetParameters((wxString 
const &)*arg2
); 
1842         wxPyEndAllowThreads(__tstate
); 
1843         if (PyErr_Occurred()) SWIG_fail
; 
1845     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1860 static PyObject 
* PyGridCellRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1862     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1863     SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
); 
1865     return Py_BuildValue((char *)""); 
1867 static PyObject 
*_wrap_new_GridCellStringRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1868     PyObject 
*resultobj
; 
1869     wxGridCellStringRenderer 
*result
; 
1874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
; 
1876         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1877         result 
= (wxGridCellStringRenderer 
*)new wxGridCellStringRenderer(); 
1879         wxPyEndAllowThreads(__tstate
); 
1880         if (PyErr_Occurred()) SWIG_fail
; 
1882     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1); 
1889 static PyObject 
* GridCellStringRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1891     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1892     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
); 
1894     return Py_BuildValue((char *)""); 
1896 static PyObject 
*_wrap_new_GridCellNumberRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1897     PyObject 
*resultobj
; 
1898     wxGridCellNumberRenderer 
*result
; 
1903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
; 
1905         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1906         result 
= (wxGridCellNumberRenderer 
*)new wxGridCellNumberRenderer(); 
1908         wxPyEndAllowThreads(__tstate
); 
1909         if (PyErr_Occurred()) SWIG_fail
; 
1911     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1); 
1918 static PyObject 
* GridCellNumberRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1920     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1921     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
); 
1923     return Py_BuildValue((char *)""); 
1925 static PyObject 
*_wrap_new_GridCellFloatRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1926     PyObject 
*resultobj
; 
1927     int arg1 
= (int) -1 ; 
1928     int arg2 
= (int) -1 ; 
1929     wxGridCellFloatRenderer 
*result
; 
1930     PyObject 
* obj0 
= 0 ; 
1931     PyObject 
* obj1 
= 0 ; 
1933         (char *) "width",(char *) "precision", NULL 
 
1936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
; 
1938         arg1 
= (int) SWIG_AsInt(obj0
);  
1939         if (PyErr_Occurred()) SWIG_fail
; 
1942         arg2 
= (int) SWIG_AsInt(obj1
);  
1943         if (PyErr_Occurred()) SWIG_fail
; 
1946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1947         result 
= (wxGridCellFloatRenderer 
*)new wxGridCellFloatRenderer(arg1
,arg2
); 
1949         wxPyEndAllowThreads(__tstate
); 
1950         if (PyErr_Occurred()) SWIG_fail
; 
1952     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1); 
1959 static PyObject 
*_wrap_GridCellFloatRenderer_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1960     PyObject 
*resultobj
; 
1961     wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
1963     PyObject 
* obj0 
= 0 ; 
1965         (char *) "self", NULL 
 
1968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
; 
1969     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
, 
1970     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1972         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1973         result 
= (int)((wxGridCellFloatRenderer 
const *)arg1
)->GetWidth(); 
1975         wxPyEndAllowThreads(__tstate
); 
1976         if (PyErr_Occurred()) SWIG_fail
; 
1978     resultobj 
= SWIG_FromInt((int)result
); 
1985 static PyObject 
*_wrap_GridCellFloatRenderer_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1986     PyObject 
*resultobj
; 
1987     wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
1989     PyObject 
* obj0 
= 0 ; 
1990     PyObject 
* obj1 
= 0 ; 
1992         (char *) "self",(char *) "width", NULL 
 
1995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
1996     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
, 
1997     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1998     arg2 
= (int) SWIG_AsInt(obj1
);  
1999     if (PyErr_Occurred()) SWIG_fail
; 
2001         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2002         (arg1
)->SetWidth(arg2
); 
2004         wxPyEndAllowThreads(__tstate
); 
2005         if (PyErr_Occurred()) SWIG_fail
; 
2007     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2014 static PyObject 
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2015     PyObject 
*resultobj
; 
2016     wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
2018     PyObject 
* obj0 
= 0 ; 
2020         (char *) "self", NULL 
 
2023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
; 
2024     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
, 
2025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2027         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2028         result 
= (int)((wxGridCellFloatRenderer 
const *)arg1
)->GetPrecision(); 
2030         wxPyEndAllowThreads(__tstate
); 
2031         if (PyErr_Occurred()) SWIG_fail
; 
2033     resultobj 
= SWIG_FromInt((int)result
); 
2040 static PyObject 
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2041     PyObject 
*resultobj
; 
2042     wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
2044     PyObject 
* obj0 
= 0 ; 
2045     PyObject 
* obj1 
= 0 ; 
2047         (char *) "self",(char *) "precision", NULL 
 
2050     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
; 
2051     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
, 
2052     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2053     arg2 
= (int) SWIG_AsInt(obj1
);  
2054     if (PyErr_Occurred()) SWIG_fail
; 
2056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2057         (arg1
)->SetPrecision(arg2
); 
2059         wxPyEndAllowThreads(__tstate
); 
2060         if (PyErr_Occurred()) SWIG_fail
; 
2062     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2069 static PyObject 
* GridCellFloatRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2071     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2072     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
); 
2074     return Py_BuildValue((char *)""); 
2076 static PyObject 
*_wrap_new_GridCellBoolRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2077     PyObject 
*resultobj
; 
2078     wxGridCellBoolRenderer 
*result
; 
2083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
; 
2085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2086         result 
= (wxGridCellBoolRenderer 
*)new wxGridCellBoolRenderer(); 
2088         wxPyEndAllowThreads(__tstate
); 
2089         if (PyErr_Occurred()) SWIG_fail
; 
2091     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1); 
2098 static PyObject 
* GridCellBoolRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2100     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2101     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
); 
2103     return Py_BuildValue((char *)""); 
2105 static PyObject 
*_wrap_new_GridCellDateTimeRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2106     PyObject 
*resultobj
; 
2107     wxString arg1 
= (wxString
) wxPyDateTimeFormatStr 
; 
2108     wxString arg2 
= (wxString
) wxPyDateTimeFormatStr 
; 
2109     wxGridCellDateTimeRenderer 
*result
; 
2110     PyObject 
* obj0 
= 0 ; 
2111     PyObject 
* obj1 
= 0 ; 
2113         (char *) "outformat",(char *) "informat", NULL 
 
2116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
; 
2119             wxString
* sptr 
= wxString_in_helper(obj0
); 
2120             if (sptr 
== NULL
) SWIG_fail
; 
2127             wxString
* sptr 
= wxString_in_helper(obj1
); 
2128             if (sptr 
== NULL
) SWIG_fail
; 
2134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2135         result 
= (wxGridCellDateTimeRenderer 
*)new wxGridCellDateTimeRenderer(arg1
,arg2
); 
2137         wxPyEndAllowThreads(__tstate
); 
2138         if (PyErr_Occurred()) SWIG_fail
; 
2140     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1); 
2147 static PyObject 
* GridCellDateTimeRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2149     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2150     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
); 
2152     return Py_BuildValue((char *)""); 
2154 static PyObject 
*_wrap_new_GridCellEnumRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2155     PyObject 
*resultobj
; 
2156     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
2157     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2158     wxGridCellEnumRenderer 
*result
; 
2159     bool temp1 
= False 
; 
2160     PyObject 
* obj0 
= 0 ; 
2162         (char *) "choices", NULL 
 
2165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
; 
2168             arg1 
= wxString_in_helper(obj0
); 
2169             if (arg1 
== NULL
) SWIG_fail
; 
2174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2175         result 
= (wxGridCellEnumRenderer 
*)new wxGridCellEnumRenderer((wxString 
const &)*arg1
); 
2177         wxPyEndAllowThreads(__tstate
); 
2178         if (PyErr_Occurred()) SWIG_fail
; 
2180     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1); 
2195 static PyObject 
* GridCellEnumRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2197     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2198     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
); 
2200     return Py_BuildValue((char *)""); 
2202 static PyObject 
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2203     PyObject 
*resultobj
; 
2204     wxGridCellAutoWrapStringRenderer 
*result
; 
2209     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
; 
2211         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2212         result 
= (wxGridCellAutoWrapStringRenderer 
*)new wxGridCellAutoWrapStringRenderer(); 
2214         wxPyEndAllowThreads(__tstate
); 
2215         if (PyErr_Occurred()) SWIG_fail
; 
2217     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1); 
2224 static PyObject 
* GridCellAutoWrapStringRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2226     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2227     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
); 
2229     return Py_BuildValue((char *)""); 
2231 static PyObject 
*_wrap_GridCellEditor__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2232     PyObject 
*resultobj
; 
2233     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2234     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
2235     PyObject 
* obj0 
= 0 ; 
2236     PyObject 
* obj1 
= 0 ; 
2238         (char *) "self",(char *) "_self", NULL 
 
2241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
2242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2246         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2247         wxGridCellEditor__setOORInfo(arg1
,arg2
); 
2249         wxPyEndAllowThreads(__tstate
); 
2250         if (PyErr_Occurred()) SWIG_fail
; 
2252     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2259 static PyObject 
*_wrap_GridCellEditor_IsCreated(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2260     PyObject 
*resultobj
; 
2261     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2263     PyObject 
* obj0 
= 0 ; 
2265         (char *) "self", NULL 
 
2268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
; 
2269     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2270     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2272         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2273         result 
= (bool)(arg1
)->IsCreated(); 
2275         wxPyEndAllowThreads(__tstate
); 
2276         if (PyErr_Occurred()) SWIG_fail
; 
2279         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2287 static PyObject 
*_wrap_GridCellEditor_GetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2288     PyObject 
*resultobj
; 
2289     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2291     PyObject 
* obj0 
= 0 ; 
2293         (char *) "self", NULL 
 
2296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
; 
2297     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2298     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2301         result 
= (wxControl 
*)(arg1
)->GetControl(); 
2303         wxPyEndAllowThreads(__tstate
); 
2304         if (PyErr_Occurred()) SWIG_fail
; 
2307         resultobj 
= wxPyMake_wxObject(result
);  
2315 static PyObject 
*_wrap_GridCellEditor_SetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2316     PyObject 
*resultobj
; 
2317     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2318     wxControl 
*arg2 
= (wxControl 
*) 0 ; 
2319     PyObject 
* obj0 
= 0 ; 
2320     PyObject 
* obj1 
= 0 ; 
2322         (char *) "self",(char *) "control", NULL 
 
2325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
2326     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2327     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2328     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
, 
2329     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2332         (arg1
)->SetControl(arg2
); 
2334         wxPyEndAllowThreads(__tstate
); 
2335         if (PyErr_Occurred()) SWIG_fail
; 
2337     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2344 static PyObject 
*_wrap_GridCellEditor_GetCellAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2345     PyObject 
*resultobj
; 
2346     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2347     wxGridCellAttr 
*result
; 
2348     PyObject 
* obj0 
= 0 ; 
2350         (char *) "self", NULL 
 
2353     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
; 
2354     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2355     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2357         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2358         result 
= (wxGridCellAttr 
*)(arg1
)->GetCellAttr(); 
2360         wxPyEndAllowThreads(__tstate
); 
2361         if (PyErr_Occurred()) SWIG_fail
; 
2364         resultobj 
= wxPyMake_wxGridCellAttr(result
);  
2372 static PyObject 
*_wrap_GridCellEditor_SetCellAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2373     PyObject 
*resultobj
; 
2374     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2375     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
2376     PyObject 
* obj0 
= 0 ; 
2377     PyObject 
* obj1 
= 0 ; 
2379         (char *) "self",(char *) "attr", NULL 
 
2382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
; 
2383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2385     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
2386     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2388         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2389         (arg1
)->SetCellAttr(arg2
); 
2391         wxPyEndAllowThreads(__tstate
); 
2392         if (PyErr_Occurred()) SWIG_fail
; 
2394     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2401 static PyObject 
*_wrap_GridCellEditor_SetParameters(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2402     PyObject 
*resultobj
; 
2403     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2404     wxString 
*arg2 
= 0 ; 
2405     bool temp2 
= False 
; 
2406     PyObject 
* obj0 
= 0 ; 
2407     PyObject 
* obj1 
= 0 ; 
2409         (char *) "self",(char *) "params", NULL 
 
2412     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
; 
2413     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2414     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2416         arg2 
= wxString_in_helper(obj1
); 
2417         if (arg2 
== NULL
) SWIG_fail
; 
2421         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2422         (arg1
)->SetParameters((wxString 
const &)*arg2
); 
2424         wxPyEndAllowThreads(__tstate
); 
2425         if (PyErr_Occurred()) SWIG_fail
; 
2427     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2442 static PyObject 
*_wrap_GridCellEditor_IncRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2443     PyObject 
*resultobj
; 
2444     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2445     PyObject 
* obj0 
= 0 ; 
2447         (char *) "self", NULL 
 
2450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
; 
2451     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2452     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2454         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2457         wxPyEndAllowThreads(__tstate
); 
2458         if (PyErr_Occurred()) SWIG_fail
; 
2460     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2467 static PyObject 
*_wrap_GridCellEditor_DecRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2468     PyObject 
*resultobj
; 
2469     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2470     PyObject 
* obj0 
= 0 ; 
2472         (char *) "self", NULL 
 
2475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
; 
2476     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2477     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2479         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2482         wxPyEndAllowThreads(__tstate
); 
2483         if (PyErr_Occurred()) SWIG_fail
; 
2485     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2492 static PyObject 
*_wrap_GridCellEditor_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2493     PyObject 
*resultobj
; 
2494     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2495     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2497     wxEvtHandler 
*arg4 
= (wxEvtHandler 
*) 0 ; 
2498     PyObject 
* obj0 
= 0 ; 
2499     PyObject 
* obj1 
= 0 ; 
2500     PyObject 
* obj2 
= 0 ; 
2501     PyObject 
* obj3 
= 0 ; 
2503         (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL 
 
2506     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2507     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2508     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2509     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
2510     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2511     arg3 
= (int) SWIG_AsInt(obj2
);  
2512     if (PyErr_Occurred()) SWIG_fail
; 
2513     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxEvtHandler
, 
2514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2517         (arg1
)->Create(arg2
,arg3
,arg4
); 
2519         wxPyEndAllowThreads(__tstate
); 
2520         if (PyErr_Occurred()) SWIG_fail
; 
2522     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2529 static PyObject 
*_wrap_GridCellEditor_BeginEdit(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2530     PyObject 
*resultobj
; 
2531     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2534     wxGrid 
*arg4 
= (wxGrid 
*) 0 ; 
2535     PyObject 
* obj0 
= 0 ; 
2536     PyObject 
* obj1 
= 0 ; 
2537     PyObject 
* obj2 
= 0 ; 
2538     PyObject 
* obj3 
= 0 ; 
2540         (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL 
 
2543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2546     arg2 
= (int) SWIG_AsInt(obj1
);  
2547     if (PyErr_Occurred()) SWIG_fail
; 
2548     arg3 
= (int) SWIG_AsInt(obj2
);  
2549     if (PyErr_Occurred()) SWIG_fail
; 
2550     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
, 
2551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2553         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2554         (arg1
)->BeginEdit(arg2
,arg3
,arg4
); 
2556         wxPyEndAllowThreads(__tstate
); 
2557         if (PyErr_Occurred()) SWIG_fail
; 
2559     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2566 static PyObject 
*_wrap_GridCellEditor_EndEdit(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2567     PyObject 
*resultobj
; 
2568     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2571     wxGrid 
*arg4 
= (wxGrid 
*) 0 ; 
2573     PyObject 
* obj0 
= 0 ; 
2574     PyObject 
* obj1 
= 0 ; 
2575     PyObject 
* obj2 
= 0 ; 
2576     PyObject 
* obj3 
= 0 ; 
2578         (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL 
 
2581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2582     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2583     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2584     arg2 
= (int) SWIG_AsInt(obj1
);  
2585     if (PyErr_Occurred()) SWIG_fail
; 
2586     arg3 
= (int) SWIG_AsInt(obj2
);  
2587     if (PyErr_Occurred()) SWIG_fail
; 
2588     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
, 
2589     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2592         result 
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
); 
2594         wxPyEndAllowThreads(__tstate
); 
2595         if (PyErr_Occurred()) SWIG_fail
; 
2598         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2606 static PyObject 
*_wrap_GridCellEditor_Reset(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2607     PyObject 
*resultobj
; 
2608     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2609     PyObject 
* obj0 
= 0 ; 
2611         (char *) "self", NULL 
 
2614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
; 
2615     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2621         wxPyEndAllowThreads(__tstate
); 
2622         if (PyErr_Occurred()) SWIG_fail
; 
2624     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2631 static PyObject 
*_wrap_GridCellEditor_Clone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2632     PyObject 
*resultobj
; 
2633     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2634     wxGridCellEditor 
*result
; 
2635     PyObject 
* obj0 
= 0 ; 
2637         (char *) "self", NULL 
 
2640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
; 
2641     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2645         result 
= (wxGridCellEditor 
*)((wxGridCellEditor 
const *)arg1
)->Clone(); 
2647         wxPyEndAllowThreads(__tstate
); 
2648         if (PyErr_Occurred()) SWIG_fail
; 
2651         resultobj 
= wxPyMake_wxGridCellEditor(result
);  
2659 static PyObject 
*_wrap_GridCellEditor_SetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2660     PyObject 
*resultobj
; 
2661     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2664     PyObject 
* obj0 
= 0 ; 
2665     PyObject 
* obj1 
= 0 ; 
2667         (char *) "self",(char *) "rect", NULL 
 
2670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
2671     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2672     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2675         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
2678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2679         (arg1
)->SetSize((wxRect 
const &)*arg2
); 
2681         wxPyEndAllowThreads(__tstate
); 
2682         if (PyErr_Occurred()) SWIG_fail
; 
2684     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2691 static PyObject 
*_wrap_GridCellEditor_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2692     PyObject 
*resultobj
; 
2693     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2695     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) NULL 
; 
2696     PyObject 
* obj0 
= 0 ; 
2697     PyObject 
* obj1 
= 0 ; 
2698     PyObject 
* obj2 
= 0 ; 
2700         (char *) "self",(char *) "show",(char *) "attr", NULL 
 
2703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2706     arg2 
= (bool) SWIG_AsBool(obj1
);  
2707     if (PyErr_Occurred()) SWIG_fail
; 
2709         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
2710         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2714         (arg1
)->Show(arg2
,arg3
); 
2716         wxPyEndAllowThreads(__tstate
); 
2717         if (PyErr_Occurred()) SWIG_fail
; 
2719     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2726 static PyObject 
*_wrap_GridCellEditor_PaintBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2727     PyObject 
*resultobj
; 
2728     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2730     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
2732     PyObject 
* obj0 
= 0 ; 
2733     PyObject 
* obj1 
= 0 ; 
2734     PyObject 
* obj2 
= 0 ; 
2736         (char *) "self",(char *) "rectCell",(char *) "attr", NULL 
 
2739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2740     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2741     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2744         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
2746     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
2747     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2750         (arg1
)->PaintBackground((wxRect 
const &)*arg2
,arg3
); 
2752         wxPyEndAllowThreads(__tstate
); 
2753         if (PyErr_Occurred()) SWIG_fail
; 
2755     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2762 static PyObject 
*_wrap_GridCellEditor_IsAcceptedKey(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2763     PyObject 
*resultobj
; 
2764     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2765     wxKeyEvent 
*arg2 
= 0 ; 
2767     PyObject 
* obj0 
= 0 ; 
2768     PyObject 
* obj1 
= 0 ; 
2770         (char *) "self",(char *) "event", NULL 
 
2773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
; 
2774     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2775     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2776     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
2777     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2780         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2785         result 
= (bool)(arg1
)->IsAcceptedKey(*arg2
); 
2787         wxPyEndAllowThreads(__tstate
); 
2788         if (PyErr_Occurred()) SWIG_fail
; 
2791         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2799 static PyObject 
*_wrap_GridCellEditor_StartingKey(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2800     PyObject 
*resultobj
; 
2801     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2802     wxKeyEvent 
*arg2 
= 0 ; 
2803     PyObject 
* obj0 
= 0 ; 
2804     PyObject 
* obj1 
= 0 ; 
2806         (char *) "self",(char *) "event", NULL 
 
2809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
; 
2810     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2811     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2812     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
2813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2816         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2821         (arg1
)->StartingKey(*arg2
); 
2823         wxPyEndAllowThreads(__tstate
); 
2824         if (PyErr_Occurred()) SWIG_fail
; 
2826     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2833 static PyObject 
*_wrap_GridCellEditor_StartingClick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2834     PyObject 
*resultobj
; 
2835     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2836     PyObject 
* obj0 
= 0 ; 
2838         (char *) "self", NULL 
 
2841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
; 
2842     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2843     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2846         (arg1
)->StartingClick(); 
2848         wxPyEndAllowThreads(__tstate
); 
2849         if (PyErr_Occurred()) SWIG_fail
; 
2851     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2858 static PyObject 
*_wrap_GridCellEditor_HandleReturn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2859     PyObject 
*resultobj
; 
2860     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2861     wxKeyEvent 
*arg2 
= 0 ; 
2862     PyObject 
* obj0 
= 0 ; 
2863     PyObject 
* obj1 
= 0 ; 
2865         (char *) "self",(char *) "event", NULL 
 
2868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
; 
2869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2871     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
2872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2875         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2880         (arg1
)->HandleReturn(*arg2
); 
2882         wxPyEndAllowThreads(__tstate
); 
2883         if (PyErr_Occurred()) SWIG_fail
; 
2885     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2892 static PyObject 
*_wrap_GridCellEditor_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2893     PyObject 
*resultobj
; 
2894     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2895     PyObject 
* obj0 
= 0 ; 
2897         (char *) "self", NULL 
 
2900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
; 
2901     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2902     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2907         wxPyEndAllowThreads(__tstate
); 
2908         if (PyErr_Occurred()) SWIG_fail
; 
2910     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2917 static PyObject 
* GridCellEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2919     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2920     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
); 
2922     return Py_BuildValue((char *)""); 
2924 static PyObject 
*_wrap_new_PyGridCellEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2925     PyObject 
*resultobj
; 
2926     wxPyGridCellEditor 
*result
; 
2931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
; 
2933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2934         result 
= (wxPyGridCellEditor 
*)new wxPyGridCellEditor(); 
2936         wxPyEndAllowThreads(__tstate
); 
2937         if (PyErr_Occurred()) SWIG_fail
; 
2939     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1); 
2946 static PyObject 
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2947     PyObject 
*resultobj
; 
2948     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
2949     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
2950     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
2951     PyObject 
* obj0 
= 0 ; 
2952     PyObject 
* obj1 
= 0 ; 
2953     PyObject 
* obj2 
= 0 ; 
2955         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
2958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2959     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
2960     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2965         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
2967         wxPyEndAllowThreads(__tstate
); 
2968         if (PyErr_Occurred()) SWIG_fail
; 
2970     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2977 static PyObject 
*_wrap_PyGridCellEditor_base_SetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2978     PyObject 
*resultobj
; 
2979     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
2982     PyObject 
* obj0 
= 0 ; 
2983     PyObject 
* obj1 
= 0 ; 
2985         (char *) "self",(char *) "rect", NULL 
 
2988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
2989     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
2990     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2993         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
2996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2997         (arg1
)->base_SetSize((wxRect 
const &)*arg2
); 
2999         wxPyEndAllowThreads(__tstate
); 
3000         if (PyErr_Occurred()) SWIG_fail
; 
3002     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3009 static PyObject 
*_wrap_PyGridCellEditor_base_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3010     PyObject 
*resultobj
; 
3011     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3013     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) NULL 
; 
3014     PyObject 
* obj0 
= 0 ; 
3015     PyObject 
* obj1 
= 0 ; 
3016     PyObject 
* obj2 
= 0 ; 
3018         (char *) "self",(char *) "show",(char *) "attr", NULL 
 
3021     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3022     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3023     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3024     arg2 
= (bool) SWIG_AsBool(obj1
);  
3025     if (PyErr_Occurred()) SWIG_fail
; 
3027         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
3028         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3032         (arg1
)->base_Show(arg2
,arg3
); 
3034         wxPyEndAllowThreads(__tstate
); 
3035         if (PyErr_Occurred()) SWIG_fail
; 
3037     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3044 static PyObject 
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3045     PyObject 
*resultobj
; 
3046     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3048     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
3050     PyObject 
* obj0 
= 0 ; 
3051     PyObject 
* obj1 
= 0 ; 
3052     PyObject 
* obj2 
= 0 ; 
3054         (char *) "self",(char *) "rectCell",(char *) "attr", NULL 
 
3057     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3058     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3059     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3062         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
3064     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
3065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3068         (arg1
)->base_PaintBackground((wxRect 
const &)*arg2
,arg3
); 
3070         wxPyEndAllowThreads(__tstate
); 
3071         if (PyErr_Occurred()) SWIG_fail
; 
3073     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3080 static PyObject 
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3081     PyObject 
*resultobj
; 
3082     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3083     wxKeyEvent 
*arg2 
= 0 ; 
3085     PyObject 
* obj0 
= 0 ; 
3086     PyObject 
* obj1 
= 0 ; 
3088         (char *) "self",(char *) "event", NULL 
 
3091     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
; 
3092     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3093     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3094     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
3095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3098         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3103         result 
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
); 
3105         wxPyEndAllowThreads(__tstate
); 
3106         if (PyErr_Occurred()) SWIG_fail
; 
3109         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3117 static PyObject 
*_wrap_PyGridCellEditor_base_StartingKey(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3118     PyObject 
*resultobj
; 
3119     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3120     wxKeyEvent 
*arg2 
= 0 ; 
3121     PyObject 
* obj0 
= 0 ; 
3122     PyObject 
* obj1 
= 0 ; 
3124         (char *) "self",(char *) "event", NULL 
 
3127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
; 
3128     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3129     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3130     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
3131     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3134         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3139         (arg1
)->base_StartingKey(*arg2
); 
3141         wxPyEndAllowThreads(__tstate
); 
3142         if (PyErr_Occurred()) SWIG_fail
; 
3144     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3151 static PyObject 
*_wrap_PyGridCellEditor_base_StartingClick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3152     PyObject 
*resultobj
; 
3153     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3154     PyObject 
* obj0 
= 0 ; 
3156         (char *) "self", NULL 
 
3159     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
; 
3160     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3161     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3164         (arg1
)->base_StartingClick(); 
3166         wxPyEndAllowThreads(__tstate
); 
3167         if (PyErr_Occurred()) SWIG_fail
; 
3169     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3176 static PyObject 
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3177     PyObject 
*resultobj
; 
3178     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3179     wxKeyEvent 
*arg2 
= 0 ; 
3180     PyObject 
* obj0 
= 0 ; 
3181     PyObject 
* obj1 
= 0 ; 
3183         (char *) "self",(char *) "event", NULL 
 
3186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
; 
3187     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3188     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3189     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
3190     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3193         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3197         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3198         (arg1
)->base_HandleReturn(*arg2
); 
3200         wxPyEndAllowThreads(__tstate
); 
3201         if (PyErr_Occurred()) SWIG_fail
; 
3203     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3210 static PyObject 
*_wrap_PyGridCellEditor_base_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3211     PyObject 
*resultobj
; 
3212     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3213     PyObject 
* obj0 
= 0 ; 
3215         (char *) "self", NULL 
 
3218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
; 
3219     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3220     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3223         (arg1
)->base_Destroy(); 
3225         wxPyEndAllowThreads(__tstate
); 
3226         if (PyErr_Occurred()) SWIG_fail
; 
3228     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3235 static PyObject 
*_wrap_PyGridCellEditor_base_SetParameters(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3236     PyObject 
*resultobj
; 
3237     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3238     wxString 
*arg2 
= 0 ; 
3239     bool temp2 
= False 
; 
3240     PyObject 
* obj0 
= 0 ; 
3241     PyObject 
* obj1 
= 0 ; 
3243         (char *) "self",(char *) "params", NULL 
 
3246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
; 
3247     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3248     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3250         arg2 
= wxString_in_helper(obj1
); 
3251         if (arg2 
== NULL
) SWIG_fail
; 
3255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3256         (arg1
)->base_SetParameters((wxString 
const &)*arg2
); 
3258         wxPyEndAllowThreads(__tstate
); 
3259         if (PyErr_Occurred()) SWIG_fail
; 
3261     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3276 static PyObject 
* PyGridCellEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3278     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3279     SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
); 
3281     return Py_BuildValue((char *)""); 
3283 static PyObject 
*_wrap_new_GridCellTextEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3284     PyObject 
*resultobj
; 
3285     wxGridCellTextEditor 
*result
; 
3290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
; 
3292         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3293         result 
= (wxGridCellTextEditor 
*)new wxGridCellTextEditor(); 
3295         wxPyEndAllowThreads(__tstate
); 
3296         if (PyErr_Occurred()) SWIG_fail
; 
3298     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1); 
3305 static PyObject 
*_wrap_GridCellTextEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3306     PyObject 
*resultobj
; 
3307     wxGridCellTextEditor 
*arg1 
= (wxGridCellTextEditor 
*) 0 ; 
3309     PyObject 
* obj0 
= 0 ; 
3311         (char *) "self", NULL 
 
3314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellTextEditor
, 
3316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3319         result 
= (arg1
)->GetValue(); 
3321         wxPyEndAllowThreads(__tstate
); 
3322         if (PyErr_Occurred()) SWIG_fail
; 
3326         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3328         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3337 static PyObject 
* GridCellTextEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3339     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3340     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
); 
3342     return Py_BuildValue((char *)""); 
3344 static PyObject 
*_wrap_new_GridCellNumberEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3345     PyObject 
*resultobj
; 
3346     int arg1 
= (int) -1 ; 
3347     int arg2 
= (int) -1 ; 
3348     wxGridCellNumberEditor 
*result
; 
3349     PyObject 
* obj0 
= 0 ; 
3350     PyObject 
* obj1 
= 0 ; 
3352         (char *) "min",(char *) "max", NULL 
 
3355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
; 
3357         arg1 
= (int) SWIG_AsInt(obj0
);  
3358         if (PyErr_Occurred()) SWIG_fail
; 
3361         arg2 
= (int) SWIG_AsInt(obj1
);  
3362         if (PyErr_Occurred()) SWIG_fail
; 
3365         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3366         result 
= (wxGridCellNumberEditor 
*)new wxGridCellNumberEditor(arg1
,arg2
); 
3368         wxPyEndAllowThreads(__tstate
); 
3369         if (PyErr_Occurred()) SWIG_fail
; 
3371     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1); 
3378 static PyObject 
*_wrap_GridCellNumberEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3379     PyObject 
*resultobj
; 
3380     wxGridCellNumberEditor 
*arg1 
= (wxGridCellNumberEditor 
*) 0 ; 
3382     PyObject 
* obj0 
= 0 ; 
3384         (char *) "self", NULL 
 
3387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3388     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellNumberEditor
, 
3389     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3391         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3392         result 
= (arg1
)->GetValue(); 
3394         wxPyEndAllowThreads(__tstate
); 
3395         if (PyErr_Occurred()) SWIG_fail
; 
3399         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3401         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3410 static PyObject 
* GridCellNumberEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3412     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3413     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
); 
3415     return Py_BuildValue((char *)""); 
3417 static PyObject 
*_wrap_new_GridCellFloatEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3418     PyObject 
*resultobj
; 
3419     wxGridCellFloatEditor 
*result
; 
3424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
; 
3426         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3427         result 
= (wxGridCellFloatEditor 
*)new wxGridCellFloatEditor(); 
3429         wxPyEndAllowThreads(__tstate
); 
3430         if (PyErr_Occurred()) SWIG_fail
; 
3432     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1); 
3439 static PyObject 
*_wrap_GridCellFloatEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3440     PyObject 
*resultobj
; 
3441     wxGridCellFloatEditor 
*arg1 
= (wxGridCellFloatEditor 
*) 0 ; 
3443     PyObject 
* obj0 
= 0 ; 
3445         (char *) "self", NULL 
 
3448     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3449     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatEditor
, 
3450     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3453         result 
= (arg1
)->GetValue(); 
3455         wxPyEndAllowThreads(__tstate
); 
3456         if (PyErr_Occurred()) SWIG_fail
; 
3460         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3462         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3471 static PyObject 
* GridCellFloatEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3473     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3474     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
); 
3476     return Py_BuildValue((char *)""); 
3478 static PyObject 
*_wrap_new_GridCellBoolEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3479     PyObject 
*resultobj
; 
3480     wxGridCellBoolEditor 
*result
; 
3485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
; 
3487         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3488         result 
= (wxGridCellBoolEditor 
*)new wxGridCellBoolEditor(); 
3490         wxPyEndAllowThreads(__tstate
); 
3491         if (PyErr_Occurred()) SWIG_fail
; 
3493     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1); 
3500 static PyObject 
*_wrap_GridCellBoolEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3501     PyObject 
*resultobj
; 
3502     wxGridCellBoolEditor 
*arg1 
= (wxGridCellBoolEditor 
*) 0 ; 
3504     PyObject 
* obj0 
= 0 ; 
3506         (char *) "self", NULL 
 
3509     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3510     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellBoolEditor
, 
3511     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3514         result 
= (arg1
)->GetValue(); 
3516         wxPyEndAllowThreads(__tstate
); 
3517         if (PyErr_Occurred()) SWIG_fail
; 
3521         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3523         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3532 static PyObject 
* GridCellBoolEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3534     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3535     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
); 
3537     return Py_BuildValue((char *)""); 
3539 static PyObject 
*_wrap_new_GridCellChoiceEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3540     PyObject 
*resultobj
; 
3541     int arg1 
= (int) 0 ; 
3542     wxString 
*arg2 
= (wxString 
*) NULL 
; 
3543     bool arg3 
= (bool) False 
; 
3544     wxGridCellChoiceEditor 
*result
; 
3545     PyObject 
* obj0 
= 0 ; 
3546     PyObject 
* obj1 
= 0 ; 
3548         (char *) "choices",(char *) "allowOthers", NULL 
 
3551     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
; 
3554             arg1 
= PyList_Size(obj0
); 
3555             arg2 
= wxString_LIST_helper(obj0
); 
3556             if (arg2 
== NULL
) SWIG_fail
; 
3560         arg3 
= (bool) SWIG_AsBool(obj1
);  
3561         if (PyErr_Occurred()) SWIG_fail
; 
3564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3565         result 
= (wxGridCellChoiceEditor 
*)new wxGridCellChoiceEditor(arg1
,(wxString 
const *)arg2
,arg3
); 
3567         wxPyEndAllowThreads(__tstate
); 
3568         if (PyErr_Occurred()) SWIG_fail
; 
3570     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1); 
3572         if (arg2
) delete [] arg2
; 
3577         if (arg2
) delete [] arg2
; 
3583 static PyObject 
*_wrap_GridCellChoiceEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3584     PyObject 
*resultobj
; 
3585     wxGridCellChoiceEditor 
*arg1 
= (wxGridCellChoiceEditor 
*) 0 ; 
3587     PyObject 
* obj0 
= 0 ; 
3589         (char *) "self", NULL 
 
3592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3593     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellChoiceEditor
, 
3594     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3597         result 
= (arg1
)->GetValue(); 
3599         wxPyEndAllowThreads(__tstate
); 
3600         if (PyErr_Occurred()) SWIG_fail
; 
3604         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3606         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3615 static PyObject 
* GridCellChoiceEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3617     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3618     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
); 
3620     return Py_BuildValue((char *)""); 
3622 static PyObject 
*_wrap_new_GridCellEnumEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3623     PyObject 
*resultobj
; 
3624     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
3625     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
3626     wxGridCellEnumEditor 
*result
; 
3627     bool temp1 
= False 
; 
3628     PyObject 
* obj0 
= 0 ; 
3630         (char *) "choices", NULL 
 
3633     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
; 
3636             arg1 
= wxString_in_helper(obj0
); 
3637             if (arg1 
== NULL
) SWIG_fail
; 
3642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3643         result 
= (wxGridCellEnumEditor 
*)new wxGridCellEnumEditor((wxString 
const &)*arg1
); 
3645         wxPyEndAllowThreads(__tstate
); 
3646         if (PyErr_Occurred()) SWIG_fail
; 
3648     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1); 
3663 static PyObject 
*_wrap_GridCellEnumEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3664     PyObject 
*resultobj
; 
3665     wxGridCellEnumEditor 
*arg1 
= (wxGridCellEnumEditor 
*) 0 ; 
3667     PyObject 
* obj0 
= 0 ; 
3669         (char *) "self", NULL 
 
3672     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3673     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEnumEditor
, 
3674     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3676         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3677         result 
= (arg1
)->GetValue(); 
3679         wxPyEndAllowThreads(__tstate
); 
3680         if (PyErr_Occurred()) SWIG_fail
; 
3684         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3686         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3695 static PyObject 
* GridCellEnumEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3697     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3698     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
); 
3700     return Py_BuildValue((char *)""); 
3702 static PyObject 
*_wrap_new_GridCellAutoWrapStringEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3703     PyObject 
*resultobj
; 
3704     wxGridCellAutoWrapStringEditor 
*result
; 
3709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
; 
3711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3712         result 
= (wxGridCellAutoWrapStringEditor 
*)new wxGridCellAutoWrapStringEditor(); 
3714         wxPyEndAllowThreads(__tstate
); 
3715         if (PyErr_Occurred()) SWIG_fail
; 
3717     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1); 
3724 static PyObject 
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3725     PyObject 
*resultobj
; 
3726     wxGridCellAutoWrapStringEditor 
*arg1 
= (wxGridCellAutoWrapStringEditor 
*) 0 ; 
3728     PyObject 
* obj0 
= 0 ; 
3730         (char *) "self", NULL 
 
3733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3734     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 
3735     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3738         result 
= (arg1
)->GetValue(); 
3740         wxPyEndAllowThreads(__tstate
); 
3741         if (PyErr_Occurred()) SWIG_fail
; 
3745         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3747         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3756 static PyObject 
* GridCellAutoWrapStringEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3758     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3759     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
); 
3761     return Py_BuildValue((char *)""); 
3763 static PyObject 
*_wrap_GridCellAttr__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3764     PyObject 
*resultobj
; 
3765     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3766     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3767     PyObject 
* obj0 
= 0 ; 
3768     PyObject 
* obj1 
= 0 ; 
3770         (char *) "self",(char *) "_self", NULL 
 
3773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
3774     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3775     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3779         wxGridCellAttr__setOORInfo(arg1
,arg2
); 
3781         wxPyEndAllowThreads(__tstate
); 
3782         if (PyErr_Occurred()) SWIG_fail
; 
3784     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3791 static PyObject 
*_wrap_new_GridCellAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3792     PyObject 
*resultobj
; 
3793     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) NULL 
; 
3794     wxGridCellAttr 
*result
; 
3795     PyObject 
* obj0 
= 0 ; 
3797         (char *) "attrDefault", NULL 
 
3800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
; 
3802         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3803         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3807         result 
= (wxGridCellAttr 
*)new wxGridCellAttr(arg1
); 
3809         wxPyEndAllowThreads(__tstate
); 
3810         if (PyErr_Occurred()) SWIG_fail
; 
3813         resultobj 
= wxPyMake_wxGridCellAttr(result
);  
3821 static PyObject 
*_wrap_GridCellAttr_Clone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3822     PyObject 
*resultobj
; 
3823     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3824     wxGridCellAttr 
*result
; 
3825     PyObject 
* obj0 
= 0 ; 
3827         (char *) "self", NULL 
 
3830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
; 
3831     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3832     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3834         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3835         result 
= (wxGridCellAttr 
*)((wxGridCellAttr 
const *)arg1
)->Clone(); 
3837         wxPyEndAllowThreads(__tstate
); 
3838         if (PyErr_Occurred()) SWIG_fail
; 
3841         resultobj 
= wxPyMake_wxGridCellAttr(result
);  
3849 static PyObject 
*_wrap_GridCellAttr_MergeWith(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3850     PyObject 
*resultobj
; 
3851     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3852     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
3853     PyObject 
* obj0 
= 0 ; 
3854     PyObject 
* obj1 
= 0 ; 
3856         (char *) "self",(char *) "mergefrom", NULL 
 
3859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
; 
3860     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3861     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3862     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
3863     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3865         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3866         (arg1
)->MergeWith(arg2
); 
3868         wxPyEndAllowThreads(__tstate
); 
3869         if (PyErr_Occurred()) SWIG_fail
; 
3871     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3878 static PyObject 
*_wrap_GridCellAttr_IncRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3879     PyObject 
*resultobj
; 
3880     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3881     PyObject 
* obj0 
= 0 ; 
3883         (char *) "self", NULL 
 
3886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
; 
3887     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3888     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3893         wxPyEndAllowThreads(__tstate
); 
3894         if (PyErr_Occurred()) SWIG_fail
; 
3896     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3903 static PyObject 
*_wrap_GridCellAttr_DecRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3904     PyObject 
*resultobj
; 
3905     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3906     PyObject 
* obj0 
= 0 ; 
3908         (char *) "self", NULL 
 
3911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
; 
3912     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3913     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3918         wxPyEndAllowThreads(__tstate
); 
3919         if (PyErr_Occurred()) SWIG_fail
; 
3921     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3928 static PyObject 
*_wrap_GridCellAttr_SetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3929     PyObject 
*resultobj
; 
3930     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3931     wxColour 
*arg2 
= 0 ; 
3933     PyObject 
* obj0 
= 0 ; 
3934     PyObject 
* obj1 
= 0 ; 
3936         (char *) "self",(char *) "colText", NULL 
 
3939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3940     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3941     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3944         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3948         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
3950         wxPyEndAllowThreads(__tstate
); 
3951         if (PyErr_Occurred()) SWIG_fail
; 
3953     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3960 static PyObject 
*_wrap_GridCellAttr_SetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3961     PyObject 
*resultobj
; 
3962     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3963     wxColour 
*arg2 
= 0 ; 
3965     PyObject 
* obj0 
= 0 ; 
3966     PyObject 
* obj1 
= 0 ; 
3968         (char *) "self",(char *) "colBack", NULL 
 
3971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3972     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3973     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3976         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3980         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
3982         wxPyEndAllowThreads(__tstate
); 
3983         if (PyErr_Occurred()) SWIG_fail
; 
3985     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3992 static PyObject 
*_wrap_GridCellAttr_SetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3993     PyObject 
*resultobj
; 
3994     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3996     PyObject 
* obj0 
= 0 ; 
3997     PyObject 
* obj1 
= 0 ; 
3999         (char *) "self",(char *) "font", NULL 
 
4002     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
4003     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4004     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4005     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
4006     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4009         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4013         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4014         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
4016         wxPyEndAllowThreads(__tstate
); 
4017         if (PyErr_Occurred()) SWIG_fail
; 
4019     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4026 static PyObject 
*_wrap_GridCellAttr_SetAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4027     PyObject 
*resultobj
; 
4028     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4031     PyObject 
* obj0 
= 0 ; 
4032     PyObject 
* obj1 
= 0 ; 
4033     PyObject 
* obj2 
= 0 ; 
4035         (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL 
 
4038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4039     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4040     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4041     arg2 
= (int) SWIG_AsInt(obj1
);  
4042     if (PyErr_Occurred()) SWIG_fail
; 
4043     arg3 
= (int) SWIG_AsInt(obj2
);  
4044     if (PyErr_Occurred()) SWIG_fail
; 
4046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4047         (arg1
)->SetAlignment(arg2
,arg3
); 
4049         wxPyEndAllowThreads(__tstate
); 
4050         if (PyErr_Occurred()) SWIG_fail
; 
4052     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4059 static PyObject 
*_wrap_GridCellAttr_SetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4060     PyObject 
*resultobj
; 
4061     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4064     PyObject 
* obj0 
= 0 ; 
4065     PyObject 
* obj1 
= 0 ; 
4066     PyObject 
* obj2 
= 0 ; 
4068         (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL 
 
4071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4072     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4073     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4074     arg2 
= (int) SWIG_AsInt(obj1
);  
4075     if (PyErr_Occurred()) SWIG_fail
; 
4076     arg3 
= (int) SWIG_AsInt(obj2
);  
4077     if (PyErr_Occurred()) SWIG_fail
; 
4079         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4080         (arg1
)->SetSize(arg2
,arg3
); 
4082         wxPyEndAllowThreads(__tstate
); 
4083         if (PyErr_Occurred()) SWIG_fail
; 
4085     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4092 static PyObject 
*_wrap_GridCellAttr_SetOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4093     PyObject 
*resultobj
; 
4094     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4095     bool arg2 
= (bool) True 
; 
4096     PyObject 
* obj0 
= 0 ; 
4097     PyObject 
* obj1 
= 0 ; 
4099         (char *) "self",(char *) "allow", NULL 
 
4102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
; 
4103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4106         arg2 
= (bool) SWIG_AsBool(obj1
);  
4107         if (PyErr_Occurred()) SWIG_fail
; 
4110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4111         (arg1
)->SetOverflow(arg2
); 
4113         wxPyEndAllowThreads(__tstate
); 
4114         if (PyErr_Occurred()) SWIG_fail
; 
4116     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4123 static PyObject 
*_wrap_GridCellAttr_SetReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4124     PyObject 
*resultobj
; 
4125     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4126     bool arg2 
= (bool) True 
; 
4127     PyObject 
* obj0 
= 0 ; 
4128     PyObject 
* obj1 
= 0 ; 
4130         (char *) "self",(char *) "isReadOnly", NULL 
 
4133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
; 
4134     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4135     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4137         arg2 
= (bool) SWIG_AsBool(obj1
);  
4138         if (PyErr_Occurred()) SWIG_fail
; 
4141         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4142         (arg1
)->SetReadOnly(arg2
); 
4144         wxPyEndAllowThreads(__tstate
); 
4145         if (PyErr_Occurred()) SWIG_fail
; 
4147     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4154 static PyObject 
*_wrap_GridCellAttr_SetRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4155     PyObject 
*resultobj
; 
4156     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4157     wxGridCellRenderer 
*arg2 
= (wxGridCellRenderer 
*) 0 ; 
4158     PyObject 
* obj0 
= 0 ; 
4159     PyObject 
* obj1 
= 0 ; 
4161         (char *) "self",(char *) "renderer", NULL 
 
4164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
; 
4165     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4166     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4167     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
, 
4168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4170         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4171         (arg1
)->SetRenderer(arg2
); 
4173         wxPyEndAllowThreads(__tstate
); 
4174         if (PyErr_Occurred()) SWIG_fail
; 
4176     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4183 static PyObject 
*_wrap_GridCellAttr_SetEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4184     PyObject 
*resultobj
; 
4185     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4186     wxGridCellEditor 
*arg2 
= (wxGridCellEditor 
*) 0 ; 
4187     PyObject 
* obj0 
= 0 ; 
4188     PyObject 
* obj1 
= 0 ; 
4190         (char *) "self",(char *) "editor", NULL 
 
4193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
; 
4194     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4195     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4196     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
, 
4197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4200         (arg1
)->SetEditor(arg2
); 
4202         wxPyEndAllowThreads(__tstate
); 
4203         if (PyErr_Occurred()) SWIG_fail
; 
4205     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4212 static PyObject 
*_wrap_GridCellAttr_SetKind(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4213     PyObject 
*resultobj
; 
4214     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4216     PyObject 
* obj0 
= 0 ; 
4217     PyObject 
* obj1 
= 0 ; 
4219         (char *) "self",(char *) "kind", NULL 
 
4222     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
; 
4223     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4224     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4225     arg2 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj1
);  
4226     if (PyErr_Occurred()) SWIG_fail
; 
4228         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4229         (arg1
)->SetKind((wxGridCellAttr::wxAttrKind 
)arg2
); 
4231         wxPyEndAllowThreads(__tstate
); 
4232         if (PyErr_Occurred()) SWIG_fail
; 
4234     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4241 static PyObject 
*_wrap_GridCellAttr_HasTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4242     PyObject 
*resultobj
; 
4243     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4245     PyObject 
* obj0 
= 0 ; 
4247         (char *) "self", NULL 
 
4250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
; 
4251     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4252     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4254         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4255         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasTextColour(); 
4257         wxPyEndAllowThreads(__tstate
); 
4258         if (PyErr_Occurred()) SWIG_fail
; 
4261         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4269 static PyObject 
*_wrap_GridCellAttr_HasBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4270     PyObject 
*resultobj
; 
4271     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4273     PyObject 
* obj0 
= 0 ; 
4275         (char *) "self", NULL 
 
4278     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
; 
4279     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4280     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4283         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasBackgroundColour(); 
4285         wxPyEndAllowThreads(__tstate
); 
4286         if (PyErr_Occurred()) SWIG_fail
; 
4289         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4297 static PyObject 
*_wrap_GridCellAttr_HasFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4298     PyObject 
*resultobj
; 
4299     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4301     PyObject 
* obj0 
= 0 ; 
4303         (char *) "self", NULL 
 
4306     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
; 
4307     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4308     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4311         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasFont(); 
4313         wxPyEndAllowThreads(__tstate
); 
4314         if (PyErr_Occurred()) SWIG_fail
; 
4317         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4325 static PyObject 
*_wrap_GridCellAttr_HasAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4326     PyObject 
*resultobj
; 
4327     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4329     PyObject 
* obj0 
= 0 ; 
4331         (char *) "self", NULL 
 
4334     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
; 
4335     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4336     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4339         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasAlignment(); 
4341         wxPyEndAllowThreads(__tstate
); 
4342         if (PyErr_Occurred()) SWIG_fail
; 
4345         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4353 static PyObject 
*_wrap_GridCellAttr_HasRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4354     PyObject 
*resultobj
; 
4355     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4357     PyObject 
* obj0 
= 0 ; 
4359         (char *) "self", NULL 
 
4362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
; 
4363     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4364     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4367         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasRenderer(); 
4369         wxPyEndAllowThreads(__tstate
); 
4370         if (PyErr_Occurred()) SWIG_fail
; 
4373         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4381 static PyObject 
*_wrap_GridCellAttr_HasEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4382     PyObject 
*resultobj
; 
4383     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4385     PyObject 
* obj0 
= 0 ; 
4387         (char *) "self", NULL 
 
4390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
; 
4391     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4392     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4394         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4395         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasEditor(); 
4397         wxPyEndAllowThreads(__tstate
); 
4398         if (PyErr_Occurred()) SWIG_fail
; 
4401         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4409 static PyObject 
*_wrap_GridCellAttr_HasReadWriteMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4410     PyObject 
*resultobj
; 
4411     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4413     PyObject 
* obj0 
= 0 ; 
4415         (char *) "self", NULL 
 
4418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
; 
4419     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4420     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4422         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4423         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasReadWriteMode(); 
4425         wxPyEndAllowThreads(__tstate
); 
4426         if (PyErr_Occurred()) SWIG_fail
; 
4429         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4437 static PyObject 
*_wrap_GridCellAttr_HasOverflowMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4438     PyObject 
*resultobj
; 
4439     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4441     PyObject 
* obj0 
= 0 ; 
4443         (char *) "self", NULL 
 
4446     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
; 
4447     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4448     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4450         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4451         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasOverflowMode(); 
4453         wxPyEndAllowThreads(__tstate
); 
4454         if (PyErr_Occurred()) SWIG_fail
; 
4457         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4465 static PyObject 
*_wrap_GridCellAttr_GetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4466     PyObject 
*resultobj
; 
4467     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4469     PyObject 
* obj0 
= 0 ; 
4471         (char *) "self", NULL 
 
4474     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
; 
4475     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4476     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4479         result 
= ((wxGridCellAttr 
const *)arg1
)->GetTextColour(); 
4481         wxPyEndAllowThreads(__tstate
); 
4482         if (PyErr_Occurred()) SWIG_fail
; 
4485         wxColour 
* resultptr
; 
4486         resultptr 
= new wxColour((wxColour 
&) result
); 
4487         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
4495 static PyObject 
*_wrap_GridCellAttr_GetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4496     PyObject 
*resultobj
; 
4497     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4499     PyObject 
* obj0 
= 0 ; 
4501         (char *) "self", NULL 
 
4504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
4505     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4506     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4509         result 
= ((wxGridCellAttr 
const *)arg1
)->GetBackgroundColour(); 
4511         wxPyEndAllowThreads(__tstate
); 
4512         if (PyErr_Occurred()) SWIG_fail
; 
4515         wxColour 
* resultptr
; 
4516         resultptr 
= new wxColour((wxColour 
&) result
); 
4517         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
4525 static PyObject 
*_wrap_GridCellAttr_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4526     PyObject 
*resultobj
; 
4527     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4529     PyObject 
* obj0 
= 0 ; 
4531         (char *) "self", NULL 
 
4534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
; 
4535     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4536     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4539         result 
= ((wxGridCellAttr 
const *)arg1
)->GetFont(); 
4541         wxPyEndAllowThreads(__tstate
); 
4542         if (PyErr_Occurred()) SWIG_fail
; 
4546         resultptr 
= new wxFont((wxFont 
&) result
); 
4547         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
4555 static PyObject 
*_wrap_GridCellAttr_GetAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4556     PyObject 
*resultobj
; 
4557     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4558     int *arg2 
= (int *) 0 ; 
4559     int *arg3 
= (int *) 0 ; 
4562     PyObject 
* obj0 
= 0 ; 
4564         (char *) "self", NULL 
 
4569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
; 
4570     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4571     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4573         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4574         ((wxGridCellAttr 
const *)arg1
)->GetAlignment(arg2
,arg3
); 
4576         wxPyEndAllowThreads(__tstate
); 
4577         if (PyErr_Occurred()) SWIG_fail
; 
4579     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4581         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4582         resultobj 
= t_output_helper(resultobj
,o
); 
4585         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4586         resultobj 
= t_output_helper(resultobj
,o
); 
4594 static PyObject 
*_wrap_GridCellAttr_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4595     PyObject 
*resultobj
; 
4596     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4597     int *arg2 
= (int *) 0 ; 
4598     int *arg3 
= (int *) 0 ; 
4601     PyObject 
* obj0 
= 0 ; 
4603         (char *) "self", NULL 
 
4608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
; 
4609     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4610     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4613         ((wxGridCellAttr 
const *)arg1
)->GetSize(arg2
,arg3
); 
4615         wxPyEndAllowThreads(__tstate
); 
4616         if (PyErr_Occurred()) SWIG_fail
; 
4618     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4620         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4621         resultobj 
= t_output_helper(resultobj
,o
); 
4624         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4625         resultobj 
= t_output_helper(resultobj
,o
); 
4633 static PyObject 
*_wrap_GridCellAttr_GetOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4634     PyObject 
*resultobj
; 
4635     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4637     PyObject 
* obj0 
= 0 ; 
4639         (char *) "self", NULL 
 
4642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
; 
4643     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4644     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4647         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->GetOverflow(); 
4649         wxPyEndAllowThreads(__tstate
); 
4650         if (PyErr_Occurred()) SWIG_fail
; 
4653         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4661 static PyObject 
*_wrap_GridCellAttr_GetRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4662     PyObject 
*resultobj
; 
4663     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4664     wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
4667     wxGridCellRenderer 
*result
; 
4668     PyObject 
* obj0 
= 0 ; 
4669     PyObject 
* obj1 
= 0 ; 
4670     PyObject 
* obj2 
= 0 ; 
4671     PyObject 
* obj3 
= 0 ; 
4673         (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL 
 
4676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4677     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4679     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
4680     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4681     arg3 
= (int) SWIG_AsInt(obj2
);  
4682     if (PyErr_Occurred()) SWIG_fail
; 
4683     arg4 
= (int) SWIG_AsInt(obj3
);  
4684     if (PyErr_Occurred()) SWIG_fail
; 
4686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4687         result 
= (wxGridCellRenderer 
*)((wxGridCellAttr 
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
); 
4689         wxPyEndAllowThreads(__tstate
); 
4690         if (PyErr_Occurred()) SWIG_fail
; 
4693         resultobj 
= wxPyMake_wxGridCellRenderer(result
);  
4701 static PyObject 
*_wrap_GridCellAttr_GetEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4702     PyObject 
*resultobj
; 
4703     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4704     wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
4707     wxGridCellEditor 
*result
; 
4708     PyObject 
* obj0 
= 0 ; 
4709     PyObject 
* obj1 
= 0 ; 
4710     PyObject 
* obj2 
= 0 ; 
4711     PyObject 
* obj3 
= 0 ; 
4713         (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL 
 
4716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4717     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4718     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4719     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
4720     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4721     arg3 
= (int) SWIG_AsInt(obj2
);  
4722     if (PyErr_Occurred()) SWIG_fail
; 
4723     arg4 
= (int) SWIG_AsInt(obj3
);  
4724     if (PyErr_Occurred()) SWIG_fail
; 
4726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4727         result 
= (wxGridCellEditor 
*)((wxGridCellAttr 
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
); 
4729         wxPyEndAllowThreads(__tstate
); 
4730         if (PyErr_Occurred()) SWIG_fail
; 
4733         resultobj 
= wxPyMake_wxGridCellEditor(result
);  
4741 static PyObject 
*_wrap_GridCellAttr_IsReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4742     PyObject 
*resultobj
; 
4743     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4745     PyObject 
* obj0 
= 0 ; 
4747         (char *) "self", NULL 
 
4750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
; 
4751     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4752     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4755         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->IsReadOnly(); 
4757         wxPyEndAllowThreads(__tstate
); 
4758         if (PyErr_Occurred()) SWIG_fail
; 
4761         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4769 static PyObject 
*_wrap_GridCellAttr_SetDefAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4770     PyObject 
*resultobj
; 
4771     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4772     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
4773     PyObject 
* obj0 
= 0 ; 
4774     PyObject 
* obj1 
= 0 ; 
4776         (char *) "self",(char *) "defAttr", NULL 
 
4779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
; 
4780     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4781     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4782     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
4783     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4785         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4786         (arg1
)->SetDefAttr(arg2
); 
4788         wxPyEndAllowThreads(__tstate
); 
4789         if (PyErr_Occurred()) SWIG_fail
; 
4791     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4798 static PyObject 
* GridCellAttr_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4800     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4801     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
); 
4803     return Py_BuildValue((char *)""); 
4805 static PyObject 
*_wrap_new_GridCellAttrProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4806     PyObject 
*resultobj
; 
4807     wxGridCellAttrProvider 
*result
; 
4812     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
; 
4814         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4815         result 
= (wxGridCellAttrProvider 
*)new wxGridCellAttrProvider(); 
4817         wxPyEndAllowThreads(__tstate
); 
4818         if (PyErr_Occurred()) SWIG_fail
; 
4821         resultobj 
= wxPyMake_wxGridCellAttrProvider(result
);  
4829 static PyObject 
*_wrap_GridCellAttrProvider__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4830     PyObject 
*resultobj
; 
4831     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
4832     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
4833     PyObject 
* obj0 
= 0 ; 
4834     PyObject 
* obj1 
= 0 ; 
4836         (char *) "self",(char *) "_self", NULL 
 
4839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
4840     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
4841     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4845         wxGridCellAttrProvider__setOORInfo(arg1
,arg2
); 
4847         wxPyEndAllowThreads(__tstate
); 
4848         if (PyErr_Occurred()) SWIG_fail
; 
4850     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4857 static PyObject 
*_wrap_GridCellAttrProvider_GetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4858     PyObject 
*resultobj
; 
4859     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
4863     wxGridCellAttr 
*result
; 
4864     PyObject 
* obj0 
= 0 ; 
4865     PyObject 
* obj1 
= 0 ; 
4866     PyObject 
* obj2 
= 0 ; 
4867     PyObject 
* obj3 
= 0 ; 
4869         (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
4872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4873     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
4874     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4875     arg2 
= (int) SWIG_AsInt(obj1
);  
4876     if (PyErr_Occurred()) SWIG_fail
; 
4877     arg3 
= (int) SWIG_AsInt(obj2
);  
4878     if (PyErr_Occurred()) SWIG_fail
; 
4879     arg4 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);  
4880     if (PyErr_Occurred()) SWIG_fail
; 
4882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4883         result 
= (wxGridCellAttr 
*)((wxGridCellAttrProvider 
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind 
)arg4
); 
4885         wxPyEndAllowThreads(__tstate
); 
4886         if (PyErr_Occurred()) SWIG_fail
; 
4889         resultobj 
= wxPyMake_wxGridCellAttr(result
);  
4897 static PyObject 
*_wrap_GridCellAttrProvider_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4898     PyObject 
*resultobj
; 
4899     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
4900     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
4903     PyObject 
* obj0 
= 0 ; 
4904     PyObject 
* obj1 
= 0 ; 
4905     PyObject 
* obj2 
= 0 ; 
4906     PyObject 
* obj3 
= 0 ; 
4908         (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
4911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4912     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
4913     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4914     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
4915     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4916     arg3 
= (int) SWIG_AsInt(obj2
);  
4917     if (PyErr_Occurred()) SWIG_fail
; 
4918     arg4 
= (int) SWIG_AsInt(obj3
);  
4919     if (PyErr_Occurred()) SWIG_fail
; 
4921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4922         (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
4924         wxPyEndAllowThreads(__tstate
); 
4925         if (PyErr_Occurred()) SWIG_fail
; 
4927     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4934 static PyObject 
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4935     PyObject 
*resultobj
; 
4936     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
4937     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
4939     PyObject 
* obj0 
= 0 ; 
4940     PyObject 
* obj1 
= 0 ; 
4941     PyObject 
* obj2 
= 0 ; 
4943         (char *) "self",(char *) "attr",(char *) "row", NULL 
 
4946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4947     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
4948     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4949     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
4950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4951     arg3 
= (int) SWIG_AsInt(obj2
);  
4952     if (PyErr_Occurred()) SWIG_fail
; 
4954         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4955         (arg1
)->SetRowAttr(arg2
,arg3
); 
4957         wxPyEndAllowThreads(__tstate
); 
4958         if (PyErr_Occurred()) SWIG_fail
; 
4960     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4967 static PyObject 
*_wrap_GridCellAttrProvider_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4968     PyObject 
*resultobj
; 
4969     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
4970     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
4972     PyObject 
* obj0 
= 0 ; 
4973     PyObject 
* obj1 
= 0 ; 
4974     PyObject 
* obj2 
= 0 ; 
4976         (char *) "self",(char *) "attr",(char *) "col", NULL 
 
4979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4980     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
4981     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4982     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
4983     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4984     arg3 
= (int) SWIG_AsInt(obj2
);  
4985     if (PyErr_Occurred()) SWIG_fail
; 
4987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4988         (arg1
)->SetColAttr(arg2
,arg3
); 
4990         wxPyEndAllowThreads(__tstate
); 
4991         if (PyErr_Occurred()) SWIG_fail
; 
4993     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5000 static PyObject 
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5001     PyObject 
*resultobj
; 
5002     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
5005     PyObject 
* obj0 
= 0 ; 
5006     PyObject 
* obj1 
= 0 ; 
5007     PyObject 
* obj2 
= 0 ; 
5009         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
5012     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5013     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
5014     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5015     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
5016     if (PyErr_Occurred()) SWIG_fail
; 
5017     arg3 
= (int) SWIG_AsInt(obj2
);  
5018     if (PyErr_Occurred()) SWIG_fail
; 
5020         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5021         (arg1
)->UpdateAttrRows(arg2
,arg3
); 
5023         wxPyEndAllowThreads(__tstate
); 
5024         if (PyErr_Occurred()) SWIG_fail
; 
5026     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5033 static PyObject 
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5034     PyObject 
*resultobj
; 
5035     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
5038     PyObject 
* obj0 
= 0 ; 
5039     PyObject 
* obj1 
= 0 ; 
5040     PyObject 
* obj2 
= 0 ; 
5042         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
5045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5046     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
5047     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5048     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
5049     if (PyErr_Occurred()) SWIG_fail
; 
5050     arg3 
= (int) SWIG_AsInt(obj2
);  
5051     if (PyErr_Occurred()) SWIG_fail
; 
5053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5054         (arg1
)->UpdateAttrCols(arg2
,arg3
); 
5056         wxPyEndAllowThreads(__tstate
); 
5057         if (PyErr_Occurred()) SWIG_fail
; 
5059     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5066 static PyObject 
* GridCellAttrProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5068     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5069     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
); 
5071     return Py_BuildValue((char *)""); 
5073 static PyObject 
*_wrap_new_PyGridCellAttrProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5074     PyObject 
*resultobj
; 
5075     wxPyGridCellAttrProvider 
*result
; 
5080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
; 
5082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5083         result 
= (wxPyGridCellAttrProvider 
*)new wxPyGridCellAttrProvider(); 
5085         wxPyEndAllowThreads(__tstate
); 
5086         if (PyErr_Occurred()) SWIG_fail
; 
5088     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1); 
5095 static PyObject 
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5096     PyObject 
*resultobj
; 
5097     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5098     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5099     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
5100     PyObject 
* obj0 
= 0 ; 
5101     PyObject 
* obj1 
= 0 ; 
5102     PyObject 
* obj2 
= 0 ; 
5104         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
5107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5108     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5109     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5114         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
5116         wxPyEndAllowThreads(__tstate
); 
5117         if (PyErr_Occurred()) SWIG_fail
; 
5119     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5126 static PyObject 
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5127     PyObject 
*resultobj
; 
5128     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5132     wxGridCellAttr 
*result
; 
5133     PyObject 
* obj0 
= 0 ; 
5134     PyObject 
* obj1 
= 0 ; 
5135     PyObject 
* obj2 
= 0 ; 
5136     PyObject 
* obj3 
= 0 ; 
5138         (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
5141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5144     arg2 
= (int) SWIG_AsInt(obj1
);  
5145     if (PyErr_Occurred()) SWIG_fail
; 
5146     arg3 
= (int) SWIG_AsInt(obj2
);  
5147     if (PyErr_Occurred()) SWIG_fail
; 
5148     arg4 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);  
5149     if (PyErr_Occurred()) SWIG_fail
; 
5151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5152         result 
= (wxGridCellAttr 
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind 
)arg4
); 
5154         wxPyEndAllowThreads(__tstate
); 
5155         if (PyErr_Occurred()) SWIG_fail
; 
5158         resultobj 
= wxPyMake_wxGridCellAttr(result
);  
5166 static PyObject 
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5167     PyObject 
*resultobj
; 
5168     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5169     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
5172     PyObject 
* obj0 
= 0 ; 
5173     PyObject 
* obj1 
= 0 ; 
5174     PyObject 
* obj2 
= 0 ; 
5175     PyObject 
* obj3 
= 0 ; 
5177         (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
5180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5181     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5182     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5183     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
5184     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5185     arg3 
= (int) SWIG_AsInt(obj2
);  
5186     if (PyErr_Occurred()) SWIG_fail
; 
5187     arg4 
= (int) SWIG_AsInt(obj3
);  
5188     if (PyErr_Occurred()) SWIG_fail
; 
5190         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5191         (arg1
)->base_SetAttr(arg2
,arg3
,arg4
); 
5193         wxPyEndAllowThreads(__tstate
); 
5194         if (PyErr_Occurred()) SWIG_fail
; 
5196     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5203 static PyObject 
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5204     PyObject 
*resultobj
; 
5205     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5206     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
5208     PyObject 
* obj0 
= 0 ; 
5209     PyObject 
* obj1 
= 0 ; 
5210     PyObject 
* obj2 
= 0 ; 
5212         (char *) "self",(char *) "attr",(char *) "row", NULL 
 
5215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5218     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
5219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5220     arg3 
= (int) SWIG_AsInt(obj2
);  
5221     if (PyErr_Occurred()) SWIG_fail
; 
5223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5224         (arg1
)->base_SetRowAttr(arg2
,arg3
); 
5226         wxPyEndAllowThreads(__tstate
); 
5227         if (PyErr_Occurred()) SWIG_fail
; 
5229     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5236 static PyObject 
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5237     PyObject 
*resultobj
; 
5238     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5239     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
5241     PyObject 
* obj0 
= 0 ; 
5242     PyObject 
* obj1 
= 0 ; 
5243     PyObject 
* obj2 
= 0 ; 
5245         (char *) "self",(char *) "attr",(char *) "col", NULL 
 
5248     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5249     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5250     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5251     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
5252     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5253     arg3 
= (int) SWIG_AsInt(obj2
);  
5254     if (PyErr_Occurred()) SWIG_fail
; 
5256         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5257         (arg1
)->base_SetColAttr(arg2
,arg3
); 
5259         wxPyEndAllowThreads(__tstate
); 
5260         if (PyErr_Occurred()) SWIG_fail
; 
5262     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5269 static PyObject 
* PyGridCellAttrProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5271     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5272     SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
); 
5274     return Py_BuildValue((char *)""); 
5276 static PyObject 
*_wrap_GridTableBase__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5277     PyObject 
*resultobj
; 
5278     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5279     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5280     PyObject 
* obj0 
= 0 ; 
5281     PyObject 
* obj1 
= 0 ; 
5283         (char *) "self",(char *) "_self", NULL 
 
5286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
5287     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5288     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5292         wxGridTableBase__setOORInfo(arg1
,arg2
); 
5294         wxPyEndAllowThreads(__tstate
); 
5295         if (PyErr_Occurred()) SWIG_fail
; 
5297     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5304 static PyObject 
*_wrap_GridTableBase_SetAttrProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5305     PyObject 
*resultobj
; 
5306     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5307     wxGridCellAttrProvider 
*arg2 
= (wxGridCellAttrProvider 
*) 0 ; 
5308     PyObject 
* obj0 
= 0 ; 
5309     PyObject 
* obj1 
= 0 ; 
5311         (char *) "self",(char *) "attrProvider", NULL 
 
5314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
; 
5315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5317     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
, 
5318     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5321         (arg1
)->SetAttrProvider(arg2
); 
5323         wxPyEndAllowThreads(__tstate
); 
5324         if (PyErr_Occurred()) SWIG_fail
; 
5326     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5333 static PyObject 
*_wrap_GridTableBase_GetAttrProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5334     PyObject 
*resultobj
; 
5335     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5336     wxGridCellAttrProvider 
*result
; 
5337     PyObject 
* obj0 
= 0 ; 
5339         (char *) "self", NULL 
 
5342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
; 
5343     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5344     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5347         result 
= (wxGridCellAttrProvider 
*)((wxGridTableBase 
const *)arg1
)->GetAttrProvider(); 
5349         wxPyEndAllowThreads(__tstate
); 
5350         if (PyErr_Occurred()) SWIG_fail
; 
5353         resultobj 
= wxPyMake_wxGridCellAttrProvider(result
);  
5361 static PyObject 
*_wrap_GridTableBase_SetView(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5362     PyObject 
*resultobj
; 
5363     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5364     wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
5365     PyObject 
* obj0 
= 0 ; 
5366     PyObject 
* obj1 
= 0 ; 
5368         (char *) "self",(char *) "grid", NULL 
 
5371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
; 
5372     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5373     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5374     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
5375     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5378         (arg1
)->SetView(arg2
); 
5380         wxPyEndAllowThreads(__tstate
); 
5381         if (PyErr_Occurred()) SWIG_fail
; 
5383     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5390 static PyObject 
*_wrap_GridTableBase_GetView(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5391     PyObject 
*resultobj
; 
5392     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5394     PyObject 
* obj0 
= 0 ; 
5396         (char *) "self", NULL 
 
5399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
; 
5400     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5401     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5404         result 
= (wxGrid 
*)((wxGridTableBase 
const *)arg1
)->GetView(); 
5406         wxPyEndAllowThreads(__tstate
); 
5407         if (PyErr_Occurred()) SWIG_fail
; 
5410         resultobj 
= wxPyMake_wxObject(result
);  
5418 static PyObject 
*_wrap_GridTableBase_GetNumberRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5419     PyObject 
*resultobj
; 
5420     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5422     PyObject 
* obj0 
= 0 ; 
5424         (char *) "self", NULL 
 
5427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
; 
5428     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5429     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5432         result 
= (int)(arg1
)->GetNumberRows(); 
5434         wxPyEndAllowThreads(__tstate
); 
5435         if (PyErr_Occurred()) SWIG_fail
; 
5437     resultobj 
= SWIG_FromInt((int)result
); 
5444 static PyObject 
*_wrap_GridTableBase_GetNumberCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5445     PyObject 
*resultobj
; 
5446     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5448     PyObject 
* obj0 
= 0 ; 
5450         (char *) "self", NULL 
 
5453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
; 
5454     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5457         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5458         result 
= (int)(arg1
)->GetNumberCols(); 
5460         wxPyEndAllowThreads(__tstate
); 
5461         if (PyErr_Occurred()) SWIG_fail
; 
5463     resultobj 
= SWIG_FromInt((int)result
); 
5470 static PyObject 
*_wrap_GridTableBase_IsEmptyCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5471     PyObject 
*resultobj
; 
5472     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5476     PyObject 
* obj0 
= 0 ; 
5477     PyObject 
* obj1 
= 0 ; 
5478     PyObject 
* obj2 
= 0 ; 
5480         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5484     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5485     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5486     arg2 
= (int) SWIG_AsInt(obj1
);  
5487     if (PyErr_Occurred()) SWIG_fail
; 
5488     arg3 
= (int) SWIG_AsInt(obj2
);  
5489     if (PyErr_Occurred()) SWIG_fail
; 
5491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5492         result 
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
); 
5494         wxPyEndAllowThreads(__tstate
); 
5495         if (PyErr_Occurred()) SWIG_fail
; 
5498         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5506 static PyObject 
*_wrap_GridTableBase_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5507     PyObject 
*resultobj
; 
5508     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5512     PyObject 
* obj0 
= 0 ; 
5513     PyObject 
* obj1 
= 0 ; 
5514     PyObject 
* obj2 
= 0 ; 
5516         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5520     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5521     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5522     arg2 
= (int) SWIG_AsInt(obj1
);  
5523     if (PyErr_Occurred()) SWIG_fail
; 
5524     arg3 
= (int) SWIG_AsInt(obj2
);  
5525     if (PyErr_Occurred()) SWIG_fail
; 
5527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5528         result 
= (arg1
)->GetValue(arg2
,arg3
); 
5530         wxPyEndAllowThreads(__tstate
); 
5531         if (PyErr_Occurred()) SWIG_fail
; 
5535         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5537         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5546 static PyObject 
*_wrap_GridTableBase_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5547     PyObject 
*resultobj
; 
5548     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5551     wxString 
*arg4 
= 0 ; 
5552     bool temp4 
= False 
; 
5553     PyObject 
* obj0 
= 0 ; 
5554     PyObject 
* obj1 
= 0 ; 
5555     PyObject 
* obj2 
= 0 ; 
5556     PyObject 
* obj3 
= 0 ; 
5558         (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
5561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5562     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5563     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5564     arg2 
= (int) SWIG_AsInt(obj1
);  
5565     if (PyErr_Occurred()) SWIG_fail
; 
5566     arg3 
= (int) SWIG_AsInt(obj2
);  
5567     if (PyErr_Occurred()) SWIG_fail
; 
5569         arg4 
= wxString_in_helper(obj3
); 
5570         if (arg4 
== NULL
) SWIG_fail
; 
5574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5575         (arg1
)->SetValue(arg2
,arg3
,(wxString 
const &)*arg4
); 
5577         wxPyEndAllowThreads(__tstate
); 
5578         if (PyErr_Occurred()) SWIG_fail
; 
5580     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5595 static PyObject 
*_wrap_GridTableBase_GetTypeName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5596     PyObject 
*resultobj
; 
5597     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5601     PyObject 
* obj0 
= 0 ; 
5602     PyObject 
* obj1 
= 0 ; 
5603     PyObject 
* obj2 
= 0 ; 
5605         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5609     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5610     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5611     arg2 
= (int) SWIG_AsInt(obj1
);  
5612     if (PyErr_Occurred()) SWIG_fail
; 
5613     arg3 
= (int) SWIG_AsInt(obj2
);  
5614     if (PyErr_Occurred()) SWIG_fail
; 
5616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5617         result 
= (arg1
)->GetTypeName(arg2
,arg3
); 
5619         wxPyEndAllowThreads(__tstate
); 
5620         if (PyErr_Occurred()) SWIG_fail
; 
5624         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5626         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5635 static PyObject 
*_wrap_GridTableBase_CanGetValueAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5636     PyObject 
*resultobj
; 
5637     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5640     wxString 
*arg4 
= 0 ; 
5642     bool temp4 
= False 
; 
5643     PyObject 
* obj0 
= 0 ; 
5644     PyObject 
* obj1 
= 0 ; 
5645     PyObject 
* obj2 
= 0 ; 
5646     PyObject 
* obj3 
= 0 ; 
5648         (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
5651     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5652     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5653     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5654     arg2 
= (int) SWIG_AsInt(obj1
);  
5655     if (PyErr_Occurred()) SWIG_fail
; 
5656     arg3 
= (int) SWIG_AsInt(obj2
);  
5657     if (PyErr_Occurred()) SWIG_fail
; 
5659         arg4 
= wxString_in_helper(obj3
); 
5660         if (arg4 
== NULL
) SWIG_fail
; 
5664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5665         result 
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
5667         wxPyEndAllowThreads(__tstate
); 
5668         if (PyErr_Occurred()) SWIG_fail
; 
5671         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5687 static PyObject 
*_wrap_GridTableBase_CanSetValueAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5688     PyObject 
*resultobj
; 
5689     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5692     wxString 
*arg4 
= 0 ; 
5694     bool temp4 
= False 
; 
5695     PyObject 
* obj0 
= 0 ; 
5696     PyObject 
* obj1 
= 0 ; 
5697     PyObject 
* obj2 
= 0 ; 
5698     PyObject 
* obj3 
= 0 ; 
5700         (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
5703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5706     arg2 
= (int) SWIG_AsInt(obj1
);  
5707     if (PyErr_Occurred()) SWIG_fail
; 
5708     arg3 
= (int) SWIG_AsInt(obj2
);  
5709     if (PyErr_Occurred()) SWIG_fail
; 
5711         arg4 
= wxString_in_helper(obj3
); 
5712         if (arg4 
== NULL
) SWIG_fail
; 
5716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5717         result 
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
5719         wxPyEndAllowThreads(__tstate
); 
5720         if (PyErr_Occurred()) SWIG_fail
; 
5723         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5739 static PyObject 
*_wrap_GridTableBase_GetValueAsLong(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5740     PyObject 
*resultobj
; 
5741     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5745     PyObject 
* obj0 
= 0 ; 
5746     PyObject 
* obj1 
= 0 ; 
5747     PyObject 
* obj2 
= 0 ; 
5749         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5753     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5754     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5755     arg2 
= (int) SWIG_AsInt(obj1
);  
5756     if (PyErr_Occurred()) SWIG_fail
; 
5757     arg3 
= (int) SWIG_AsInt(obj2
);  
5758     if (PyErr_Occurred()) SWIG_fail
; 
5760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5761         result 
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
); 
5763         wxPyEndAllowThreads(__tstate
); 
5764         if (PyErr_Occurred()) SWIG_fail
; 
5766     resultobj 
= SWIG_FromLong((long)result
); 
5773 static PyObject 
*_wrap_GridTableBase_GetValueAsDouble(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5774     PyObject 
*resultobj
; 
5775     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5779     PyObject 
* obj0 
= 0 ; 
5780     PyObject 
* obj1 
= 0 ; 
5781     PyObject 
* obj2 
= 0 ; 
5783         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5789     arg2 
= (int) SWIG_AsInt(obj1
);  
5790     if (PyErr_Occurred()) SWIG_fail
; 
5791     arg3 
= (int) SWIG_AsInt(obj2
);  
5792     if (PyErr_Occurred()) SWIG_fail
; 
5794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5795         result 
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
); 
5797         wxPyEndAllowThreads(__tstate
); 
5798         if (PyErr_Occurred()) SWIG_fail
; 
5800     resultobj 
= SWIG_FromDouble((double)result
); 
5807 static PyObject 
*_wrap_GridTableBase_GetValueAsBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5808     PyObject 
*resultobj
; 
5809     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5813     PyObject 
* obj0 
= 0 ; 
5814     PyObject 
* obj1 
= 0 ; 
5815     PyObject 
* obj2 
= 0 ; 
5817         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5821     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5822     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5823     arg2 
= (int) SWIG_AsInt(obj1
);  
5824     if (PyErr_Occurred()) SWIG_fail
; 
5825     arg3 
= (int) SWIG_AsInt(obj2
);  
5826     if (PyErr_Occurred()) SWIG_fail
; 
5828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5829         result 
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
); 
5831         wxPyEndAllowThreads(__tstate
); 
5832         if (PyErr_Occurred()) SWIG_fail
; 
5835         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5843 static PyObject 
*_wrap_GridTableBase_SetValueAsLong(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5844     PyObject 
*resultobj
; 
5845     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5849     PyObject 
* obj0 
= 0 ; 
5850     PyObject 
* obj1 
= 0 ; 
5851     PyObject 
* obj2 
= 0 ; 
5852     PyObject 
* obj3 
= 0 ; 
5854         (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
5857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5858     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5859     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5860     arg2 
= (int) SWIG_AsInt(obj1
);  
5861     if (PyErr_Occurred()) SWIG_fail
; 
5862     arg3 
= (int) SWIG_AsInt(obj2
);  
5863     if (PyErr_Occurred()) SWIG_fail
; 
5864     arg4 
= (long) SWIG_AsLong(obj3
);  
5865     if (PyErr_Occurred()) SWIG_fail
; 
5867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5868         (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
); 
5870         wxPyEndAllowThreads(__tstate
); 
5871         if (PyErr_Occurred()) SWIG_fail
; 
5873     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5880 static PyObject 
*_wrap_GridTableBase_SetValueAsDouble(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5881     PyObject 
*resultobj
; 
5882     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5886     PyObject 
* obj0 
= 0 ; 
5887     PyObject 
* obj1 
= 0 ; 
5888     PyObject 
* obj2 
= 0 ; 
5889     PyObject 
* obj3 
= 0 ; 
5891         (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
5894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5895     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5896     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5897     arg2 
= (int) SWIG_AsInt(obj1
);  
5898     if (PyErr_Occurred()) SWIG_fail
; 
5899     arg3 
= (int) SWIG_AsInt(obj2
);  
5900     if (PyErr_Occurred()) SWIG_fail
; 
5901     arg4 
= (double) SWIG_AsDouble(obj3
);  
5902     if (PyErr_Occurred()) SWIG_fail
; 
5904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5905         (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
); 
5907         wxPyEndAllowThreads(__tstate
); 
5908         if (PyErr_Occurred()) SWIG_fail
; 
5910     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5917 static PyObject 
*_wrap_GridTableBase_SetValueAsBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5918     PyObject 
*resultobj
; 
5919     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5923     PyObject 
* obj0 
= 0 ; 
5924     PyObject 
* obj1 
= 0 ; 
5925     PyObject 
* obj2 
= 0 ; 
5926     PyObject 
* obj3 
= 0 ; 
5928         (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
5931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5932     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5933     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5934     arg2 
= (int) SWIG_AsInt(obj1
);  
5935     if (PyErr_Occurred()) SWIG_fail
; 
5936     arg3 
= (int) SWIG_AsInt(obj2
);  
5937     if (PyErr_Occurred()) SWIG_fail
; 
5938     arg4 
= (bool) SWIG_AsBool(obj3
);  
5939     if (PyErr_Occurred()) SWIG_fail
; 
5941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5942         (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
); 
5944         wxPyEndAllowThreads(__tstate
); 
5945         if (PyErr_Occurred()) SWIG_fail
; 
5947     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5954 static PyObject 
*_wrap_GridTableBase_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5955     PyObject 
*resultobj
; 
5956     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5957     PyObject 
* obj0 
= 0 ; 
5959         (char *) "self", NULL 
 
5962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
; 
5963     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5964     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5969         wxPyEndAllowThreads(__tstate
); 
5970         if (PyErr_Occurred()) SWIG_fail
; 
5972     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5979 static PyObject 
*_wrap_GridTableBase_InsertRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5980     PyObject 
*resultobj
; 
5981     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5982     size_t arg2 
= (size_t) 0 ; 
5983     size_t arg3 
= (size_t) 1 ; 
5985     PyObject 
* obj0 
= 0 ; 
5986     PyObject 
* obj1 
= 0 ; 
5987     PyObject 
* obj2 
= 0 ; 
5989         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
5992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5993     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5994     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5996         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
5997         if (PyErr_Occurred()) SWIG_fail
; 
6000         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6001         if (PyErr_Occurred()) SWIG_fail
; 
6004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6005         result 
= (bool)(arg1
)->InsertRows(arg2
,arg3
); 
6007         wxPyEndAllowThreads(__tstate
); 
6008         if (PyErr_Occurred()) SWIG_fail
; 
6011         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6019 static PyObject 
*_wrap_GridTableBase_AppendRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6020     PyObject 
*resultobj
; 
6021     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6022     size_t arg2 
= (size_t) 1 ; 
6024     PyObject 
* obj0 
= 0 ; 
6025     PyObject 
* obj1 
= 0 ; 
6027         (char *) "self",(char *) "numRows", NULL 
 
6030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
6031     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6032     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6034         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6035         if (PyErr_Occurred()) SWIG_fail
; 
6038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6039         result 
= (bool)(arg1
)->AppendRows(arg2
); 
6041         wxPyEndAllowThreads(__tstate
); 
6042         if (PyErr_Occurred()) SWIG_fail
; 
6045         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6053 static PyObject 
*_wrap_GridTableBase_DeleteRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6054     PyObject 
*resultobj
; 
6055     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6056     size_t arg2 
= (size_t) 0 ; 
6057     size_t arg3 
= (size_t) 1 ; 
6059     PyObject 
* obj0 
= 0 ; 
6060     PyObject 
* obj1 
= 0 ; 
6061     PyObject 
* obj2 
= 0 ; 
6063         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
6066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6067     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6068     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6070         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6071         if (PyErr_Occurred()) SWIG_fail
; 
6074         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6075         if (PyErr_Occurred()) SWIG_fail
; 
6078         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6079         result 
= (bool)(arg1
)->DeleteRows(arg2
,arg3
); 
6081         wxPyEndAllowThreads(__tstate
); 
6082         if (PyErr_Occurred()) SWIG_fail
; 
6085         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6093 static PyObject 
*_wrap_GridTableBase_InsertCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6094     PyObject 
*resultobj
; 
6095     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6096     size_t arg2 
= (size_t) 0 ; 
6097     size_t arg3 
= (size_t) 1 ; 
6099     PyObject 
* obj0 
= 0 ; 
6100     PyObject 
* obj1 
= 0 ; 
6101     PyObject 
* obj2 
= 0 ; 
6103         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
6106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6107     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6108     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6110         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6111         if (PyErr_Occurred()) SWIG_fail
; 
6114         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6115         if (PyErr_Occurred()) SWIG_fail
; 
6118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6119         result 
= (bool)(arg1
)->InsertCols(arg2
,arg3
); 
6121         wxPyEndAllowThreads(__tstate
); 
6122         if (PyErr_Occurred()) SWIG_fail
; 
6125         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6133 static PyObject 
*_wrap_GridTableBase_AppendCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6134     PyObject 
*resultobj
; 
6135     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6136     size_t arg2 
= (size_t) 1 ; 
6138     PyObject 
* obj0 
= 0 ; 
6139     PyObject 
* obj1 
= 0 ; 
6141         (char *) "self",(char *) "numCols", NULL 
 
6144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
; 
6145     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6146     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6148         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6149         if (PyErr_Occurred()) SWIG_fail
; 
6152         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6153         result 
= (bool)(arg1
)->AppendCols(arg2
); 
6155         wxPyEndAllowThreads(__tstate
); 
6156         if (PyErr_Occurred()) SWIG_fail
; 
6159         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6167 static PyObject 
*_wrap_GridTableBase_DeleteCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6168     PyObject 
*resultobj
; 
6169     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6170     size_t arg2 
= (size_t) 0 ; 
6171     size_t arg3 
= (size_t) 1 ; 
6173     PyObject 
* obj0 
= 0 ; 
6174     PyObject 
* obj1 
= 0 ; 
6175     PyObject 
* obj2 
= 0 ; 
6177         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
6180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6181     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6182     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6184         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6185         if (PyErr_Occurred()) SWIG_fail
; 
6188         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6189         if (PyErr_Occurred()) SWIG_fail
; 
6192         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6193         result 
= (bool)(arg1
)->DeleteCols(arg2
,arg3
); 
6195         wxPyEndAllowThreads(__tstate
); 
6196         if (PyErr_Occurred()) SWIG_fail
; 
6199         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6207 static PyObject 
*_wrap_GridTableBase_GetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6208     PyObject 
*resultobj
; 
6209     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6212     PyObject 
* obj0 
= 0 ; 
6213     PyObject 
* obj1 
= 0 ; 
6215         (char *) "self",(char *) "row", NULL 
 
6218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
6219     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6220     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6221     arg2 
= (int) SWIG_AsInt(obj1
);  
6222     if (PyErr_Occurred()) SWIG_fail
; 
6224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6225         result 
= (arg1
)->GetRowLabelValue(arg2
); 
6227         wxPyEndAllowThreads(__tstate
); 
6228         if (PyErr_Occurred()) SWIG_fail
; 
6232         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6234         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6243 static PyObject 
*_wrap_GridTableBase_GetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6244     PyObject 
*resultobj
; 
6245     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6248     PyObject 
* obj0 
= 0 ; 
6249     PyObject 
* obj1 
= 0 ; 
6251         (char *) "self",(char *) "col", NULL 
 
6254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
6255     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6256     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6257     arg2 
= (int) SWIG_AsInt(obj1
);  
6258     if (PyErr_Occurred()) SWIG_fail
; 
6260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6261         result 
= (arg1
)->GetColLabelValue(arg2
); 
6263         wxPyEndAllowThreads(__tstate
); 
6264         if (PyErr_Occurred()) SWIG_fail
; 
6268         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6270         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6279 static PyObject 
*_wrap_GridTableBase_SetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6280     PyObject 
*resultobj
; 
6281     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6283     wxString 
*arg3 
= 0 ; 
6284     bool temp3 
= False 
; 
6285     PyObject 
* obj0 
= 0 ; 
6286     PyObject 
* obj1 
= 0 ; 
6287     PyObject 
* obj2 
= 0 ; 
6289         (char *) "self",(char *) "row",(char *) "value", NULL 
 
6292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6293     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6294     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6295     arg2 
= (int) SWIG_AsInt(obj1
);  
6296     if (PyErr_Occurred()) SWIG_fail
; 
6298         arg3 
= wxString_in_helper(obj2
); 
6299         if (arg3 
== NULL
) SWIG_fail
; 
6303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6304         (arg1
)->SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
6306         wxPyEndAllowThreads(__tstate
); 
6307         if (PyErr_Occurred()) SWIG_fail
; 
6309     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6324 static PyObject 
*_wrap_GridTableBase_SetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6325     PyObject 
*resultobj
; 
6326     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6328     wxString 
*arg3 
= 0 ; 
6329     bool temp3 
= False 
; 
6330     PyObject 
* obj0 
= 0 ; 
6331     PyObject 
* obj1 
= 0 ; 
6332     PyObject 
* obj2 
= 0 ; 
6334         (char *) "self",(char *) "col",(char *) "value", NULL 
 
6337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6338     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6339     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6340     arg2 
= (int) SWIG_AsInt(obj1
);  
6341     if (PyErr_Occurred()) SWIG_fail
; 
6343         arg3 
= wxString_in_helper(obj2
); 
6344         if (arg3 
== NULL
) SWIG_fail
; 
6348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6349         (arg1
)->SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
6351         wxPyEndAllowThreads(__tstate
); 
6352         if (PyErr_Occurred()) SWIG_fail
; 
6354     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6369 static PyObject 
*_wrap_GridTableBase_CanHaveAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6370     PyObject 
*resultobj
; 
6371     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6373     PyObject 
* obj0 
= 0 ; 
6375         (char *) "self", NULL 
 
6378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
; 
6379     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6380     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6383         result 
= (bool)(arg1
)->CanHaveAttributes(); 
6385         wxPyEndAllowThreads(__tstate
); 
6386         if (PyErr_Occurred()) SWIG_fail
; 
6389         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6397 static PyObject 
*_wrap_GridTableBase_GetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6398     PyObject 
*resultobj
; 
6399     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6403     wxGridCellAttr 
*result
; 
6404     PyObject 
* obj0 
= 0 ; 
6405     PyObject 
* obj1 
= 0 ; 
6406     PyObject 
* obj2 
= 0 ; 
6407     PyObject 
* obj3 
= 0 ; 
6409         (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
6412     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6413     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6414     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6415     arg2 
= (int) SWIG_AsInt(obj1
);  
6416     if (PyErr_Occurred()) SWIG_fail
; 
6417     arg3 
= (int) SWIG_AsInt(obj2
);  
6418     if (PyErr_Occurred()) SWIG_fail
; 
6419     arg4 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);  
6420     if (PyErr_Occurred()) SWIG_fail
; 
6422         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6423         result 
= (wxGridCellAttr 
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind 
)arg4
); 
6425         wxPyEndAllowThreads(__tstate
); 
6426         if (PyErr_Occurred()) SWIG_fail
; 
6429         resultobj 
= wxPyMake_wxGridCellAttr(result
);  
6437 static PyObject 
*_wrap_GridTableBase_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6438     PyObject 
*resultobj
; 
6439     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6440     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
6443     PyObject 
* obj0 
= 0 ; 
6444     PyObject 
* obj1 
= 0 ; 
6445     PyObject 
* obj2 
= 0 ; 
6446     PyObject 
* obj3 
= 0 ; 
6448         (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
6451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6454     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
6455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6456     arg3 
= (int) SWIG_AsInt(obj2
);  
6457     if (PyErr_Occurred()) SWIG_fail
; 
6458     arg4 
= (int) SWIG_AsInt(obj3
);  
6459     if (PyErr_Occurred()) SWIG_fail
; 
6461         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6462         (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
6464         wxPyEndAllowThreads(__tstate
); 
6465         if (PyErr_Occurred()) SWIG_fail
; 
6467     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6474 static PyObject 
*_wrap_GridTableBase_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6475     PyObject 
*resultobj
; 
6476     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6477     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
6479     PyObject 
* obj0 
= 0 ; 
6480     PyObject 
* obj1 
= 0 ; 
6481     PyObject 
* obj2 
= 0 ; 
6483         (char *) "self",(char *) "attr",(char *) "row", NULL 
 
6486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6487     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6489     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
6490     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6491     arg3 
= (int) SWIG_AsInt(obj2
);  
6492     if (PyErr_Occurred()) SWIG_fail
; 
6494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6495         (arg1
)->SetRowAttr(arg2
,arg3
); 
6497         wxPyEndAllowThreads(__tstate
); 
6498         if (PyErr_Occurred()) SWIG_fail
; 
6500     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6507 static PyObject 
*_wrap_GridTableBase_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6508     PyObject 
*resultobj
; 
6509     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6510     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
6512     PyObject 
* obj0 
= 0 ; 
6513     PyObject 
* obj1 
= 0 ; 
6514     PyObject 
* obj2 
= 0 ; 
6516         (char *) "self",(char *) "attr",(char *) "col", NULL 
 
6519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6520     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6521     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6522     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
6523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6524     arg3 
= (int) SWIG_AsInt(obj2
);  
6525     if (PyErr_Occurred()) SWIG_fail
; 
6527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6528         (arg1
)->SetColAttr(arg2
,arg3
); 
6530         wxPyEndAllowThreads(__tstate
); 
6531         if (PyErr_Occurred()) SWIG_fail
; 
6533     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6540 static PyObject 
* GridTableBase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6542     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6543     SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
); 
6545     return Py_BuildValue((char *)""); 
6547 static PyObject 
*_wrap_new_PyGridTableBase(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6548     PyObject 
*resultobj
; 
6549     wxPyGridTableBase 
*result
; 
6554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
; 
6556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6557         result 
= (wxPyGridTableBase 
*)new wxPyGridTableBase(); 
6559         wxPyEndAllowThreads(__tstate
); 
6560         if (PyErr_Occurred()) SWIG_fail
; 
6562     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1); 
6569 static PyObject 
*_wrap_PyGridTableBase__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6570     PyObject 
*resultobj
; 
6571     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6572     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6573     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6574     PyObject 
* obj0 
= 0 ; 
6575     PyObject 
* obj1 
= 0 ; 
6576     PyObject 
* obj2 
= 0 ; 
6578         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
6581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6582     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6583     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6587         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6588         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
6590         wxPyEndAllowThreads(__tstate
); 
6591         if (PyErr_Occurred()) SWIG_fail
; 
6593     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6600 static PyObject 
*_wrap_PyGridTableBase_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6601     PyObject 
*resultobj
; 
6602     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6603     PyObject 
* obj0 
= 0 ; 
6605         (char *) "self", NULL 
 
6608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
; 
6609     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6610     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6613         wxPyGridTableBase_Destroy(arg1
); 
6615         wxPyEndAllowThreads(__tstate
); 
6616         if (PyErr_Occurred()) SWIG_fail
; 
6618     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6625 static PyObject 
*_wrap_PyGridTableBase_base_GetTypeName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6626     PyObject 
*resultobj
; 
6627     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6631     PyObject 
* obj0 
= 0 ; 
6632     PyObject 
* obj1 
= 0 ; 
6633     PyObject 
* obj2 
= 0 ; 
6635         (char *) "self",(char *) "row",(char *) "col", NULL 
 
6638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6639     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6640     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6641     arg2 
= (int) SWIG_AsInt(obj1
);  
6642     if (PyErr_Occurred()) SWIG_fail
; 
6643     arg3 
= (int) SWIG_AsInt(obj2
);  
6644     if (PyErr_Occurred()) SWIG_fail
; 
6646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6647         result 
= (arg1
)->base_GetTypeName(arg2
,arg3
); 
6649         wxPyEndAllowThreads(__tstate
); 
6650         if (PyErr_Occurred()) SWIG_fail
; 
6654         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6656         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6665 static PyObject 
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6666     PyObject 
*resultobj
; 
6667     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6670     wxString 
*arg4 
= 0 ; 
6672     bool temp4 
= False 
; 
6673     PyObject 
* obj0 
= 0 ; 
6674     PyObject 
* obj1 
= 0 ; 
6675     PyObject 
* obj2 
= 0 ; 
6676     PyObject 
* obj3 
= 0 ; 
6678         (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
6681     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6682     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6683     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6684     arg2 
= (int) SWIG_AsInt(obj1
);  
6685     if (PyErr_Occurred()) SWIG_fail
; 
6686     arg3 
= (int) SWIG_AsInt(obj2
);  
6687     if (PyErr_Occurred()) SWIG_fail
; 
6689         arg4 
= wxString_in_helper(obj3
); 
6690         if (arg4 
== NULL
) SWIG_fail
; 
6694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6695         result 
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
6697         wxPyEndAllowThreads(__tstate
); 
6698         if (PyErr_Occurred()) SWIG_fail
; 
6701         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6717 static PyObject 
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6718     PyObject 
*resultobj
; 
6719     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6722     wxString 
*arg4 
= 0 ; 
6724     bool temp4 
= False 
; 
6725     PyObject 
* obj0 
= 0 ; 
6726     PyObject 
* obj1 
= 0 ; 
6727     PyObject 
* obj2 
= 0 ; 
6728     PyObject 
* obj3 
= 0 ; 
6730         (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
6733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6734     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6735     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6736     arg2 
= (int) SWIG_AsInt(obj1
);  
6737     if (PyErr_Occurred()) SWIG_fail
; 
6738     arg3 
= (int) SWIG_AsInt(obj2
);  
6739     if (PyErr_Occurred()) SWIG_fail
; 
6741         arg4 
= wxString_in_helper(obj3
); 
6742         if (arg4 
== NULL
) SWIG_fail
; 
6746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6747         result 
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
6749         wxPyEndAllowThreads(__tstate
); 
6750         if (PyErr_Occurred()) SWIG_fail
; 
6753         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6769 static PyObject 
*_wrap_PyGridTableBase_base_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6770     PyObject 
*resultobj
; 
6771     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6772     PyObject 
* obj0 
= 0 ; 
6774         (char *) "self", NULL 
 
6777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
; 
6778     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6779     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6781         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6782         (arg1
)->base_Clear(); 
6784         wxPyEndAllowThreads(__tstate
); 
6785         if (PyErr_Occurred()) SWIG_fail
; 
6787     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6794 static PyObject 
*_wrap_PyGridTableBase_base_InsertRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6795     PyObject 
*resultobj
; 
6796     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6797     size_t arg2 
= (size_t) 0 ; 
6798     size_t arg3 
= (size_t) 1 ; 
6800     PyObject 
* obj0 
= 0 ; 
6801     PyObject 
* obj1 
= 0 ; 
6802     PyObject 
* obj2 
= 0 ; 
6804         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
6807     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6808     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6809     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6811         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6812         if (PyErr_Occurred()) SWIG_fail
; 
6815         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6816         if (PyErr_Occurred()) SWIG_fail
; 
6819         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6820         result 
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
); 
6822         wxPyEndAllowThreads(__tstate
); 
6823         if (PyErr_Occurred()) SWIG_fail
; 
6826         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6834 static PyObject 
*_wrap_PyGridTableBase_base_AppendRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6835     PyObject 
*resultobj
; 
6836     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6837     size_t arg2 
= (size_t) 1 ; 
6839     PyObject 
* obj0 
= 0 ; 
6840     PyObject 
* obj1 
= 0 ; 
6842         (char *) "self",(char *) "numRows", NULL 
 
6845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
6846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6849         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6850         if (PyErr_Occurred()) SWIG_fail
; 
6853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6854         result 
= (bool)(arg1
)->base_AppendRows(arg2
); 
6856         wxPyEndAllowThreads(__tstate
); 
6857         if (PyErr_Occurred()) SWIG_fail
; 
6860         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6868 static PyObject 
*_wrap_PyGridTableBase_base_DeleteRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6869     PyObject 
*resultobj
; 
6870     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6871     size_t arg2 
= (size_t) 0 ; 
6872     size_t arg3 
= (size_t) 1 ; 
6874     PyObject 
* obj0 
= 0 ; 
6875     PyObject 
* obj1 
= 0 ; 
6876     PyObject 
* obj2 
= 0 ; 
6878         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
6881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6882     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6883     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6885         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6886         if (PyErr_Occurred()) SWIG_fail
; 
6889         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6890         if (PyErr_Occurred()) SWIG_fail
; 
6893         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6894         result 
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
); 
6896         wxPyEndAllowThreads(__tstate
); 
6897         if (PyErr_Occurred()) SWIG_fail
; 
6900         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6908 static PyObject 
*_wrap_PyGridTableBase_base_InsertCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6909     PyObject 
*resultobj
; 
6910     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6911     size_t arg2 
= (size_t) 0 ; 
6912     size_t arg3 
= (size_t) 1 ; 
6914     PyObject 
* obj0 
= 0 ; 
6915     PyObject 
* obj1 
= 0 ; 
6916     PyObject 
* obj2 
= 0 ; 
6918         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
6921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6922     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6923     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6925         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6926         if (PyErr_Occurred()) SWIG_fail
; 
6929         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6930         if (PyErr_Occurred()) SWIG_fail
; 
6933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6934         result 
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
); 
6936         wxPyEndAllowThreads(__tstate
); 
6937         if (PyErr_Occurred()) SWIG_fail
; 
6940         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6948 static PyObject 
*_wrap_PyGridTableBase_base_AppendCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6949     PyObject 
*resultobj
; 
6950     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6951     size_t arg2 
= (size_t) 1 ; 
6953     PyObject 
* obj0 
= 0 ; 
6954     PyObject 
* obj1 
= 0 ; 
6956         (char *) "self",(char *) "numCols", NULL 
 
6959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
; 
6960     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6961     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6963         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6964         if (PyErr_Occurred()) SWIG_fail
; 
6967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6968         result 
= (bool)(arg1
)->base_AppendCols(arg2
); 
6970         wxPyEndAllowThreads(__tstate
); 
6971         if (PyErr_Occurred()) SWIG_fail
; 
6974         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6982 static PyObject 
*_wrap_PyGridTableBase_base_DeleteCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6983     PyObject 
*resultobj
; 
6984     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6985     size_t arg2 
= (size_t) 0 ; 
6986     size_t arg3 
= (size_t) 1 ; 
6988     PyObject 
* obj0 
= 0 ; 
6989     PyObject 
* obj1 
= 0 ; 
6990     PyObject 
* obj2 
= 0 ; 
6992         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
6995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6996     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6997     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6999         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
7000         if (PyErr_Occurred()) SWIG_fail
; 
7003         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
7004         if (PyErr_Occurred()) SWIG_fail
; 
7007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7008         result 
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
); 
7010         wxPyEndAllowThreads(__tstate
); 
7011         if (PyErr_Occurred()) SWIG_fail
; 
7014         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7022 static PyObject 
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7023     PyObject 
*resultobj
; 
7024     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7027     PyObject 
* obj0 
= 0 ; 
7028     PyObject 
* obj1 
= 0 ; 
7030         (char *) "self",(char *) "row", NULL 
 
7033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
7034     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7035     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7036     arg2 
= (int) SWIG_AsInt(obj1
);  
7037     if (PyErr_Occurred()) SWIG_fail
; 
7039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7040         result 
= (arg1
)->base_GetRowLabelValue(arg2
); 
7042         wxPyEndAllowThreads(__tstate
); 
7043         if (PyErr_Occurred()) SWIG_fail
; 
7047         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7049         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7058 static PyObject 
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7059     PyObject 
*resultobj
; 
7060     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7063     PyObject 
* obj0 
= 0 ; 
7064     PyObject 
* obj1 
= 0 ; 
7066         (char *) "self",(char *) "col", NULL 
 
7069     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
7070     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7071     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7072     arg2 
= (int) SWIG_AsInt(obj1
);  
7073     if (PyErr_Occurred()) SWIG_fail
; 
7075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7076         result 
= (arg1
)->base_GetColLabelValue(arg2
); 
7078         wxPyEndAllowThreads(__tstate
); 
7079         if (PyErr_Occurred()) SWIG_fail
; 
7083         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7085         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7094 static PyObject 
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7095     PyObject 
*resultobj
; 
7096     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7098     wxString 
*arg3 
= 0 ; 
7099     bool temp3 
= False 
; 
7100     PyObject 
* obj0 
= 0 ; 
7101     PyObject 
* obj1 
= 0 ; 
7102     PyObject 
* obj2 
= 0 ; 
7104         (char *) "self",(char *) "row",(char *) "value", NULL 
 
7107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7108     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7109     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7110     arg2 
= (int) SWIG_AsInt(obj1
);  
7111     if (PyErr_Occurred()) SWIG_fail
; 
7113         arg3 
= wxString_in_helper(obj2
); 
7114         if (arg3 
== NULL
) SWIG_fail
; 
7118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7119         (arg1
)->base_SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
7121         wxPyEndAllowThreads(__tstate
); 
7122         if (PyErr_Occurred()) SWIG_fail
; 
7124     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7139 static PyObject 
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7140     PyObject 
*resultobj
; 
7141     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7143     wxString 
*arg3 
= 0 ; 
7144     bool temp3 
= False 
; 
7145     PyObject 
* obj0 
= 0 ; 
7146     PyObject 
* obj1 
= 0 ; 
7147     PyObject 
* obj2 
= 0 ; 
7149         (char *) "self",(char *) "col",(char *) "value", NULL 
 
7152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7153     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7154     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7155     arg2 
= (int) SWIG_AsInt(obj1
);  
7156     if (PyErr_Occurred()) SWIG_fail
; 
7158         arg3 
= wxString_in_helper(obj2
); 
7159         if (arg3 
== NULL
) SWIG_fail
; 
7163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7164         (arg1
)->base_SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
7166         wxPyEndAllowThreads(__tstate
); 
7167         if (PyErr_Occurred()) SWIG_fail
; 
7169     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7184 static PyObject 
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7185     PyObject 
*resultobj
; 
7186     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7188     PyObject 
* obj0 
= 0 ; 
7190         (char *) "self", NULL 
 
7193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
; 
7194     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7195     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7197         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7198         result 
= (bool)(arg1
)->base_CanHaveAttributes(); 
7200         wxPyEndAllowThreads(__tstate
); 
7201         if (PyErr_Occurred()) SWIG_fail
; 
7204         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7212 static PyObject 
*_wrap_PyGridTableBase_base_GetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7213     PyObject 
*resultobj
; 
7214     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7218     wxGridCellAttr 
*result
; 
7219     PyObject 
* obj0 
= 0 ; 
7220     PyObject 
* obj1 
= 0 ; 
7221     PyObject 
* obj2 
= 0 ; 
7222     PyObject 
* obj3 
= 0 ; 
7224         (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
7227     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7228     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7229     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7230     arg2 
= (int) SWIG_AsInt(obj1
);  
7231     if (PyErr_Occurred()) SWIG_fail
; 
7232     arg3 
= (int) SWIG_AsInt(obj2
);  
7233     if (PyErr_Occurred()) SWIG_fail
; 
7234     arg4 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);  
7235     if (PyErr_Occurred()) SWIG_fail
; 
7237         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7238         result 
= (wxGridCellAttr 
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind 
)arg4
); 
7240         wxPyEndAllowThreads(__tstate
); 
7241         if (PyErr_Occurred()) SWIG_fail
; 
7244         resultobj 
= wxPyMake_wxGridCellAttr(result
);  
7252 static PyObject 
*_wrap_PyGridTableBase_base_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7253     PyObject 
*resultobj
; 
7254     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7255     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7258     PyObject 
* obj0 
= 0 ; 
7259     PyObject 
* obj1 
= 0 ; 
7260     PyObject 
* obj2 
= 0 ; 
7261     PyObject 
* obj3 
= 0 ; 
7263         (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
7266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7269     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
7270     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7271     arg3 
= (int) SWIG_AsInt(obj2
);  
7272     if (PyErr_Occurred()) SWIG_fail
; 
7273     arg4 
= (int) SWIG_AsInt(obj3
);  
7274     if (PyErr_Occurred()) SWIG_fail
; 
7276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7277         (arg1
)->base_SetAttr(arg2
,arg3
,arg4
); 
7279         wxPyEndAllowThreads(__tstate
); 
7280         if (PyErr_Occurred()) SWIG_fail
; 
7282     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7289 static PyObject 
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7290     PyObject 
*resultobj
; 
7291     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7292     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7294     PyObject 
* obj0 
= 0 ; 
7295     PyObject 
* obj1 
= 0 ; 
7296     PyObject 
* obj2 
= 0 ; 
7298         (char *) "self",(char *) "attr",(char *) "row", NULL 
 
7301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7302     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7303     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7304     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
7305     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7306     arg3 
= (int) SWIG_AsInt(obj2
);  
7307     if (PyErr_Occurred()) SWIG_fail
; 
7309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7310         (arg1
)->base_SetRowAttr(arg2
,arg3
); 
7312         wxPyEndAllowThreads(__tstate
); 
7313         if (PyErr_Occurred()) SWIG_fail
; 
7315     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7322 static PyObject 
*_wrap_PyGridTableBase_base_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7323     PyObject 
*resultobj
; 
7324     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7325     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7327     PyObject 
* obj0 
= 0 ; 
7328     PyObject 
* obj1 
= 0 ; 
7329     PyObject 
* obj2 
= 0 ; 
7331         (char *) "self",(char *) "attr",(char *) "col", NULL 
 
7334     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7335     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7336     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7337     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
7338     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7339     arg3 
= (int) SWIG_AsInt(obj2
);  
7340     if (PyErr_Occurred()) SWIG_fail
; 
7342         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7343         (arg1
)->base_SetColAttr(arg2
,arg3
); 
7345         wxPyEndAllowThreads(__tstate
); 
7346         if (PyErr_Occurred()) SWIG_fail
; 
7348     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7355 static PyObject 
* PyGridTableBase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7357     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7358     SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
); 
7360     return Py_BuildValue((char *)""); 
7362 static PyObject 
*_wrap_new_GridStringTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7363     PyObject 
*resultobj
; 
7364     int arg1 
= (int) 0 ; 
7365     int arg2 
= (int) 0 ; 
7366     wxGridStringTable 
*result
; 
7367     PyObject 
* obj0 
= 0 ; 
7368     PyObject 
* obj1 
= 0 ; 
7370         (char *) "numRows",(char *) "numCols", NULL 
 
7373     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
; 
7375         arg1 
= (int) SWIG_AsInt(obj0
);  
7376         if (PyErr_Occurred()) SWIG_fail
; 
7379         arg2 
= (int) SWIG_AsInt(obj1
);  
7380         if (PyErr_Occurred()) SWIG_fail
; 
7383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7384         result 
= (wxGridStringTable 
*)new wxGridStringTable(arg1
,arg2
); 
7386         wxPyEndAllowThreads(__tstate
); 
7387         if (PyErr_Occurred()) SWIG_fail
; 
7389     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1); 
7396 static PyObject 
* GridStringTable_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7398     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7399     SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
); 
7401     return Py_BuildValue((char *)""); 
7403 static PyObject 
*_wrap_new_GridTableMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7404     PyObject 
*resultobj
; 
7405     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7407     int arg3 
= (int) -1 ; 
7408     int arg4 
= (int) -1 ; 
7409     wxGridTableMessage 
*result
; 
7410     PyObject 
* obj0 
= 0 ; 
7411     PyObject 
* obj1 
= 0 ; 
7412     PyObject 
* obj2 
= 0 ; 
7413     PyObject 
* obj3 
= 0 ; 
7415         (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL 
 
7418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7419     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
7420     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7421     arg2 
= (int) SWIG_AsInt(obj1
);  
7422     if (PyErr_Occurred()) SWIG_fail
; 
7424         arg3 
= (int) SWIG_AsInt(obj2
);  
7425         if (PyErr_Occurred()) SWIG_fail
; 
7428         arg4 
= (int) SWIG_AsInt(obj3
);  
7429         if (PyErr_Occurred()) SWIG_fail
; 
7432         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7433         result 
= (wxGridTableMessage 
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
); 
7435         wxPyEndAllowThreads(__tstate
); 
7436         if (PyErr_Occurred()) SWIG_fail
; 
7438     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1); 
7445 static PyObject 
*_wrap_delete_GridTableMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7446     PyObject 
*resultobj
; 
7447     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7448     PyObject 
* obj0 
= 0 ; 
7450         (char *) "self", NULL 
 
7453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
; 
7454     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7457         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7460         wxPyEndAllowThreads(__tstate
); 
7461         if (PyErr_Occurred()) SWIG_fail
; 
7463     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7470 static PyObject 
*_wrap_GridTableMessage_SetTableObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7471     PyObject 
*resultobj
; 
7472     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7473     wxGridTableBase 
*arg2 
= (wxGridTableBase 
*) 0 ; 
7474     PyObject 
* obj0 
= 0 ; 
7475     PyObject 
* obj1 
= 0 ; 
7477         (char *) "self",(char *) "table", NULL 
 
7480     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
7481     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7482     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7483     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
, 
7484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7487         (arg1
)->SetTableObject(arg2
); 
7489         wxPyEndAllowThreads(__tstate
); 
7490         if (PyErr_Occurred()) SWIG_fail
; 
7492     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7499 static PyObject 
*_wrap_GridTableMessage_GetTableObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7500     PyObject 
*resultobj
; 
7501     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7502     wxGridTableBase 
*result
; 
7503     PyObject 
* obj0 
= 0 ; 
7505         (char *) "self", NULL 
 
7508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
; 
7509     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7510     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7513         result 
= (wxGridTableBase 
*)((wxGridTableMessage 
const *)arg1
)->GetTableObject(); 
7515         wxPyEndAllowThreads(__tstate
); 
7516         if (PyErr_Occurred()) SWIG_fail
; 
7519         resultobj 
= wxPyMake_wxGridTableBase(result
);  
7527 static PyObject 
*_wrap_GridTableMessage_SetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7528     PyObject 
*resultobj
; 
7529     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7531     PyObject 
* obj0 
= 0 ; 
7532     PyObject 
* obj1 
= 0 ; 
7534         (char *) "self",(char *) "id", NULL 
 
7537     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
7538     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7539     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7540     arg2 
= (int) SWIG_AsInt(obj1
);  
7541     if (PyErr_Occurred()) SWIG_fail
; 
7543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7544         (arg1
)->SetId(arg2
); 
7546         wxPyEndAllowThreads(__tstate
); 
7547         if (PyErr_Occurred()) SWIG_fail
; 
7549     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7556 static PyObject 
*_wrap_GridTableMessage_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7557     PyObject 
*resultobj
; 
7558     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7560     PyObject 
* obj0 
= 0 ; 
7562         (char *) "self", NULL 
 
7565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
; 
7566     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7567     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7569         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7570         result 
= (int)(arg1
)->GetId(); 
7572         wxPyEndAllowThreads(__tstate
); 
7573         if (PyErr_Occurred()) SWIG_fail
; 
7575     resultobj 
= SWIG_FromInt((int)result
); 
7582 static PyObject 
*_wrap_GridTableMessage_SetCommandInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7583     PyObject 
*resultobj
; 
7584     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7586     PyObject 
* obj0 
= 0 ; 
7587     PyObject 
* obj1 
= 0 ; 
7589         (char *) "self",(char *) "comInt1", NULL 
 
7592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
; 
7593     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7594     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7595     arg2 
= (int) SWIG_AsInt(obj1
);  
7596     if (PyErr_Occurred()) SWIG_fail
; 
7598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7599         (arg1
)->SetCommandInt(arg2
); 
7601         wxPyEndAllowThreads(__tstate
); 
7602         if (PyErr_Occurred()) SWIG_fail
; 
7604     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7611 static PyObject 
*_wrap_GridTableMessage_GetCommandInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7612     PyObject 
*resultobj
; 
7613     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7615     PyObject 
* obj0 
= 0 ; 
7617         (char *) "self", NULL 
 
7620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
; 
7621     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7625         result 
= (int)(arg1
)->GetCommandInt(); 
7627         wxPyEndAllowThreads(__tstate
); 
7628         if (PyErr_Occurred()) SWIG_fail
; 
7630     resultobj 
= SWIG_FromInt((int)result
); 
7637 static PyObject 
*_wrap_GridTableMessage_SetCommandInt2(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7638     PyObject 
*resultobj
; 
7639     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7641     PyObject 
* obj0 
= 0 ; 
7642     PyObject 
* obj1 
= 0 ; 
7644         (char *) "self",(char *) "comInt2", NULL 
 
7647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
; 
7648     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7649     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7650     arg2 
= (int) SWIG_AsInt(obj1
);  
7651     if (PyErr_Occurred()) SWIG_fail
; 
7653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7654         (arg1
)->SetCommandInt2(arg2
); 
7656         wxPyEndAllowThreads(__tstate
); 
7657         if (PyErr_Occurred()) SWIG_fail
; 
7659     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7666 static PyObject 
*_wrap_GridTableMessage_GetCommandInt2(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7667     PyObject 
*resultobj
; 
7668     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7670     PyObject 
* obj0 
= 0 ; 
7672         (char *) "self", NULL 
 
7675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
; 
7676     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7677     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7680         result 
= (int)(arg1
)->GetCommandInt2(); 
7682         wxPyEndAllowThreads(__tstate
); 
7683         if (PyErr_Occurred()) SWIG_fail
; 
7685     resultobj 
= SWIG_FromInt((int)result
); 
7692 static PyObject 
* GridTableMessage_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7694     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7695     SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
); 
7697     return Py_BuildValue((char *)""); 
7699 static PyObject 
*_wrap_new_GridCellCoords(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7700     PyObject 
*resultobj
; 
7701     int arg1 
= (int) -1 ; 
7702     int arg2 
= (int) -1 ; 
7703     wxGridCellCoords 
*result
; 
7704     PyObject 
* obj0 
= 0 ; 
7705     PyObject 
* obj1 
= 0 ; 
7707         (char *) "r",(char *) "c", NULL 
 
7710     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
; 
7712         arg1 
= (int) SWIG_AsInt(obj0
);  
7713         if (PyErr_Occurred()) SWIG_fail
; 
7716         arg2 
= (int) SWIG_AsInt(obj1
);  
7717         if (PyErr_Occurred()) SWIG_fail
; 
7720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7721         result 
= (wxGridCellCoords 
*)new wxGridCellCoords(arg1
,arg2
); 
7723         wxPyEndAllowThreads(__tstate
); 
7724         if (PyErr_Occurred()) SWIG_fail
; 
7726     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1); 
7733 static PyObject 
*_wrap_delete_GridCellCoords(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7734     PyObject 
*resultobj
; 
7735     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7736     PyObject 
* obj0 
= 0 ; 
7738         (char *) "self", NULL 
 
7741     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
; 
7742     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7743     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7745         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7748         wxPyEndAllowThreads(__tstate
); 
7749         if (PyErr_Occurred()) SWIG_fail
; 
7751     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7758 static PyObject 
*_wrap_GridCellCoords_GetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7759     PyObject 
*resultobj
; 
7760     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7762     PyObject 
* obj0 
= 0 ; 
7764         (char *) "self", NULL 
 
7767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
; 
7768     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7769     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7772         result 
= (int)((wxGridCellCoords 
const *)arg1
)->GetRow(); 
7774         wxPyEndAllowThreads(__tstate
); 
7775         if (PyErr_Occurred()) SWIG_fail
; 
7777     resultobj 
= SWIG_FromInt((int)result
); 
7784 static PyObject 
*_wrap_GridCellCoords_SetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7785     PyObject 
*resultobj
; 
7786     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7788     PyObject 
* obj0 
= 0 ; 
7789     PyObject 
* obj1 
= 0 ; 
7791         (char *) "self",(char *) "n", NULL 
 
7794     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
7795     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7796     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7797     arg2 
= (int) SWIG_AsInt(obj1
);  
7798     if (PyErr_Occurred()) SWIG_fail
; 
7800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7801         (arg1
)->SetRow(arg2
); 
7803         wxPyEndAllowThreads(__tstate
); 
7804         if (PyErr_Occurred()) SWIG_fail
; 
7806     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7813 static PyObject 
*_wrap_GridCellCoords_GetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7814     PyObject 
*resultobj
; 
7815     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7817     PyObject 
* obj0 
= 0 ; 
7819         (char *) "self", NULL 
 
7822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
; 
7823     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7824     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7827         result 
= (int)((wxGridCellCoords 
const *)arg1
)->GetCol(); 
7829         wxPyEndAllowThreads(__tstate
); 
7830         if (PyErr_Occurred()) SWIG_fail
; 
7832     resultobj 
= SWIG_FromInt((int)result
); 
7839 static PyObject 
*_wrap_GridCellCoords_SetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7840     PyObject 
*resultobj
; 
7841     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7843     PyObject 
* obj0 
= 0 ; 
7844     PyObject 
* obj1 
= 0 ; 
7846         (char *) "self",(char *) "n", NULL 
 
7849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
7850     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7851     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7852     arg2 
= (int) SWIG_AsInt(obj1
);  
7853     if (PyErr_Occurred()) SWIG_fail
; 
7855         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7856         (arg1
)->SetCol(arg2
); 
7858         wxPyEndAllowThreads(__tstate
); 
7859         if (PyErr_Occurred()) SWIG_fail
; 
7861     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7868 static PyObject 
*_wrap_GridCellCoords_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7869     PyObject 
*resultobj
; 
7870     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7873     PyObject 
* obj0 
= 0 ; 
7874     PyObject 
* obj1 
= 0 ; 
7875     PyObject 
* obj2 
= 0 ; 
7877         (char *) "self",(char *) "row",(char *) "col", NULL 
 
7880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7881     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7883     arg2 
= (int) SWIG_AsInt(obj1
);  
7884     if (PyErr_Occurred()) SWIG_fail
; 
7885     arg3 
= (int) SWIG_AsInt(obj2
);  
7886     if (PyErr_Occurred()) SWIG_fail
; 
7888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7889         (arg1
)->Set(arg2
,arg3
); 
7891         wxPyEndAllowThreads(__tstate
); 
7892         if (PyErr_Occurred()) SWIG_fail
; 
7894     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7901 static PyObject 
*_wrap_GridCellCoords___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7902     PyObject 
*resultobj
; 
7903     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7904     wxGridCellCoords 
*arg2 
= 0 ; 
7906     wxGridCellCoords temp2 
; 
7907     PyObject 
* obj0 
= 0 ; 
7908     PyObject 
* obj1 
= 0 ; 
7910         (char *) "self",(char *) "other", NULL 
 
7913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7914     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7915     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7918         if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
7921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7922         result 
= (bool)((wxGridCellCoords 
const *)arg1
)->operator ==((wxGridCellCoords 
const &)*arg2
); 
7924         wxPyEndAllowThreads(__tstate
); 
7925         if (PyErr_Occurred()) SWIG_fail
; 
7928         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7936 static PyObject 
*_wrap_GridCellCoords___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7937     PyObject 
*resultobj
; 
7938     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7939     wxGridCellCoords 
*arg2 
= 0 ; 
7941     wxGridCellCoords temp2 
; 
7942     PyObject 
* obj0 
= 0 ; 
7943     PyObject 
* obj1 
= 0 ; 
7945         (char *) "self",(char *) "other", NULL 
 
7948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7949     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7953         if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
7956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7957         result 
= (bool)((wxGridCellCoords 
const *)arg1
)->operator !=((wxGridCellCoords 
const &)*arg2
); 
7959         wxPyEndAllowThreads(__tstate
); 
7960         if (PyErr_Occurred()) SWIG_fail
; 
7963         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7971 static PyObject 
*_wrap_GridCellCoords_asTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7972     PyObject 
*resultobj
; 
7973     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7975     PyObject 
* obj0 
= 0 ; 
7977         (char *) "self", NULL 
 
7980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
; 
7981     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7982     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7985         result 
= (PyObject 
*)wxGridCellCoords_asTuple(arg1
); 
7987         wxPyEndAllowThreads(__tstate
); 
7988         if (PyErr_Occurred()) SWIG_fail
; 
7997 static PyObject 
* GridCellCoords_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7999     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8000     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
); 
8002     return Py_BuildValue((char *)""); 
8004 static PyObject 
*_wrap_new_Grid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8005     PyObject 
*resultobj
; 
8006     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
8008     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
8009     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
8010     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
8011     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
8012     long arg5 
= (long) wxWANTS_CHARS 
; 
8013     wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
8014     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
8018     bool temp6 
= False 
; 
8019     PyObject 
* obj0 
= 0 ; 
8020     PyObject 
* obj1 
= 0 ; 
8021     PyObject 
* obj2 
= 0 ; 
8022     PyObject 
* obj3 
= 0 ; 
8023     PyObject 
* obj4 
= 0 ; 
8024     PyObject 
* obj5 
= 0 ; 
8026         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
8029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
8030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
8031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8032     arg2 
= (int) SWIG_AsInt(obj1
);  
8033     if (PyErr_Occurred()) SWIG_fail
; 
8037             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
8043             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
8047         arg5 
= (long) SWIG_AsLong(obj4
);  
8048         if (PyErr_Occurred()) SWIG_fail
; 
8052             arg6 
= wxString_in_helper(obj5
); 
8053             if (arg6 
== NULL
) SWIG_fail
; 
8058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8059         result 
= (wxGrid 
*)new wxGrid(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
8061         wxPyEndAllowThreads(__tstate
); 
8062         if (PyErr_Occurred()) SWIG_fail
; 
8065         resultobj 
= wxPyMake_wxObject(result
);  
8081 static PyObject 
*_wrap_Grid_CreateGrid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8082     PyObject 
*resultobj
; 
8083     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8086     WXGRIDSELECTIONMODES arg4 
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells 
; 
8088     PyObject 
* obj0 
= 0 ; 
8089     PyObject 
* obj1 
= 0 ; 
8090     PyObject 
* obj2 
= 0 ; 
8091     PyObject 
* obj3 
= 0 ; 
8093         (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL 
 
8096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8097     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8098     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8099     arg2 
= (int) SWIG_AsInt(obj1
);  
8100     if (PyErr_Occurred()) SWIG_fail
; 
8101     arg3 
= (int) SWIG_AsInt(obj2
);  
8102     if (PyErr_Occurred()) SWIG_fail
; 
8104         arg4 
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);  
8105         if (PyErr_Occurred()) SWIG_fail
; 
8108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8109         result 
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
); 
8111         wxPyEndAllowThreads(__tstate
); 
8112         if (PyErr_Occurred()) SWIG_fail
; 
8115         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8123 static PyObject 
*_wrap_Grid_SetSelectionMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8124     PyObject 
*resultobj
; 
8125     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8126     WXGRIDSELECTIONMODES arg2 
; 
8127     PyObject 
* obj0 
= 0 ; 
8128     PyObject 
* obj1 
= 0 ; 
8130         (char *) "self",(char *) "selmode", NULL 
 
8133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
8134     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8135     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8136     arg2 
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj1
);  
8137     if (PyErr_Occurred()) SWIG_fail
; 
8139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8140         (arg1
)->SetSelectionMode(arg2
); 
8142         wxPyEndAllowThreads(__tstate
); 
8143         if (PyErr_Occurred()) SWIG_fail
; 
8145     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8152 static PyObject 
*_wrap_Grid_GetSelectionMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8153     PyObject 
*resultobj
; 
8154     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8155     WXGRIDSELECTIONMODES result
; 
8156     PyObject 
* obj0 
= 0 ; 
8158         (char *) "self", NULL 
 
8161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
; 
8162     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8163     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8166         result 
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode(); 
8168         wxPyEndAllowThreads(__tstate
); 
8169         if (PyErr_Occurred()) SWIG_fail
; 
8171     resultobj 
= SWIG_FromInt((int)result
); 
8178 static PyObject 
*_wrap_Grid_GetNumberRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8179     PyObject 
*resultobj
; 
8180     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8182     PyObject 
* obj0 
= 0 ; 
8184         (char *) "self", NULL 
 
8187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
; 
8188     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8189     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8191         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8192         result 
= (int)(arg1
)->GetNumberRows(); 
8194         wxPyEndAllowThreads(__tstate
); 
8195         if (PyErr_Occurred()) SWIG_fail
; 
8197     resultobj 
= SWIG_FromInt((int)result
); 
8204 static PyObject 
*_wrap_Grid_GetNumberCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8205     PyObject 
*resultobj
; 
8206     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8208     PyObject 
* obj0 
= 0 ; 
8210         (char *) "self", NULL 
 
8213     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
; 
8214     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8215     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8218         result 
= (int)(arg1
)->GetNumberCols(); 
8220         wxPyEndAllowThreads(__tstate
); 
8221         if (PyErr_Occurred()) SWIG_fail
; 
8223     resultobj 
= SWIG_FromInt((int)result
); 
8230 static PyObject 
*_wrap_Grid_ProcessTableMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8231     PyObject 
*resultobj
; 
8232     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8233     wxGridTableMessage 
*arg2 
= 0 ; 
8235     PyObject 
* obj0 
= 0 ; 
8236     PyObject 
* obj1 
= 0 ; 
8238         (char *) "self","arg2", NULL 
 
8241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
; 
8242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8244     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
, 
8245     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8248         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8253         result 
= (bool)(arg1
)->ProcessTableMessage(*arg2
); 
8255         wxPyEndAllowThreads(__tstate
); 
8256         if (PyErr_Occurred()) SWIG_fail
; 
8259         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8267 static PyObject 
*_wrap_Grid_GetTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8268     PyObject 
*resultobj
; 
8269     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8270     wxGridTableBase 
*result
; 
8271     PyObject 
* obj0 
= 0 ; 
8273         (char *) "self", NULL 
 
8276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
; 
8277     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8278     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8280         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8281         result 
= (wxGridTableBase 
*)((wxGrid 
const *)arg1
)->GetTable(); 
8283         wxPyEndAllowThreads(__tstate
); 
8284         if (PyErr_Occurred()) SWIG_fail
; 
8287         resultobj 
= wxPyMake_wxGridTableBase(result
);  
8295 static PyObject 
*_wrap_Grid_SetTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8296     PyObject 
*resultobj
; 
8297     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8298     wxGridTableBase 
*arg2 
= (wxGridTableBase 
*) 0 ; 
8299     bool arg3 
= (bool) False 
; 
8300     WXGRIDSELECTIONMODES arg4 
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells 
; 
8302     PyObject 
* obj0 
= 0 ; 
8303     PyObject 
* obj1 
= 0 ; 
8304     PyObject 
* obj2 
= 0 ; 
8305     PyObject 
* obj3 
= 0 ; 
8307         (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL 
 
8310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8311     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8312     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8313     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
, 
8314     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8316         arg3 
= (bool) SWIG_AsBool(obj2
);  
8317         if (PyErr_Occurred()) SWIG_fail
; 
8320         arg4 
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);  
8321         if (PyErr_Occurred()) SWIG_fail
; 
8324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8325         result 
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
); 
8327         wxPyEndAllowThreads(__tstate
); 
8328         if (PyErr_Occurred()) SWIG_fail
; 
8331         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8339 static PyObject 
*_wrap_Grid_ClearGrid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8340     PyObject 
*resultobj
; 
8341     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8342     PyObject 
* obj0 
= 0 ; 
8344         (char *) "self", NULL 
 
8347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
; 
8348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8352         (arg1
)->ClearGrid(); 
8354         wxPyEndAllowThreads(__tstate
); 
8355         if (PyErr_Occurred()) SWIG_fail
; 
8357     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8364 static PyObject 
*_wrap_Grid_InsertRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8365     PyObject 
*resultobj
; 
8366     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8367     int arg2 
= (int) 0 ; 
8368     int arg3 
= (int) 1 ; 
8369     bool arg4 
= (bool) True 
; 
8371     PyObject 
* obj0 
= 0 ; 
8372     PyObject 
* obj1 
= 0 ; 
8373     PyObject 
* obj2 
= 0 ; 
8374     PyObject 
* obj3 
= 0 ; 
8376         (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL 
 
8379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8380     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8381     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8383         arg2 
= (int) SWIG_AsInt(obj1
);  
8384         if (PyErr_Occurred()) SWIG_fail
; 
8387         arg3 
= (int) SWIG_AsInt(obj2
);  
8388         if (PyErr_Occurred()) SWIG_fail
; 
8391         arg4 
= (bool) SWIG_AsBool(obj3
);  
8392         if (PyErr_Occurred()) SWIG_fail
; 
8395         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8396         result 
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
); 
8398         wxPyEndAllowThreads(__tstate
); 
8399         if (PyErr_Occurred()) SWIG_fail
; 
8402         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8410 static PyObject 
*_wrap_Grid_AppendRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8411     PyObject 
*resultobj
; 
8412     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8413     int arg2 
= (int) 1 ; 
8414     bool arg3 
= (bool) True 
; 
8416     PyObject 
* obj0 
= 0 ; 
8417     PyObject 
* obj1 
= 0 ; 
8418     PyObject 
* obj2 
= 0 ; 
8420         (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL 
 
8423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8424     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8425     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8427         arg2 
= (int) SWIG_AsInt(obj1
);  
8428         if (PyErr_Occurred()) SWIG_fail
; 
8431         arg3 
= (bool) SWIG_AsBool(obj2
);  
8432         if (PyErr_Occurred()) SWIG_fail
; 
8435         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8436         result 
= (bool)(arg1
)->AppendRows(arg2
,arg3
); 
8438         wxPyEndAllowThreads(__tstate
); 
8439         if (PyErr_Occurred()) SWIG_fail
; 
8442         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8450 static PyObject 
*_wrap_Grid_DeleteRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8451     PyObject 
*resultobj
; 
8452     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8453     int arg2 
= (int) 0 ; 
8454     int arg3 
= (int) 1 ; 
8455     bool arg4 
= (bool) True 
; 
8457     PyObject 
* obj0 
= 0 ; 
8458     PyObject 
* obj1 
= 0 ; 
8459     PyObject 
* obj2 
= 0 ; 
8460     PyObject 
* obj3 
= 0 ; 
8462         (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL 
 
8465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8469         arg2 
= (int) SWIG_AsInt(obj1
);  
8470         if (PyErr_Occurred()) SWIG_fail
; 
8473         arg3 
= (int) SWIG_AsInt(obj2
);  
8474         if (PyErr_Occurred()) SWIG_fail
; 
8477         arg4 
= (bool) SWIG_AsBool(obj3
);  
8478         if (PyErr_Occurred()) SWIG_fail
; 
8481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8482         result 
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
); 
8484         wxPyEndAllowThreads(__tstate
); 
8485         if (PyErr_Occurred()) SWIG_fail
; 
8488         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8496 static PyObject 
*_wrap_Grid_InsertCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8497     PyObject 
*resultobj
; 
8498     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8499     int arg2 
= (int) 0 ; 
8500     int arg3 
= (int) 1 ; 
8501     bool arg4 
= (bool) True 
; 
8503     PyObject 
* obj0 
= 0 ; 
8504     PyObject 
* obj1 
= 0 ; 
8505     PyObject 
* obj2 
= 0 ; 
8506     PyObject 
* obj3 
= 0 ; 
8508         (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL 
 
8511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8512     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8513     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8515         arg2 
= (int) SWIG_AsInt(obj1
);  
8516         if (PyErr_Occurred()) SWIG_fail
; 
8519         arg3 
= (int) SWIG_AsInt(obj2
);  
8520         if (PyErr_Occurred()) SWIG_fail
; 
8523         arg4 
= (bool) SWIG_AsBool(obj3
);  
8524         if (PyErr_Occurred()) SWIG_fail
; 
8527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8528         result 
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
); 
8530         wxPyEndAllowThreads(__tstate
); 
8531         if (PyErr_Occurred()) SWIG_fail
; 
8534         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8542 static PyObject 
*_wrap_Grid_AppendCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8543     PyObject 
*resultobj
; 
8544     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8545     int arg2 
= (int) 1 ; 
8546     bool arg3 
= (bool) True 
; 
8548     PyObject 
* obj0 
= 0 ; 
8549     PyObject 
* obj1 
= 0 ; 
8550     PyObject 
* obj2 
= 0 ; 
8552         (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL 
 
8555     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8556     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8557     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8559         arg2 
= (int) SWIG_AsInt(obj1
);  
8560         if (PyErr_Occurred()) SWIG_fail
; 
8563         arg3 
= (bool) SWIG_AsBool(obj2
);  
8564         if (PyErr_Occurred()) SWIG_fail
; 
8567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8568         result 
= (bool)(arg1
)->AppendCols(arg2
,arg3
); 
8570         wxPyEndAllowThreads(__tstate
); 
8571         if (PyErr_Occurred()) SWIG_fail
; 
8574         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8582 static PyObject 
*_wrap_Grid_DeleteCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8583     PyObject 
*resultobj
; 
8584     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8585     int arg2 
= (int) 0 ; 
8586     int arg3 
= (int) 1 ; 
8587     bool arg4 
= (bool) True 
; 
8589     PyObject 
* obj0 
= 0 ; 
8590     PyObject 
* obj1 
= 0 ; 
8591     PyObject 
* obj2 
= 0 ; 
8592     PyObject 
* obj3 
= 0 ; 
8594         (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL 
 
8597     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8598     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8599     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8601         arg2 
= (int) SWIG_AsInt(obj1
);  
8602         if (PyErr_Occurred()) SWIG_fail
; 
8605         arg3 
= (int) SWIG_AsInt(obj2
);  
8606         if (PyErr_Occurred()) SWIG_fail
; 
8609         arg4 
= (bool) SWIG_AsBool(obj3
);  
8610         if (PyErr_Occurred()) SWIG_fail
; 
8613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8614         result 
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
); 
8616         wxPyEndAllowThreads(__tstate
); 
8617         if (PyErr_Occurred()) SWIG_fail
; 
8620         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8628 static PyObject 
*_wrap_Grid_DrawCellHighlight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8629     PyObject 
*resultobj
; 
8630     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8632     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
8633     PyObject 
* obj0 
= 0 ; 
8634     PyObject 
* obj1 
= 0 ; 
8635     PyObject 
* obj2 
= 0 ; 
8637         (char *) "self",(char *) "dc",(char *) "attr", NULL 
 
8640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8641     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8643     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
8644     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8647         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8650     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
8651     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8654         (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr 
const *)arg3
); 
8656         wxPyEndAllowThreads(__tstate
); 
8657         if (PyErr_Occurred()) SWIG_fail
; 
8659     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8666 static PyObject 
*_wrap_Grid_DrawTextRectangle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8667     PyObject 
*resultobj
; 
8668     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8670     wxString 
*arg3 
= 0 ; 
8672     int arg5 
= (int) wxLEFT 
; 
8673     int arg6 
= (int) wxTOP 
; 
8674     int arg7 
= (int) wxHORIZONTAL 
; 
8675     bool temp3 
= False 
; 
8677     PyObject 
* obj0 
= 0 ; 
8678     PyObject 
* obj1 
= 0 ; 
8679     PyObject 
* obj2 
= 0 ; 
8680     PyObject 
* obj3 
= 0 ; 
8681     PyObject 
* obj4 
= 0 ; 
8682     PyObject 
* obj5 
= 0 ; 
8683     PyObject 
* obj6 
= 0 ; 
8685         (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL 
 
8688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
8689     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8690     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8691     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
8692     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8695         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8699         arg3 
= wxString_in_helper(obj2
); 
8700         if (arg3 
== NULL
) SWIG_fail
; 
8705         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
8708         arg5 
= (int) SWIG_AsInt(obj4
);  
8709         if (PyErr_Occurred()) SWIG_fail
; 
8712         arg6 
= (int) SWIG_AsInt(obj5
);  
8713         if (PyErr_Occurred()) SWIG_fail
; 
8716         arg7 
= (int) SWIG_AsInt(obj6
);  
8717         if (PyErr_Occurred()) SWIG_fail
; 
8720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8721         (arg1
)->DrawTextRectangle(*arg2
,(wxString 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
,arg7
); 
8723         wxPyEndAllowThreads(__tstate
); 
8724         if (PyErr_Occurred()) SWIG_fail
; 
8726     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8741 static PyObject 
*_wrap_Grid_GetTextBoxSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8742     PyObject 
*resultobj
; 
8743     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8745     wxArrayString 
*arg3 
= 0 ; 
8746     long *arg4 
= (long *) 0 ; 
8747     long *arg5 
= (long *) 0 ; 
8748     bool temp3 
= False 
; 
8751     PyObject 
* obj0 
= 0 ; 
8752     PyObject 
* obj1 
= 0 ; 
8753     PyObject 
* obj2 
= 0 ; 
8755         (char *) "self",(char *) "dc",(char *) "lines", NULL 
 
8760     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8761     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8762     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8763     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
8764     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8767         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8771         if (! PySequence_Check(obj2
)) { 
8772             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
8775         arg3 
= new wxArrayString
; 
8777         int i
, len
=PySequence_Length(obj2
); 
8778         for (i
=0; i
<len
; i
++) { 
8779             PyObject
* item 
= PySequence_GetItem(obj2
, i
); 
8781             PyObject
* str  
= PyObject_Unicode(item
); 
8783             PyObject
* str  
= PyObject_Str(item
); 
8785             arg3
->Add(Py2wxString(str
)); 
8791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8792         (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
); 
8794         wxPyEndAllowThreads(__tstate
); 
8795         if (PyErr_Occurred()) SWIG_fail
; 
8797     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8799         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
8800         resultobj 
= t_output_helper(resultobj
,o
); 
8803         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
8804         resultobj 
= t_output_helper(resultobj
,o
); 
8807         if (temp3
) delete arg3
; 
8812         if (temp3
) delete arg3
; 
8818 static PyObject 
*_wrap_Grid_BeginBatch(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8819     PyObject 
*resultobj
; 
8820     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8821     PyObject 
* obj0 
= 0 ; 
8823         (char *) "self", NULL 
 
8826     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
; 
8827     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8828     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8830         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8831         (arg1
)->BeginBatch(); 
8833         wxPyEndAllowThreads(__tstate
); 
8834         if (PyErr_Occurred()) SWIG_fail
; 
8836     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8843 static PyObject 
*_wrap_Grid_EndBatch(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8844     PyObject 
*resultobj
; 
8845     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8846     PyObject 
* obj0 
= 0 ; 
8848         (char *) "self", NULL 
 
8851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
; 
8852     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8853     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8855         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8858         wxPyEndAllowThreads(__tstate
); 
8859         if (PyErr_Occurred()) SWIG_fail
; 
8861     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8868 static PyObject 
*_wrap_Grid_GetBatchCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8869     PyObject 
*resultobj
; 
8870     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8872     PyObject 
* obj0 
= 0 ; 
8874         (char *) "self", NULL 
 
8877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
; 
8878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8882         result 
= (int)(arg1
)->GetBatchCount(); 
8884         wxPyEndAllowThreads(__tstate
); 
8885         if (PyErr_Occurred()) SWIG_fail
; 
8887     resultobj 
= SWIG_FromInt((int)result
); 
8894 static PyObject 
*_wrap_Grid_ForceRefresh(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8895     PyObject 
*resultobj
; 
8896     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8897     PyObject 
* obj0 
= 0 ; 
8899         (char *) "self", NULL 
 
8902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
; 
8903     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8904     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8906         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8907         (arg1
)->ForceRefresh(); 
8909         wxPyEndAllowThreads(__tstate
); 
8910         if (PyErr_Occurred()) SWIG_fail
; 
8912     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8919 static PyObject 
*_wrap_Grid_IsEditable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8920     PyObject 
*resultobj
; 
8921     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8923     PyObject 
* obj0 
= 0 ; 
8925         (char *) "self", NULL 
 
8928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
; 
8929     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8930     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8933         result 
= (bool)(arg1
)->IsEditable(); 
8935         wxPyEndAllowThreads(__tstate
); 
8936         if (PyErr_Occurred()) SWIG_fail
; 
8939         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8947 static PyObject 
*_wrap_Grid_EnableEditing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8948     PyObject 
*resultobj
; 
8949     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8951     PyObject 
* obj0 
= 0 ; 
8952     PyObject 
* obj1 
= 0 ; 
8954         (char *) "self",(char *) "edit", NULL 
 
8957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
; 
8958     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8960     arg2 
= (bool) SWIG_AsBool(obj1
);  
8961     if (PyErr_Occurred()) SWIG_fail
; 
8963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8964         (arg1
)->EnableEditing(arg2
); 
8966         wxPyEndAllowThreads(__tstate
); 
8967         if (PyErr_Occurred()) SWIG_fail
; 
8969     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8976 static PyObject 
*_wrap_Grid_EnableCellEditControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8977     PyObject 
*resultobj
; 
8978     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8979     bool arg2 
= (bool) True 
; 
8980     PyObject 
* obj0 
= 0 ; 
8981     PyObject 
* obj1 
= 0 ; 
8983         (char *) "self",(char *) "enable", NULL 
 
8986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
8987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8990         arg2 
= (bool) SWIG_AsBool(obj1
);  
8991         if (PyErr_Occurred()) SWIG_fail
; 
8994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8995         (arg1
)->EnableCellEditControl(arg2
); 
8997         wxPyEndAllowThreads(__tstate
); 
8998         if (PyErr_Occurred()) SWIG_fail
; 
9000     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9007 static PyObject 
*_wrap_Grid_DisableCellEditControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9008     PyObject 
*resultobj
; 
9009     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9010     PyObject 
* obj0 
= 0 ; 
9012         (char *) "self", NULL 
 
9015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
; 
9016     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9017     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9020         (arg1
)->DisableCellEditControl(); 
9022         wxPyEndAllowThreads(__tstate
); 
9023         if (PyErr_Occurred()) SWIG_fail
; 
9025     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9032 static PyObject 
*_wrap_Grid_CanEnableCellControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9033     PyObject 
*resultobj
; 
9034     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9036     PyObject 
* obj0 
= 0 ; 
9038         (char *) "self", NULL 
 
9041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
; 
9042     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9043     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9046         result 
= (bool)((wxGrid 
const *)arg1
)->CanEnableCellControl(); 
9048         wxPyEndAllowThreads(__tstate
); 
9049         if (PyErr_Occurred()) SWIG_fail
; 
9052         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9060 static PyObject 
*_wrap_Grid_IsCellEditControlEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9061     PyObject 
*resultobj
; 
9062     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9064     PyObject 
* obj0 
= 0 ; 
9066         (char *) "self", NULL 
 
9069     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
; 
9070     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9071     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9073         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9074         result 
= (bool)((wxGrid 
const *)arg1
)->IsCellEditControlEnabled(); 
9076         wxPyEndAllowThreads(__tstate
); 
9077         if (PyErr_Occurred()) SWIG_fail
; 
9080         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9088 static PyObject 
*_wrap_Grid_IsCellEditControlShown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9089     PyObject 
*resultobj
; 
9090     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9092     PyObject 
* obj0 
= 0 ; 
9094         (char *) "self", NULL 
 
9097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
; 
9098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9102         result 
= (bool)((wxGrid 
const *)arg1
)->IsCellEditControlShown(); 
9104         wxPyEndAllowThreads(__tstate
); 
9105         if (PyErr_Occurred()) SWIG_fail
; 
9108         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9116 static PyObject 
*_wrap_Grid_IsCurrentCellReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9117     PyObject 
*resultobj
; 
9118     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9120     PyObject 
* obj0 
= 0 ; 
9122         (char *) "self", NULL 
 
9125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
; 
9126     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9127     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9130         result 
= (bool)((wxGrid 
const *)arg1
)->IsCurrentCellReadOnly(); 
9132         wxPyEndAllowThreads(__tstate
); 
9133         if (PyErr_Occurred()) SWIG_fail
; 
9136         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9144 static PyObject 
*_wrap_Grid_ShowCellEditControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9145     PyObject 
*resultobj
; 
9146     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9147     PyObject 
* obj0 
= 0 ; 
9149         (char *) "self", NULL 
 
9152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
; 
9153     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9154     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9157         (arg1
)->ShowCellEditControl(); 
9159         wxPyEndAllowThreads(__tstate
); 
9160         if (PyErr_Occurred()) SWIG_fail
; 
9162     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9169 static PyObject 
*_wrap_Grid_HideCellEditControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9170     PyObject 
*resultobj
; 
9171     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9172     PyObject 
* obj0 
= 0 ; 
9174         (char *) "self", NULL 
 
9177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
; 
9178     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9179     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9182         (arg1
)->HideCellEditControl(); 
9184         wxPyEndAllowThreads(__tstate
); 
9185         if (PyErr_Occurred()) SWIG_fail
; 
9187     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9194 static PyObject 
*_wrap_Grid_SaveEditControlValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9195     PyObject 
*resultobj
; 
9196     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9197     PyObject 
* obj0 
= 0 ; 
9199         (char *) "self", NULL 
 
9202     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
; 
9203     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9204     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9207         (arg1
)->SaveEditControlValue(); 
9209         wxPyEndAllowThreads(__tstate
); 
9210         if (PyErr_Occurred()) SWIG_fail
; 
9212     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9219 static PyObject 
*_wrap_Grid_XYToCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9220     PyObject 
*resultobj
; 
9221     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9224     wxGridCellCoords result
; 
9225     PyObject 
* obj0 
= 0 ; 
9226     PyObject 
* obj1 
= 0 ; 
9227     PyObject 
* obj2 
= 0 ; 
9229         (char *) "self",(char *) "x",(char *) "y", NULL 
 
9232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9233     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9234     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9235     arg2 
= (int) SWIG_AsInt(obj1
);  
9236     if (PyErr_Occurred()) SWIG_fail
; 
9237     arg3 
= (int) SWIG_AsInt(obj2
);  
9238     if (PyErr_Occurred()) SWIG_fail
; 
9240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9241         result 
= wxGrid_XYToCell(arg1
,arg2
,arg3
); 
9243         wxPyEndAllowThreads(__tstate
); 
9244         if (PyErr_Occurred()) SWIG_fail
; 
9247         wxGridCellCoords 
* resultptr
; 
9248         resultptr 
= new wxGridCellCoords((wxGridCellCoords 
&) result
); 
9249         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1); 
9257 static PyObject 
*_wrap_Grid_YToRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9258     PyObject 
*resultobj
; 
9259     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9262     PyObject 
* obj0 
= 0 ; 
9263     PyObject 
* obj1 
= 0 ; 
9265         (char *) "self",(char *) "y", NULL 
 
9268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
9269     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9270     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9271     arg2 
= (int) SWIG_AsInt(obj1
);  
9272     if (PyErr_Occurred()) SWIG_fail
; 
9274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9275         result 
= (int)(arg1
)->YToRow(arg2
); 
9277         wxPyEndAllowThreads(__tstate
); 
9278         if (PyErr_Occurred()) SWIG_fail
; 
9280     resultobj 
= SWIG_FromInt((int)result
); 
9287 static PyObject 
*_wrap_Grid_XToCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9288     PyObject 
*resultobj
; 
9289     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9292     PyObject 
* obj0 
= 0 ; 
9293     PyObject 
* obj1 
= 0 ; 
9295         (char *) "self",(char *) "x", NULL 
 
9298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
9299     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9300     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9301     arg2 
= (int) SWIG_AsInt(obj1
);  
9302     if (PyErr_Occurred()) SWIG_fail
; 
9304         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9305         result 
= (int)(arg1
)->XToCol(arg2
); 
9307         wxPyEndAllowThreads(__tstate
); 
9308         if (PyErr_Occurred()) SWIG_fail
; 
9310     resultobj 
= SWIG_FromInt((int)result
); 
9317 static PyObject 
*_wrap_Grid_YToEdgeOfRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9318     PyObject 
*resultobj
; 
9319     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9322     PyObject 
* obj0 
= 0 ; 
9323     PyObject 
* obj1 
= 0 ; 
9325         (char *) "self",(char *) "y", NULL 
 
9328     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
9329     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9330     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9331     arg2 
= (int) SWIG_AsInt(obj1
);  
9332     if (PyErr_Occurred()) SWIG_fail
; 
9334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9335         result 
= (int)(arg1
)->YToEdgeOfRow(arg2
); 
9337         wxPyEndAllowThreads(__tstate
); 
9338         if (PyErr_Occurred()) SWIG_fail
; 
9340     resultobj 
= SWIG_FromInt((int)result
); 
9347 static PyObject 
*_wrap_Grid_XToEdgeOfCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9348     PyObject 
*resultobj
; 
9349     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9352     PyObject 
* obj0 
= 0 ; 
9353     PyObject 
* obj1 
= 0 ; 
9355         (char *) "self",(char *) "x", NULL 
 
9358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
9359     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9360     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9361     arg2 
= (int) SWIG_AsInt(obj1
);  
9362     if (PyErr_Occurred()) SWIG_fail
; 
9364         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9365         result 
= (int)(arg1
)->XToEdgeOfCol(arg2
); 
9367         wxPyEndAllowThreads(__tstate
); 
9368         if (PyErr_Occurred()) SWIG_fail
; 
9370     resultobj 
= SWIG_FromInt((int)result
); 
9377 static PyObject 
*_wrap_Grid_CellToRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9378     PyObject 
*resultobj
; 
9379     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9383     PyObject 
* obj0 
= 0 ; 
9384     PyObject 
* obj1 
= 0 ; 
9385     PyObject 
* obj2 
= 0 ; 
9387         (char *) "self",(char *) "row",(char *) "col", NULL 
 
9390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9391     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9392     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9393     arg2 
= (int) SWIG_AsInt(obj1
);  
9394     if (PyErr_Occurred()) SWIG_fail
; 
9395     arg3 
= (int) SWIG_AsInt(obj2
);  
9396     if (PyErr_Occurred()) SWIG_fail
; 
9398         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9399         result 
= (arg1
)->CellToRect(arg2
,arg3
); 
9401         wxPyEndAllowThreads(__tstate
); 
9402         if (PyErr_Occurred()) SWIG_fail
; 
9406         resultptr 
= new wxRect((wxRect 
&) result
); 
9407         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
9415 static PyObject 
*_wrap_Grid_GetGridCursorRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9416     PyObject 
*resultobj
; 
9417     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9419     PyObject 
* obj0 
= 0 ; 
9421         (char *) "self", NULL 
 
9424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
; 
9425     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9426     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9429         result 
= (int)(arg1
)->GetGridCursorRow(); 
9431         wxPyEndAllowThreads(__tstate
); 
9432         if (PyErr_Occurred()) SWIG_fail
; 
9434     resultobj 
= SWIG_FromInt((int)result
); 
9441 static PyObject 
*_wrap_Grid_GetGridCursorCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9442     PyObject 
*resultobj
; 
9443     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9445     PyObject 
* obj0 
= 0 ; 
9447         (char *) "self", NULL 
 
9450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
; 
9451     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9452     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9454         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9455         result 
= (int)(arg1
)->GetGridCursorCol(); 
9457         wxPyEndAllowThreads(__tstate
); 
9458         if (PyErr_Occurred()) SWIG_fail
; 
9460     resultobj 
= SWIG_FromInt((int)result
); 
9467 static PyObject 
*_wrap_Grid_IsVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9468     PyObject 
*resultobj
; 
9469     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9472     bool arg4 
= (bool) True 
; 
9474     PyObject 
* obj0 
= 0 ; 
9475     PyObject 
* obj1 
= 0 ; 
9476     PyObject 
* obj2 
= 0 ; 
9477     PyObject 
* obj3 
= 0 ; 
9479         (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL 
 
9482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
9483     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9485     arg2 
= (int) SWIG_AsInt(obj1
);  
9486     if (PyErr_Occurred()) SWIG_fail
; 
9487     arg3 
= (int) SWIG_AsInt(obj2
);  
9488     if (PyErr_Occurred()) SWIG_fail
; 
9490         arg4 
= (bool) SWIG_AsBool(obj3
);  
9491         if (PyErr_Occurred()) SWIG_fail
; 
9494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9495         result 
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
); 
9497         wxPyEndAllowThreads(__tstate
); 
9498         if (PyErr_Occurred()) SWIG_fail
; 
9501         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9509 static PyObject 
*_wrap_Grid_MakeCellVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9510     PyObject 
*resultobj
; 
9511     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9514     PyObject 
* obj0 
= 0 ; 
9515     PyObject 
* obj1 
= 0 ; 
9516     PyObject 
* obj2 
= 0 ; 
9518         (char *) "self",(char *) "row",(char *) "col", NULL 
 
9521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9522     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9524     arg2 
= (int) SWIG_AsInt(obj1
);  
9525     if (PyErr_Occurred()) SWIG_fail
; 
9526     arg3 
= (int) SWIG_AsInt(obj2
);  
9527     if (PyErr_Occurred()) SWIG_fail
; 
9529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9530         (arg1
)->MakeCellVisible(arg2
,arg3
); 
9532         wxPyEndAllowThreads(__tstate
); 
9533         if (PyErr_Occurred()) SWIG_fail
; 
9535     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9542 static PyObject 
*_wrap_Grid_SetGridCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9543     PyObject 
*resultobj
; 
9544     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9547     PyObject 
* obj0 
= 0 ; 
9548     PyObject 
* obj1 
= 0 ; 
9549     PyObject 
* obj2 
= 0 ; 
9551         (char *) "self",(char *) "row",(char *) "col", NULL 
 
9554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9555     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9556     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9557     arg2 
= (int) SWIG_AsInt(obj1
);  
9558     if (PyErr_Occurred()) SWIG_fail
; 
9559     arg3 
= (int) SWIG_AsInt(obj2
);  
9560     if (PyErr_Occurred()) SWIG_fail
; 
9562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9563         (arg1
)->SetGridCursor(arg2
,arg3
); 
9565         wxPyEndAllowThreads(__tstate
); 
9566         if (PyErr_Occurred()) SWIG_fail
; 
9568     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9575 static PyObject 
*_wrap_Grid_MoveCursorUp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9576     PyObject 
*resultobj
; 
9577     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9580     PyObject 
* obj0 
= 0 ; 
9581     PyObject 
* obj1 
= 0 ; 
9583         (char *) "self",(char *) "expandSelection", NULL 
 
9586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
; 
9587     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9589     arg2 
= (bool) SWIG_AsBool(obj1
);  
9590     if (PyErr_Occurred()) SWIG_fail
; 
9592         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9593         result 
= (bool)(arg1
)->MoveCursorUp(arg2
); 
9595         wxPyEndAllowThreads(__tstate
); 
9596         if (PyErr_Occurred()) SWIG_fail
; 
9599         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9607 static PyObject 
*_wrap_Grid_MoveCursorDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9608     PyObject 
*resultobj
; 
9609     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9612     PyObject 
* obj0 
= 0 ; 
9613     PyObject 
* obj1 
= 0 ; 
9615         (char *) "self",(char *) "expandSelection", NULL 
 
9618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
9619     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9620     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9621     arg2 
= (bool) SWIG_AsBool(obj1
);  
9622     if (PyErr_Occurred()) SWIG_fail
; 
9624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9625         result 
= (bool)(arg1
)->MoveCursorDown(arg2
); 
9627         wxPyEndAllowThreads(__tstate
); 
9628         if (PyErr_Occurred()) SWIG_fail
; 
9631         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9639 static PyObject 
*_wrap_Grid_MoveCursorLeft(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9640     PyObject 
*resultobj
; 
9641     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9644     PyObject 
* obj0 
= 0 ; 
9645     PyObject 
* obj1 
= 0 ; 
9647         (char *) "self",(char *) "expandSelection", NULL 
 
9650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
; 
9651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9653     arg2 
= (bool) SWIG_AsBool(obj1
);  
9654     if (PyErr_Occurred()) SWIG_fail
; 
9656         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9657         result 
= (bool)(arg1
)->MoveCursorLeft(arg2
); 
9659         wxPyEndAllowThreads(__tstate
); 
9660         if (PyErr_Occurred()) SWIG_fail
; 
9663         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9671 static PyObject 
*_wrap_Grid_MoveCursorRight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9672     PyObject 
*resultobj
; 
9673     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9676     PyObject 
* obj0 
= 0 ; 
9677     PyObject 
* obj1 
= 0 ; 
9679         (char *) "self",(char *) "expandSelection", NULL 
 
9682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
; 
9683     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9684     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9685     arg2 
= (bool) SWIG_AsBool(obj1
);  
9686     if (PyErr_Occurred()) SWIG_fail
; 
9688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9689         result 
= (bool)(arg1
)->MoveCursorRight(arg2
); 
9691         wxPyEndAllowThreads(__tstate
); 
9692         if (PyErr_Occurred()) SWIG_fail
; 
9695         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9703 static PyObject 
*_wrap_Grid_MovePageDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9704     PyObject 
*resultobj
; 
9705     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9707     PyObject 
* obj0 
= 0 ; 
9709         (char *) "self", NULL 
 
9712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
; 
9713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9717         result 
= (bool)(arg1
)->MovePageDown(); 
9719         wxPyEndAllowThreads(__tstate
); 
9720         if (PyErr_Occurred()) SWIG_fail
; 
9723         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9731 static PyObject 
*_wrap_Grid_MovePageUp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9732     PyObject 
*resultobj
; 
9733     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9735     PyObject 
* obj0 
= 0 ; 
9737         (char *) "self", NULL 
 
9740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
; 
9741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9745         result 
= (bool)(arg1
)->MovePageUp(); 
9747         wxPyEndAllowThreads(__tstate
); 
9748         if (PyErr_Occurred()) SWIG_fail
; 
9751         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9759 static PyObject 
*_wrap_Grid_MoveCursorUpBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9760     PyObject 
*resultobj
; 
9761     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9764     PyObject 
* obj0 
= 0 ; 
9765     PyObject 
* obj1 
= 0 ; 
9767         (char *) "self",(char *) "expandSelection", NULL 
 
9770     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
; 
9771     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9772     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9773     arg2 
= (bool) SWIG_AsBool(obj1
);  
9774     if (PyErr_Occurred()) SWIG_fail
; 
9776         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9777         result 
= (bool)(arg1
)->MoveCursorUpBlock(arg2
); 
9779         wxPyEndAllowThreads(__tstate
); 
9780         if (PyErr_Occurred()) SWIG_fail
; 
9783         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9791 static PyObject 
*_wrap_Grid_MoveCursorDownBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9792     PyObject 
*resultobj
; 
9793     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9796     PyObject 
* obj0 
= 0 ; 
9797     PyObject 
* obj1 
= 0 ; 
9799         (char *) "self",(char *) "expandSelection", NULL 
 
9802     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
; 
9803     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9804     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9805     arg2 
= (bool) SWIG_AsBool(obj1
);  
9806     if (PyErr_Occurred()) SWIG_fail
; 
9808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9809         result 
= (bool)(arg1
)->MoveCursorDownBlock(arg2
); 
9811         wxPyEndAllowThreads(__tstate
); 
9812         if (PyErr_Occurred()) SWIG_fail
; 
9815         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9823 static PyObject 
*_wrap_Grid_MoveCursorLeftBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9824     PyObject 
*resultobj
; 
9825     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9828     PyObject 
* obj0 
= 0 ; 
9829     PyObject 
* obj1 
= 0 ; 
9831         (char *) "self",(char *) "expandSelection", NULL 
 
9834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
; 
9835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9837     arg2 
= (bool) SWIG_AsBool(obj1
);  
9838     if (PyErr_Occurred()) SWIG_fail
; 
9840         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9841         result 
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
); 
9843         wxPyEndAllowThreads(__tstate
); 
9844         if (PyErr_Occurred()) SWIG_fail
; 
9847         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9855 static PyObject 
*_wrap_Grid_MoveCursorRightBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9856     PyObject 
*resultobj
; 
9857     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9860     PyObject 
* obj0 
= 0 ; 
9861     PyObject 
* obj1 
= 0 ; 
9863         (char *) "self",(char *) "expandSelection", NULL 
 
9866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
; 
9867     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9868     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9869     arg2 
= (bool) SWIG_AsBool(obj1
);  
9870     if (PyErr_Occurred()) SWIG_fail
; 
9872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9873         result 
= (bool)(arg1
)->MoveCursorRightBlock(arg2
); 
9875         wxPyEndAllowThreads(__tstate
); 
9876         if (PyErr_Occurred()) SWIG_fail
; 
9879         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9887 static PyObject 
*_wrap_Grid_GetDefaultRowLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9888     PyObject 
*resultobj
; 
9889     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9891     PyObject 
* obj0 
= 0 ; 
9893         (char *) "self", NULL 
 
9896     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
; 
9897     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9898     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9901         result 
= (int)(arg1
)->GetDefaultRowLabelSize(); 
9903         wxPyEndAllowThreads(__tstate
); 
9904         if (PyErr_Occurred()) SWIG_fail
; 
9906     resultobj 
= SWIG_FromInt((int)result
); 
9913 static PyObject 
*_wrap_Grid_GetRowLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9914     PyObject 
*resultobj
; 
9915     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9917     PyObject 
* obj0 
= 0 ; 
9919         (char *) "self", NULL 
 
9922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
; 
9923     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9924     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9927         result 
= (int)(arg1
)->GetRowLabelSize(); 
9929         wxPyEndAllowThreads(__tstate
); 
9930         if (PyErr_Occurred()) SWIG_fail
; 
9932     resultobj 
= SWIG_FromInt((int)result
); 
9939 static PyObject 
*_wrap_Grid_GetDefaultColLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9940     PyObject 
*resultobj
; 
9941     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9943     PyObject 
* obj0 
= 0 ; 
9945         (char *) "self", NULL 
 
9948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
; 
9949     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9952         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9953         result 
= (int)(arg1
)->GetDefaultColLabelSize(); 
9955         wxPyEndAllowThreads(__tstate
); 
9956         if (PyErr_Occurred()) SWIG_fail
; 
9958     resultobj 
= SWIG_FromInt((int)result
); 
9965 static PyObject 
*_wrap_Grid_GetColLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9966     PyObject 
*resultobj
; 
9967     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9969     PyObject 
* obj0 
= 0 ; 
9971         (char *) "self", NULL 
 
9974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
; 
9975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9978         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9979         result 
= (int)(arg1
)->GetColLabelSize(); 
9981         wxPyEndAllowThreads(__tstate
); 
9982         if (PyErr_Occurred()) SWIG_fail
; 
9984     resultobj 
= SWIG_FromInt((int)result
); 
9991 static PyObject 
*_wrap_Grid_GetLabelBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9992     PyObject 
*resultobj
; 
9993     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9995     PyObject 
* obj0 
= 0 ; 
9997         (char *) "self", NULL 
 
10000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
; 
10001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10005         result 
= (arg1
)->GetLabelBackgroundColour(); 
10007         wxPyEndAllowThreads(__tstate
); 
10008         if (PyErr_Occurred()) SWIG_fail
; 
10011         wxColour 
* resultptr
; 
10012         resultptr 
= new wxColour((wxColour 
&) result
); 
10013         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10021 static PyObject 
*_wrap_Grid_GetLabelTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10022     PyObject 
*resultobj
; 
10023     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10025     PyObject 
* obj0 
= 0 ; 
10026     char *kwnames
[] = { 
10027         (char *) "self", NULL 
 
10030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
; 
10031     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10032     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10035         result 
= (arg1
)->GetLabelTextColour(); 
10037         wxPyEndAllowThreads(__tstate
); 
10038         if (PyErr_Occurred()) SWIG_fail
; 
10041         wxColour 
* resultptr
; 
10042         resultptr 
= new wxColour((wxColour 
&) result
); 
10043         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10051 static PyObject 
*_wrap_Grid_GetLabelFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10052     PyObject 
*resultobj
; 
10053     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10055     PyObject 
* obj0 
= 0 ; 
10056     char *kwnames
[] = { 
10057         (char *) "self", NULL 
 
10060     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
; 
10061     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10062     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10064         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10065         result 
= (arg1
)->GetLabelFont(); 
10067         wxPyEndAllowThreads(__tstate
); 
10068         if (PyErr_Occurred()) SWIG_fail
; 
10071         wxFont 
* resultptr
; 
10072         resultptr 
= new wxFont((wxFont 
&) result
); 
10073         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
10081 static PyObject 
*_wrap_Grid_GetRowLabelAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10082     PyObject 
*resultobj
; 
10083     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10084     int *arg2 
= (int *) 0 ; 
10085     int *arg3 
= (int *) 0 ; 
10088     PyObject 
* obj0 
= 0 ; 
10089     char *kwnames
[] = { 
10090         (char *) "self", NULL 
 
10095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
; 
10096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10100         (arg1
)->GetRowLabelAlignment(arg2
,arg3
); 
10102         wxPyEndAllowThreads(__tstate
); 
10103         if (PyErr_Occurred()) SWIG_fail
; 
10105     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10107         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
10108         resultobj 
= t_output_helper(resultobj
,o
); 
10111         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
10112         resultobj 
= t_output_helper(resultobj
,o
); 
10120 static PyObject 
*_wrap_Grid_GetColLabelAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10121     PyObject 
*resultobj
; 
10122     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10123     int *arg2 
= (int *) 0 ; 
10124     int *arg3 
= (int *) 0 ; 
10127     PyObject 
* obj0 
= 0 ; 
10128     char *kwnames
[] = { 
10129         (char *) "self", NULL 
 
10134     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
; 
10135     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10136     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10139         (arg1
)->GetColLabelAlignment(arg2
,arg3
); 
10141         wxPyEndAllowThreads(__tstate
); 
10142         if (PyErr_Occurred()) SWIG_fail
; 
10144     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10146         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
10147         resultobj 
= t_output_helper(resultobj
,o
); 
10150         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
10151         resultobj 
= t_output_helper(resultobj
,o
); 
10159 static PyObject 
*_wrap_Grid_GetColLabelTextOrientation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10160     PyObject 
*resultobj
; 
10161     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10163     PyObject 
* obj0 
= 0 ; 
10164     char *kwnames
[] = { 
10165         (char *) "self", NULL 
 
10168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
; 
10169     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10170     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10173         result 
= (int)(arg1
)->GetColLabelTextOrientation(); 
10175         wxPyEndAllowThreads(__tstate
); 
10176         if (PyErr_Occurred()) SWIG_fail
; 
10178     resultobj 
= SWIG_FromInt((int)result
); 
10185 static PyObject 
*_wrap_Grid_GetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10186     PyObject 
*resultobj
; 
10187     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10190     PyObject 
* obj0 
= 0 ; 
10191     PyObject 
* obj1 
= 0 ; 
10192     char *kwnames
[] = { 
10193         (char *) "self",(char *) "row", NULL 
 
10196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
10197     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10198     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10199     arg2 
= (int) SWIG_AsInt(obj1
);  
10200     if (PyErr_Occurred()) SWIG_fail
; 
10202         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10203         result 
= (arg1
)->GetRowLabelValue(arg2
); 
10205         wxPyEndAllowThreads(__tstate
); 
10206         if (PyErr_Occurred()) SWIG_fail
; 
10210         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10212         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10221 static PyObject 
*_wrap_Grid_GetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10222     PyObject 
*resultobj
; 
10223     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10226     PyObject 
* obj0 
= 0 ; 
10227     PyObject 
* obj1 
= 0 ; 
10228     char *kwnames
[] = { 
10229         (char *) "self",(char *) "col", NULL 
 
10232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
10233     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10234     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10235     arg2 
= (int) SWIG_AsInt(obj1
);  
10236     if (PyErr_Occurred()) SWIG_fail
; 
10238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10239         result 
= (arg1
)->GetColLabelValue(arg2
); 
10241         wxPyEndAllowThreads(__tstate
); 
10242         if (PyErr_Occurred()) SWIG_fail
; 
10246         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10248         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10257 static PyObject 
*_wrap_Grid_GetGridLineColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10258     PyObject 
*resultobj
; 
10259     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10261     PyObject 
* obj0 
= 0 ; 
10262     char *kwnames
[] = { 
10263         (char *) "self", NULL 
 
10266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
; 
10267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10271         result 
= (arg1
)->GetGridLineColour(); 
10273         wxPyEndAllowThreads(__tstate
); 
10274         if (PyErr_Occurred()) SWIG_fail
; 
10277         wxColour 
* resultptr
; 
10278         resultptr 
= new wxColour((wxColour 
&) result
); 
10279         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10287 static PyObject 
*_wrap_Grid_GetCellHighlightColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10288     PyObject 
*resultobj
; 
10289     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10291     PyObject 
* obj0 
= 0 ; 
10292     char *kwnames
[] = { 
10293         (char *) "self", NULL 
 
10296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
; 
10297     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10298     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10301         result 
= (arg1
)->GetCellHighlightColour(); 
10303         wxPyEndAllowThreads(__tstate
); 
10304         if (PyErr_Occurred()) SWIG_fail
; 
10307         wxColour 
* resultptr
; 
10308         resultptr 
= new wxColour((wxColour 
&) result
); 
10309         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10317 static PyObject 
*_wrap_Grid_GetCellHighlightPenWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10318     PyObject 
*resultobj
; 
10319     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10321     PyObject 
* obj0 
= 0 ; 
10322     char *kwnames
[] = { 
10323         (char *) "self", NULL 
 
10326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
; 
10327     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10328     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10331         result 
= (int)(arg1
)->GetCellHighlightPenWidth(); 
10333         wxPyEndAllowThreads(__tstate
); 
10334         if (PyErr_Occurred()) SWIG_fail
; 
10336     resultobj 
= SWIG_FromInt((int)result
); 
10343 static PyObject 
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10344     PyObject 
*resultobj
; 
10345     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10347     PyObject 
* obj0 
= 0 ; 
10348     char *kwnames
[] = { 
10349         (char *) "self", NULL 
 
10352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
; 
10353     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10354     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10357         result 
= (int)(arg1
)->GetCellHighlightROPenWidth(); 
10359         wxPyEndAllowThreads(__tstate
); 
10360         if (PyErr_Occurred()) SWIG_fail
; 
10362     resultobj 
= SWIG_FromInt((int)result
); 
10369 static PyObject 
*_wrap_Grid_SetRowLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10370     PyObject 
*resultobj
; 
10371     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10373     PyObject 
* obj0 
= 0 ; 
10374     PyObject 
* obj1 
= 0 ; 
10375     char *kwnames
[] = { 
10376         (char *) "self",(char *) "width", NULL 
 
10379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10380     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10381     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10382     arg2 
= (int) SWIG_AsInt(obj1
);  
10383     if (PyErr_Occurred()) SWIG_fail
; 
10385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10386         (arg1
)->SetRowLabelSize(arg2
); 
10388         wxPyEndAllowThreads(__tstate
); 
10389         if (PyErr_Occurred()) SWIG_fail
; 
10391     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10398 static PyObject 
*_wrap_Grid_SetColLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10399     PyObject 
*resultobj
; 
10400     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10402     PyObject 
* obj0 
= 0 ; 
10403     PyObject 
* obj1 
= 0 ; 
10404     char *kwnames
[] = { 
10405         (char *) "self",(char *) "height", NULL 
 
10408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10409     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10410     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10411     arg2 
= (int) SWIG_AsInt(obj1
);  
10412     if (PyErr_Occurred()) SWIG_fail
; 
10414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10415         (arg1
)->SetColLabelSize(arg2
); 
10417         wxPyEndAllowThreads(__tstate
); 
10418         if (PyErr_Occurred()) SWIG_fail
; 
10420     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10427 static PyObject 
*_wrap_Grid_SetLabelBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10428     PyObject 
*resultobj
; 
10429     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10430     wxColour 
*arg2 
= 0 ; 
10432     PyObject 
* obj0 
= 0 ; 
10433     PyObject 
* obj1 
= 0 ; 
10434     char *kwnames
[] = { 
10435         (char *) "self","arg2", NULL 
 
10438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
10439     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10440     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10443         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10447         (arg1
)->SetLabelBackgroundColour((wxColour 
const &)*arg2
); 
10449         wxPyEndAllowThreads(__tstate
); 
10450         if (PyErr_Occurred()) SWIG_fail
; 
10452     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10459 static PyObject 
*_wrap_Grid_SetLabelTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10460     PyObject 
*resultobj
; 
10461     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10462     wxColour 
*arg2 
= 0 ; 
10464     PyObject 
* obj0 
= 0 ; 
10465     PyObject 
* obj1 
= 0 ; 
10466     char *kwnames
[] = { 
10467         (char *) "self","arg2", NULL 
 
10470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
10471     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10472     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10475         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10479         (arg1
)->SetLabelTextColour((wxColour 
const &)*arg2
); 
10481         wxPyEndAllowThreads(__tstate
); 
10482         if (PyErr_Occurred()) SWIG_fail
; 
10484     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10491 static PyObject 
*_wrap_Grid_SetLabelFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10492     PyObject 
*resultobj
; 
10493     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10495     PyObject 
* obj0 
= 0 ; 
10496     PyObject 
* obj1 
= 0 ; 
10497     char *kwnames
[] = { 
10498         (char *) "self","arg2", NULL 
 
10501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
10502     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10503     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10504     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
10505     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
10507     if (arg2 
== NULL
) { 
10508         PyErr_SetString(PyExc_TypeError
,"null reference"); 
10512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10513         (arg1
)->SetLabelFont((wxFont 
const &)*arg2
); 
10515         wxPyEndAllowThreads(__tstate
); 
10516         if (PyErr_Occurred()) SWIG_fail
; 
10518     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10525 static PyObject 
*_wrap_Grid_SetRowLabelAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10526     PyObject 
*resultobj
; 
10527     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10530     PyObject 
* obj0 
= 0 ; 
10531     PyObject 
* obj1 
= 0 ; 
10532     PyObject 
* obj2 
= 0 ; 
10533     char *kwnames
[] = { 
10534         (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
10537     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10538     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10539     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10540     arg2 
= (int) SWIG_AsInt(obj1
);  
10541     if (PyErr_Occurred()) SWIG_fail
; 
10542     arg3 
= (int) SWIG_AsInt(obj2
);  
10543     if (PyErr_Occurred()) SWIG_fail
; 
10545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10546         (arg1
)->SetRowLabelAlignment(arg2
,arg3
); 
10548         wxPyEndAllowThreads(__tstate
); 
10549         if (PyErr_Occurred()) SWIG_fail
; 
10551     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10558 static PyObject 
*_wrap_Grid_SetColLabelAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10559     PyObject 
*resultobj
; 
10560     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10563     PyObject 
* obj0 
= 0 ; 
10564     PyObject 
* obj1 
= 0 ; 
10565     PyObject 
* obj2 
= 0 ; 
10566     char *kwnames
[] = { 
10567         (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
10570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10571     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10572     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10573     arg2 
= (int) SWIG_AsInt(obj1
);  
10574     if (PyErr_Occurred()) SWIG_fail
; 
10575     arg3 
= (int) SWIG_AsInt(obj2
);  
10576     if (PyErr_Occurred()) SWIG_fail
; 
10578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10579         (arg1
)->SetColLabelAlignment(arg2
,arg3
); 
10581         wxPyEndAllowThreads(__tstate
); 
10582         if (PyErr_Occurred()) SWIG_fail
; 
10584     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10591 static PyObject 
*_wrap_Grid_SetColLabelTextOrientation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10592     PyObject 
*resultobj
; 
10593     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10595     PyObject 
* obj0 
= 0 ; 
10596     PyObject 
* obj1 
= 0 ; 
10597     char *kwnames
[] = { 
10598         (char *) "self",(char *) "textOrientation", NULL 
 
10601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
; 
10602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10603     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10604     arg2 
= (int) SWIG_AsInt(obj1
);  
10605     if (PyErr_Occurred()) SWIG_fail
; 
10607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10608         (arg1
)->SetColLabelTextOrientation(arg2
); 
10610         wxPyEndAllowThreads(__tstate
); 
10611         if (PyErr_Occurred()) SWIG_fail
; 
10613     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10620 static PyObject 
*_wrap_Grid_SetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10621     PyObject 
*resultobj
; 
10622     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10624     wxString 
*arg3 
= 0 ; 
10625     bool temp3 
= False 
; 
10626     PyObject 
* obj0 
= 0 ; 
10627     PyObject 
* obj1 
= 0 ; 
10628     PyObject 
* obj2 
= 0 ; 
10629     char *kwnames
[] = { 
10630         (char *) "self",(char *) "row","arg3", NULL 
 
10633     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10634     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10635     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10636     arg2 
= (int) SWIG_AsInt(obj1
);  
10637     if (PyErr_Occurred()) SWIG_fail
; 
10639         arg3 
= wxString_in_helper(obj2
); 
10640         if (arg3 
== NULL
) SWIG_fail
; 
10644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10645         (arg1
)->SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
10647         wxPyEndAllowThreads(__tstate
); 
10648         if (PyErr_Occurred()) SWIG_fail
; 
10650     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10665 static PyObject 
*_wrap_Grid_SetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10666     PyObject 
*resultobj
; 
10667     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10669     wxString 
*arg3 
= 0 ; 
10670     bool temp3 
= False 
; 
10671     PyObject 
* obj0 
= 0 ; 
10672     PyObject 
* obj1 
= 0 ; 
10673     PyObject 
* obj2 
= 0 ; 
10674     char *kwnames
[] = { 
10675         (char *) "self",(char *) "col","arg3", NULL 
 
10678     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10679     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10680     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10681     arg2 
= (int) SWIG_AsInt(obj1
);  
10682     if (PyErr_Occurred()) SWIG_fail
; 
10684         arg3 
= wxString_in_helper(obj2
); 
10685         if (arg3 
== NULL
) SWIG_fail
; 
10689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10690         (arg1
)->SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
10692         wxPyEndAllowThreads(__tstate
); 
10693         if (PyErr_Occurred()) SWIG_fail
; 
10695     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10710 static PyObject 
*_wrap_Grid_SetGridLineColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10711     PyObject 
*resultobj
; 
10712     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10713     wxColour 
*arg2 
= 0 ; 
10715     PyObject 
* obj0 
= 0 ; 
10716     PyObject 
* obj1 
= 0 ; 
10717     char *kwnames
[] = { 
10718         (char *) "self","arg2", NULL 
 
10721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
10722     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10723     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10726         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10729         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10730         (arg1
)->SetGridLineColour((wxColour 
const &)*arg2
); 
10732         wxPyEndAllowThreads(__tstate
); 
10733         if (PyErr_Occurred()) SWIG_fail
; 
10735     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10742 static PyObject 
*_wrap_Grid_SetCellHighlightColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10743     PyObject 
*resultobj
; 
10744     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10745     wxColour 
*arg2 
= 0 ; 
10747     PyObject 
* obj0 
= 0 ; 
10748     PyObject 
* obj1 
= 0 ; 
10749     char *kwnames
[] = { 
10750         (char *) "self","arg2", NULL 
 
10753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
10754     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10755     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10758         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10761         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10762         (arg1
)->SetCellHighlightColour((wxColour 
const &)*arg2
); 
10764         wxPyEndAllowThreads(__tstate
); 
10765         if (PyErr_Occurred()) SWIG_fail
; 
10767     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10774 static PyObject 
*_wrap_Grid_SetCellHighlightPenWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10775     PyObject 
*resultobj
; 
10776     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10778     PyObject 
* obj0 
= 0 ; 
10779     PyObject 
* obj1 
= 0 ; 
10780     char *kwnames
[] = { 
10781         (char *) "self",(char *) "width", NULL 
 
10784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
10785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10787     arg2 
= (int) SWIG_AsInt(obj1
);  
10788     if (PyErr_Occurred()) SWIG_fail
; 
10790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10791         (arg1
)->SetCellHighlightPenWidth(arg2
); 
10793         wxPyEndAllowThreads(__tstate
); 
10794         if (PyErr_Occurred()) SWIG_fail
; 
10796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10803 static PyObject 
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10804     PyObject 
*resultobj
; 
10805     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10807     PyObject 
* obj0 
= 0 ; 
10808     PyObject 
* obj1 
= 0 ; 
10809     char *kwnames
[] = { 
10810         (char *) "self",(char *) "width", NULL 
 
10813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
10814     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10815     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10816     arg2 
= (int) SWIG_AsInt(obj1
);  
10817     if (PyErr_Occurred()) SWIG_fail
; 
10819         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10820         (arg1
)->SetCellHighlightROPenWidth(arg2
); 
10822         wxPyEndAllowThreads(__tstate
); 
10823         if (PyErr_Occurred()) SWIG_fail
; 
10825     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10832 static PyObject 
*_wrap_Grid_EnableDragRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10833     PyObject 
*resultobj
; 
10834     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10835     bool arg2 
= (bool) True 
; 
10836     PyObject 
* obj0 
= 0 ; 
10837     PyObject 
* obj1 
= 0 ; 
10838     char *kwnames
[] = { 
10839         (char *) "self",(char *) "enable", NULL 
 
10842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10846         arg2 
= (bool) SWIG_AsBool(obj1
);  
10847         if (PyErr_Occurred()) SWIG_fail
; 
10850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10851         (arg1
)->EnableDragRowSize(arg2
); 
10853         wxPyEndAllowThreads(__tstate
); 
10854         if (PyErr_Occurred()) SWIG_fail
; 
10856     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10863 static PyObject 
*_wrap_Grid_DisableDragRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10864     PyObject 
*resultobj
; 
10865     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10866     PyObject 
* obj0 
= 0 ; 
10867     char *kwnames
[] = { 
10868         (char *) "self", NULL 
 
10871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
; 
10872     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10873     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10875         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10876         (arg1
)->DisableDragRowSize(); 
10878         wxPyEndAllowThreads(__tstate
); 
10879         if (PyErr_Occurred()) SWIG_fail
; 
10881     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10888 static PyObject 
*_wrap_Grid_CanDragRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10889     PyObject 
*resultobj
; 
10890     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10892     PyObject 
* obj0 
= 0 ; 
10893     char *kwnames
[] = { 
10894         (char *) "self", NULL 
 
10897     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
; 
10898     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10899     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10901         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10902         result 
= (bool)(arg1
)->CanDragRowSize(); 
10904         wxPyEndAllowThreads(__tstate
); 
10905         if (PyErr_Occurred()) SWIG_fail
; 
10908         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10916 static PyObject 
*_wrap_Grid_EnableDragColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10917     PyObject 
*resultobj
; 
10918     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10919     bool arg2 
= (bool) True 
; 
10920     PyObject 
* obj0 
= 0 ; 
10921     PyObject 
* obj1 
= 0 ; 
10922     char *kwnames
[] = { 
10923         (char *) "self",(char *) "enable", NULL 
 
10926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10927     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10928     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10930         arg2 
= (bool) SWIG_AsBool(obj1
);  
10931         if (PyErr_Occurred()) SWIG_fail
; 
10934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10935         (arg1
)->EnableDragColSize(arg2
); 
10937         wxPyEndAllowThreads(__tstate
); 
10938         if (PyErr_Occurred()) SWIG_fail
; 
10940     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10947 static PyObject 
*_wrap_Grid_DisableDragColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10948     PyObject 
*resultobj
; 
10949     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10950     PyObject 
* obj0 
= 0 ; 
10951     char *kwnames
[] = { 
10952         (char *) "self", NULL 
 
10955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
; 
10956     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10957     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10959         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10960         (arg1
)->DisableDragColSize(); 
10962         wxPyEndAllowThreads(__tstate
); 
10963         if (PyErr_Occurred()) SWIG_fail
; 
10965     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10972 static PyObject 
*_wrap_Grid_CanDragColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10973     PyObject 
*resultobj
; 
10974     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10976     PyObject 
* obj0 
= 0 ; 
10977     char *kwnames
[] = { 
10978         (char *) "self", NULL 
 
10981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
; 
10982     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10983     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10985         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10986         result 
= (bool)(arg1
)->CanDragColSize(); 
10988         wxPyEndAllowThreads(__tstate
); 
10989         if (PyErr_Occurred()) SWIG_fail
; 
10992         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11000 static PyObject 
*_wrap_Grid_EnableDragGridSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11001     PyObject 
*resultobj
; 
11002     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11003     bool arg2 
= (bool) True 
; 
11004     PyObject 
* obj0 
= 0 ; 
11005     PyObject 
* obj1 
= 0 ; 
11006     char *kwnames
[] = { 
11007         (char *) "self",(char *) "enable", NULL 
 
11010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
11011     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11014         arg2 
= (bool) SWIG_AsBool(obj1
);  
11015         if (PyErr_Occurred()) SWIG_fail
; 
11018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11019         (arg1
)->EnableDragGridSize(arg2
); 
11021         wxPyEndAllowThreads(__tstate
); 
11022         if (PyErr_Occurred()) SWIG_fail
; 
11024     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11031 static PyObject 
*_wrap_Grid_DisableDragGridSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11032     PyObject 
*resultobj
; 
11033     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11034     PyObject 
* obj0 
= 0 ; 
11035     char *kwnames
[] = { 
11036         (char *) "self", NULL 
 
11039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
; 
11040     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11041     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11043         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11044         (arg1
)->DisableDragGridSize(); 
11046         wxPyEndAllowThreads(__tstate
); 
11047         if (PyErr_Occurred()) SWIG_fail
; 
11049     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11056 static PyObject 
*_wrap_Grid_CanDragGridSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11057     PyObject 
*resultobj
; 
11058     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11060     PyObject 
* obj0 
= 0 ; 
11061     char *kwnames
[] = { 
11062         (char *) "self", NULL 
 
11065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
; 
11066     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11067     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11069         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11070         result 
= (bool)(arg1
)->CanDragGridSize(); 
11072         wxPyEndAllowThreads(__tstate
); 
11073         if (PyErr_Occurred()) SWIG_fail
; 
11076         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11084 static PyObject 
*_wrap_Grid_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11085     PyObject 
*resultobj
; 
11086     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11089     wxGridCellAttr 
*arg4 
= (wxGridCellAttr 
*) 0 ; 
11090     PyObject 
* obj0 
= 0 ; 
11091     PyObject 
* obj1 
= 0 ; 
11092     PyObject 
* obj2 
= 0 ; 
11093     PyObject 
* obj3 
= 0 ; 
11094     char *kwnames
[] = { 
11095         (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL 
 
11098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11099     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11100     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11101     arg2 
= (int) SWIG_AsInt(obj1
);  
11102     if (PyErr_Occurred()) SWIG_fail
; 
11103     arg3 
= (int) SWIG_AsInt(obj2
);  
11104     if (PyErr_Occurred()) SWIG_fail
; 
11105     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
, 
11106     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11109         (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
11111         wxPyEndAllowThreads(__tstate
); 
11112         if (PyErr_Occurred()) SWIG_fail
; 
11114     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11121 static PyObject 
*_wrap_Grid_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11122     PyObject 
*resultobj
; 
11123     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11125     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
11126     PyObject 
* obj0 
= 0 ; 
11127     PyObject 
* obj1 
= 0 ; 
11128     PyObject 
* obj2 
= 0 ; 
11129     char *kwnames
[] = { 
11130         (char *) "self",(char *) "row",(char *) "attr", NULL 
 
11133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11134     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11135     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11136     arg2 
= (int) SWIG_AsInt(obj1
);  
11137     if (PyErr_Occurred()) SWIG_fail
; 
11138     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
11139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11141         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11142         (arg1
)->SetRowAttr(arg2
,arg3
); 
11144         wxPyEndAllowThreads(__tstate
); 
11145         if (PyErr_Occurred()) SWIG_fail
; 
11147     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11154 static PyObject 
*_wrap_Grid_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11155     PyObject 
*resultobj
; 
11156     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11158     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
11159     PyObject 
* obj0 
= 0 ; 
11160     PyObject 
* obj1 
= 0 ; 
11161     PyObject 
* obj2 
= 0 ; 
11162     char *kwnames
[] = { 
11163         (char *) "self",(char *) "col",(char *) "attr", NULL 
 
11166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11167     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11169     arg2 
= (int) SWIG_AsInt(obj1
);  
11170     if (PyErr_Occurred()) SWIG_fail
; 
11171     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
11172     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11175         (arg1
)->SetColAttr(arg2
,arg3
); 
11177         wxPyEndAllowThreads(__tstate
); 
11178         if (PyErr_Occurred()) SWIG_fail
; 
11180     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11187 static PyObject 
*_wrap_Grid_SetColFormatBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11188     PyObject 
*resultobj
; 
11189     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11191     PyObject 
* obj0 
= 0 ; 
11192     PyObject 
* obj1 
= 0 ; 
11193     char *kwnames
[] = { 
11194         (char *) "self",(char *) "col", NULL 
 
11197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
; 
11198     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11199     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11200     arg2 
= (int) SWIG_AsInt(obj1
);  
11201     if (PyErr_Occurred()) SWIG_fail
; 
11203         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11204         (arg1
)->SetColFormatBool(arg2
); 
11206         wxPyEndAllowThreads(__tstate
); 
11207         if (PyErr_Occurred()) SWIG_fail
; 
11209     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11216 static PyObject 
*_wrap_Grid_SetColFormatNumber(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11217     PyObject 
*resultobj
; 
11218     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11220     PyObject 
* obj0 
= 0 ; 
11221     PyObject 
* obj1 
= 0 ; 
11222     char *kwnames
[] = { 
11223         (char *) "self",(char *) "col", NULL 
 
11226     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
; 
11227     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11228     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11229     arg2 
= (int) SWIG_AsInt(obj1
);  
11230     if (PyErr_Occurred()) SWIG_fail
; 
11232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11233         (arg1
)->SetColFormatNumber(arg2
); 
11235         wxPyEndAllowThreads(__tstate
); 
11236         if (PyErr_Occurred()) SWIG_fail
; 
11238     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11245 static PyObject 
*_wrap_Grid_SetColFormatFloat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11246     PyObject 
*resultobj
; 
11247     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11249     int arg3 
= (int) -1 ; 
11250     int arg4 
= (int) -1 ; 
11251     PyObject 
* obj0 
= 0 ; 
11252     PyObject 
* obj1 
= 0 ; 
11253     PyObject 
* obj2 
= 0 ; 
11254     PyObject 
* obj3 
= 0 ; 
11255     char *kwnames
[] = { 
11256         (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL 
 
11259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11262     arg2 
= (int) SWIG_AsInt(obj1
);  
11263     if (PyErr_Occurred()) SWIG_fail
; 
11265         arg3 
= (int) SWIG_AsInt(obj2
);  
11266         if (PyErr_Occurred()) SWIG_fail
; 
11269         arg4 
= (int) SWIG_AsInt(obj3
);  
11270         if (PyErr_Occurred()) SWIG_fail
; 
11273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11274         (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
); 
11276         wxPyEndAllowThreads(__tstate
); 
11277         if (PyErr_Occurred()) SWIG_fail
; 
11279     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11286 static PyObject 
*_wrap_Grid_SetColFormatCustom(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11287     PyObject 
*resultobj
; 
11288     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11290     wxString 
*arg3 
= 0 ; 
11291     bool temp3 
= False 
; 
11292     PyObject 
* obj0 
= 0 ; 
11293     PyObject 
* obj1 
= 0 ; 
11294     PyObject 
* obj2 
= 0 ; 
11295     char *kwnames
[] = { 
11296         (char *) "self",(char *) "col",(char *) "typeName", NULL 
 
11299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11300     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11301     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11302     arg2 
= (int) SWIG_AsInt(obj1
);  
11303     if (PyErr_Occurred()) SWIG_fail
; 
11305         arg3 
= wxString_in_helper(obj2
); 
11306         if (arg3 
== NULL
) SWIG_fail
; 
11310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11311         (arg1
)->SetColFormatCustom(arg2
,(wxString 
const &)*arg3
); 
11313         wxPyEndAllowThreads(__tstate
); 
11314         if (PyErr_Occurred()) SWIG_fail
; 
11316     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11331 static PyObject 
*_wrap_Grid_EnableGridLines(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11332     PyObject 
*resultobj
; 
11333     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11334     bool arg2 
= (bool) True 
; 
11335     PyObject 
* obj0 
= 0 ; 
11336     PyObject 
* obj1 
= 0 ; 
11337     char *kwnames
[] = { 
11338         (char *) "self",(char *) "enable", NULL 
 
11341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
; 
11342     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11343     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11345         arg2 
= (bool) SWIG_AsBool(obj1
);  
11346         if (PyErr_Occurred()) SWIG_fail
; 
11349         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11350         (arg1
)->EnableGridLines(arg2
); 
11352         wxPyEndAllowThreads(__tstate
); 
11353         if (PyErr_Occurred()) SWIG_fail
; 
11355     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11362 static PyObject 
*_wrap_Grid_GridLinesEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11363     PyObject 
*resultobj
; 
11364     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11366     PyObject 
* obj0 
= 0 ; 
11367     char *kwnames
[] = { 
11368         (char *) "self", NULL 
 
11371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
; 
11372     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11373     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11375         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11376         result 
= (bool)(arg1
)->GridLinesEnabled(); 
11378         wxPyEndAllowThreads(__tstate
); 
11379         if (PyErr_Occurred()) SWIG_fail
; 
11382         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11390 static PyObject 
*_wrap_Grid_GetDefaultRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11391     PyObject 
*resultobj
; 
11392     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11394     PyObject 
* obj0 
= 0 ; 
11395     char *kwnames
[] = { 
11396         (char *) "self", NULL 
 
11399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
; 
11400     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11401     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11404         result 
= (int)(arg1
)->GetDefaultRowSize(); 
11406         wxPyEndAllowThreads(__tstate
); 
11407         if (PyErr_Occurred()) SWIG_fail
; 
11409     resultobj 
= SWIG_FromInt((int)result
); 
11416 static PyObject 
*_wrap_Grid_GetRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11417     PyObject 
*resultobj
; 
11418     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11421     PyObject 
* obj0 
= 0 ; 
11422     PyObject 
* obj1 
= 0 ; 
11423     char *kwnames
[] = { 
11424         (char *) "self",(char *) "row", NULL 
 
11427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
11428     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11429     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11430     arg2 
= (int) SWIG_AsInt(obj1
);  
11431     if (PyErr_Occurred()) SWIG_fail
; 
11433         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11434         result 
= (int)(arg1
)->GetRowSize(arg2
); 
11436         wxPyEndAllowThreads(__tstate
); 
11437         if (PyErr_Occurred()) SWIG_fail
; 
11439     resultobj 
= SWIG_FromInt((int)result
); 
11446 static PyObject 
*_wrap_Grid_GetDefaultColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11447     PyObject 
*resultobj
; 
11448     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11450     PyObject 
* obj0 
= 0 ; 
11451     char *kwnames
[] = { 
11452         (char *) "self", NULL 
 
11455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
; 
11456     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11457     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11459         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11460         result 
= (int)(arg1
)->GetDefaultColSize(); 
11462         wxPyEndAllowThreads(__tstate
); 
11463         if (PyErr_Occurred()) SWIG_fail
; 
11465     resultobj 
= SWIG_FromInt((int)result
); 
11472 static PyObject 
*_wrap_Grid_GetColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11473     PyObject 
*resultobj
; 
11474     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11477     PyObject 
* obj0 
= 0 ; 
11478     PyObject 
* obj1 
= 0 ; 
11479     char *kwnames
[] = { 
11480         (char *) "self",(char *) "col", NULL 
 
11483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
11484     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11485     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11486     arg2 
= (int) SWIG_AsInt(obj1
);  
11487     if (PyErr_Occurred()) SWIG_fail
; 
11489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11490         result 
= (int)(arg1
)->GetColSize(arg2
); 
11492         wxPyEndAllowThreads(__tstate
); 
11493         if (PyErr_Occurred()) SWIG_fail
; 
11495     resultobj 
= SWIG_FromInt((int)result
); 
11502 static PyObject 
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11503     PyObject 
*resultobj
; 
11504     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11506     PyObject 
* obj0 
= 0 ; 
11507     char *kwnames
[] = { 
11508         (char *) "self", NULL 
 
11511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
; 
11512     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11513     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11516         result 
= (arg1
)->GetDefaultCellBackgroundColour(); 
11518         wxPyEndAllowThreads(__tstate
); 
11519         if (PyErr_Occurred()) SWIG_fail
; 
11522         wxColour 
* resultptr
; 
11523         resultptr 
= new wxColour((wxColour 
&) result
); 
11524         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11532 static PyObject 
*_wrap_Grid_GetCellBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11533     PyObject 
*resultobj
; 
11534     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11538     PyObject 
* obj0 
= 0 ; 
11539     PyObject 
* obj1 
= 0 ; 
11540     PyObject 
* obj2 
= 0 ; 
11541     char *kwnames
[] = { 
11542         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11546     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11547     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11548     arg2 
= (int) SWIG_AsInt(obj1
);  
11549     if (PyErr_Occurred()) SWIG_fail
; 
11550     arg3 
= (int) SWIG_AsInt(obj2
);  
11551     if (PyErr_Occurred()) SWIG_fail
; 
11553         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11554         result 
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
); 
11556         wxPyEndAllowThreads(__tstate
); 
11557         if (PyErr_Occurred()) SWIG_fail
; 
11560         wxColour 
* resultptr
; 
11561         resultptr 
= new wxColour((wxColour 
&) result
); 
11562         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11570 static PyObject 
*_wrap_Grid_GetDefaultCellTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11571     PyObject 
*resultobj
; 
11572     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11574     PyObject 
* obj0 
= 0 ; 
11575     char *kwnames
[] = { 
11576         (char *) "self", NULL 
 
11579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
; 
11580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11584         result 
= (arg1
)->GetDefaultCellTextColour(); 
11586         wxPyEndAllowThreads(__tstate
); 
11587         if (PyErr_Occurred()) SWIG_fail
; 
11590         wxColour 
* resultptr
; 
11591         resultptr 
= new wxColour((wxColour 
&) result
); 
11592         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11600 static PyObject 
*_wrap_Grid_GetCellTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11601     PyObject 
*resultobj
; 
11602     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11606     PyObject 
* obj0 
= 0 ; 
11607     PyObject 
* obj1 
= 0 ; 
11608     PyObject 
* obj2 
= 0 ; 
11609     char *kwnames
[] = { 
11610         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11613     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11614     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11615     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11616     arg2 
= (int) SWIG_AsInt(obj1
);  
11617     if (PyErr_Occurred()) SWIG_fail
; 
11618     arg3 
= (int) SWIG_AsInt(obj2
);  
11619     if (PyErr_Occurred()) SWIG_fail
; 
11621         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11622         result 
= (arg1
)->GetCellTextColour(arg2
,arg3
); 
11624         wxPyEndAllowThreads(__tstate
); 
11625         if (PyErr_Occurred()) SWIG_fail
; 
11628         wxColour 
* resultptr
; 
11629         resultptr 
= new wxColour((wxColour 
&) result
); 
11630         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11638 static PyObject 
*_wrap_Grid_GetDefaultCellFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11639     PyObject 
*resultobj
; 
11640     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11642     PyObject 
* obj0 
= 0 ; 
11643     char *kwnames
[] = { 
11644         (char *) "self", NULL 
 
11647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
; 
11648     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11649     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11652         result 
= (arg1
)->GetDefaultCellFont(); 
11654         wxPyEndAllowThreads(__tstate
); 
11655         if (PyErr_Occurred()) SWIG_fail
; 
11658         wxFont 
* resultptr
; 
11659         resultptr 
= new wxFont((wxFont 
&) result
); 
11660         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
11668 static PyObject 
*_wrap_Grid_GetCellFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11669     PyObject 
*resultobj
; 
11670     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11674     PyObject 
* obj0 
= 0 ; 
11675     PyObject 
* obj1 
= 0 ; 
11676     PyObject 
* obj2 
= 0 ; 
11677     char *kwnames
[] = { 
11678         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11681     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11682     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11683     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11684     arg2 
= (int) SWIG_AsInt(obj1
);  
11685     if (PyErr_Occurred()) SWIG_fail
; 
11686     arg3 
= (int) SWIG_AsInt(obj2
);  
11687     if (PyErr_Occurred()) SWIG_fail
; 
11689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11690         result 
= (arg1
)->GetCellFont(arg2
,arg3
); 
11692         wxPyEndAllowThreads(__tstate
); 
11693         if (PyErr_Occurred()) SWIG_fail
; 
11696         wxFont 
* resultptr
; 
11697         resultptr 
= new wxFont((wxFont 
&) result
); 
11698         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
11706 static PyObject 
*_wrap_Grid_GetDefaultCellAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11707     PyObject 
*resultobj
; 
11708     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11709     int *arg2 
= (int *) 0 ; 
11710     int *arg3 
= (int *) 0 ; 
11713     PyObject 
* obj0 
= 0 ; 
11714     char *kwnames
[] = { 
11715         (char *) "self", NULL 
 
11720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
; 
11721     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11722     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11725         (arg1
)->GetDefaultCellAlignment(arg2
,arg3
); 
11727         wxPyEndAllowThreads(__tstate
); 
11728         if (PyErr_Occurred()) SWIG_fail
; 
11730     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11732         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
11733         resultobj 
= t_output_helper(resultobj
,o
); 
11736         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
11737         resultobj 
= t_output_helper(resultobj
,o
); 
11745 static PyObject 
*_wrap_Grid_GetCellAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11746     PyObject 
*resultobj
; 
11747     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11750     int *arg4 
= (int *) 0 ; 
11751     int *arg5 
= (int *) 0 ; 
11754     PyObject 
* obj0 
= 0 ; 
11755     PyObject 
* obj1 
= 0 ; 
11756     PyObject 
* obj2 
= 0 ; 
11757     char *kwnames
[] = { 
11758         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11764     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11766     arg2 
= (int) SWIG_AsInt(obj1
);  
11767     if (PyErr_Occurred()) SWIG_fail
; 
11768     arg3 
= (int) SWIG_AsInt(obj2
);  
11769     if (PyErr_Occurred()) SWIG_fail
; 
11771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11772         (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
); 
11774         wxPyEndAllowThreads(__tstate
); 
11775         if (PyErr_Occurred()) SWIG_fail
; 
11777     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11779         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
11780         resultobj 
= t_output_helper(resultobj
,o
); 
11783         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
11784         resultobj 
= t_output_helper(resultobj
,o
); 
11792 static PyObject 
*_wrap_Grid_GetDefaultCellOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11793     PyObject 
*resultobj
; 
11794     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11796     PyObject 
* obj0 
= 0 ; 
11797     char *kwnames
[] = { 
11798         (char *) "self", NULL 
 
11801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
; 
11802     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11803     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11806         result 
= (bool)(arg1
)->GetDefaultCellOverflow(); 
11808         wxPyEndAllowThreads(__tstate
); 
11809         if (PyErr_Occurred()) SWIG_fail
; 
11812         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11820 static PyObject 
*_wrap_Grid_GetCellOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11821     PyObject 
*resultobj
; 
11822     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11826     PyObject 
* obj0 
= 0 ; 
11827     PyObject 
* obj1 
= 0 ; 
11828     PyObject 
* obj2 
= 0 ; 
11829     char *kwnames
[] = { 
11830         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11833     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11834     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11835     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11836     arg2 
= (int) SWIG_AsInt(obj1
);  
11837     if (PyErr_Occurred()) SWIG_fail
; 
11838     arg3 
= (int) SWIG_AsInt(obj2
);  
11839     if (PyErr_Occurred()) SWIG_fail
; 
11841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11842         result 
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
); 
11844         wxPyEndAllowThreads(__tstate
); 
11845         if (PyErr_Occurred()) SWIG_fail
; 
11848         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11856 static PyObject 
*_wrap_Grid_GetCellSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11857     PyObject 
*resultobj
; 
11858     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11861     int *arg4 
= (int *) 0 ; 
11862     int *arg5 
= (int *) 0 ; 
11865     PyObject 
* obj0 
= 0 ; 
11866     PyObject 
* obj1 
= 0 ; 
11867     PyObject 
* obj2 
= 0 ; 
11868     char *kwnames
[] = { 
11869         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11875     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11877     arg2 
= (int) SWIG_AsInt(obj1
);  
11878     if (PyErr_Occurred()) SWIG_fail
; 
11879     arg3 
= (int) SWIG_AsInt(obj2
);  
11880     if (PyErr_Occurred()) SWIG_fail
; 
11882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11883         (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
); 
11885         wxPyEndAllowThreads(__tstate
); 
11886         if (PyErr_Occurred()) SWIG_fail
; 
11888     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11890         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
11891         resultobj 
= t_output_helper(resultobj
,o
); 
11894         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
11895         resultobj 
= t_output_helper(resultobj
,o
); 
11903 static PyObject 
*_wrap_Grid_SetDefaultRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11904     PyObject 
*resultobj
; 
11905     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11907     bool arg3 
= (bool) False 
; 
11908     PyObject 
* obj0 
= 0 ; 
11909     PyObject 
* obj1 
= 0 ; 
11910     PyObject 
* obj2 
= 0 ; 
11911     char *kwnames
[] = { 
11912         (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL 
 
11915     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11916     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11917     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11918     arg2 
= (int) SWIG_AsInt(obj1
);  
11919     if (PyErr_Occurred()) SWIG_fail
; 
11921         arg3 
= (bool) SWIG_AsBool(obj2
);  
11922         if (PyErr_Occurred()) SWIG_fail
; 
11925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11926         (arg1
)->SetDefaultRowSize(arg2
,arg3
); 
11928         wxPyEndAllowThreads(__tstate
); 
11929         if (PyErr_Occurred()) SWIG_fail
; 
11931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11938 static PyObject 
*_wrap_Grid_SetRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11939     PyObject 
*resultobj
; 
11940     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11943     PyObject 
* obj0 
= 0 ; 
11944     PyObject 
* obj1 
= 0 ; 
11945     PyObject 
* obj2 
= 0 ; 
11946     char *kwnames
[] = { 
11947         (char *) "self",(char *) "row",(char *) "height", NULL 
 
11950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11951     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11952     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11953     arg2 
= (int) SWIG_AsInt(obj1
);  
11954     if (PyErr_Occurred()) SWIG_fail
; 
11955     arg3 
= (int) SWIG_AsInt(obj2
);  
11956     if (PyErr_Occurred()) SWIG_fail
; 
11958         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11959         (arg1
)->SetRowSize(arg2
,arg3
); 
11961         wxPyEndAllowThreads(__tstate
); 
11962         if (PyErr_Occurred()) SWIG_fail
; 
11964     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11971 static PyObject 
*_wrap_Grid_SetDefaultColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11972     PyObject 
*resultobj
; 
11973     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11975     bool arg3 
= (bool) False 
; 
11976     PyObject 
* obj0 
= 0 ; 
11977     PyObject 
* obj1 
= 0 ; 
11978     PyObject 
* obj2 
= 0 ; 
11979     char *kwnames
[] = { 
11980         (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL 
 
11983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11984     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11985     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11986     arg2 
= (int) SWIG_AsInt(obj1
);  
11987     if (PyErr_Occurred()) SWIG_fail
; 
11989         arg3 
= (bool) SWIG_AsBool(obj2
);  
11990         if (PyErr_Occurred()) SWIG_fail
; 
11993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11994         (arg1
)->SetDefaultColSize(arg2
,arg3
); 
11996         wxPyEndAllowThreads(__tstate
); 
11997         if (PyErr_Occurred()) SWIG_fail
; 
11999     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12006 static PyObject 
*_wrap_Grid_SetColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12007     PyObject 
*resultobj
; 
12008     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12011     PyObject 
* obj0 
= 0 ; 
12012     PyObject 
* obj1 
= 0 ; 
12013     PyObject 
* obj2 
= 0 ; 
12014     char *kwnames
[] = { 
12015         (char *) "self",(char *) "col",(char *) "width", NULL 
 
12018     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12019     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12020     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12021     arg2 
= (int) SWIG_AsInt(obj1
);  
12022     if (PyErr_Occurred()) SWIG_fail
; 
12023     arg3 
= (int) SWIG_AsInt(obj2
);  
12024     if (PyErr_Occurred()) SWIG_fail
; 
12026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12027         (arg1
)->SetColSize(arg2
,arg3
); 
12029         wxPyEndAllowThreads(__tstate
); 
12030         if (PyErr_Occurred()) SWIG_fail
; 
12032     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12039 static PyObject 
*_wrap_Grid_AutoSizeColumn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12040     PyObject 
*resultobj
; 
12041     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12043     bool arg3 
= (bool) True 
; 
12044     PyObject 
* obj0 
= 0 ; 
12045     PyObject 
* obj1 
= 0 ; 
12046     PyObject 
* obj2 
= 0 ; 
12047     char *kwnames
[] = { 
12048         (char *) "self",(char *) "col",(char *) "setAsMin", NULL 
 
12051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12052     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12053     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12054     arg2 
= (int) SWIG_AsInt(obj1
);  
12055     if (PyErr_Occurred()) SWIG_fail
; 
12057         arg3 
= (bool) SWIG_AsBool(obj2
);  
12058         if (PyErr_Occurred()) SWIG_fail
; 
12061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12062         (arg1
)->AutoSizeColumn(arg2
,arg3
); 
12064         wxPyEndAllowThreads(__tstate
); 
12065         if (PyErr_Occurred()) SWIG_fail
; 
12067     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12074 static PyObject 
*_wrap_Grid_AutoSizeRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12075     PyObject 
*resultobj
; 
12076     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12078     bool arg3 
= (bool) True 
; 
12079     PyObject 
* obj0 
= 0 ; 
12080     PyObject 
* obj1 
= 0 ; 
12081     PyObject 
* obj2 
= 0 ; 
12082     char *kwnames
[] = { 
12083         (char *) "self",(char *) "row",(char *) "setAsMin", NULL 
 
12086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12089     arg2 
= (int) SWIG_AsInt(obj1
);  
12090     if (PyErr_Occurred()) SWIG_fail
; 
12092         arg3 
= (bool) SWIG_AsBool(obj2
);  
12093         if (PyErr_Occurred()) SWIG_fail
; 
12096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12097         (arg1
)->AutoSizeRow(arg2
,arg3
); 
12099         wxPyEndAllowThreads(__tstate
); 
12100         if (PyErr_Occurred()) SWIG_fail
; 
12102     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12109 static PyObject 
*_wrap_Grid_AutoSizeColumns(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12110     PyObject 
*resultobj
; 
12111     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12112     bool arg2 
= (bool) True 
; 
12113     PyObject 
* obj0 
= 0 ; 
12114     PyObject 
* obj1 
= 0 ; 
12115     char *kwnames
[] = { 
12116         (char *) "self",(char *) "setAsMin", NULL 
 
12119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
; 
12120     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12123         arg2 
= (bool) SWIG_AsBool(obj1
);  
12124         if (PyErr_Occurred()) SWIG_fail
; 
12127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12128         (arg1
)->AutoSizeColumns(arg2
); 
12130         wxPyEndAllowThreads(__tstate
); 
12131         if (PyErr_Occurred()) SWIG_fail
; 
12133     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12140 static PyObject 
*_wrap_Grid_AutoSizeRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12141     PyObject 
*resultobj
; 
12142     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12143     bool arg2 
= (bool) True 
; 
12144     PyObject 
* obj0 
= 0 ; 
12145     PyObject 
* obj1 
= 0 ; 
12146     char *kwnames
[] = { 
12147         (char *) "self",(char *) "setAsMin", NULL 
 
12150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
12151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12154         arg2 
= (bool) SWIG_AsBool(obj1
);  
12155         if (PyErr_Occurred()) SWIG_fail
; 
12158         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12159         (arg1
)->AutoSizeRows(arg2
); 
12161         wxPyEndAllowThreads(__tstate
); 
12162         if (PyErr_Occurred()) SWIG_fail
; 
12164     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12171 static PyObject 
*_wrap_Grid_AutoSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12172     PyObject 
*resultobj
; 
12173     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12174     PyObject 
* obj0 
= 0 ; 
12175     char *kwnames
[] = { 
12176         (char *) "self", NULL 
 
12179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
; 
12180     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12181     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12183         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12184         (arg1
)->AutoSize(); 
12186         wxPyEndAllowThreads(__tstate
); 
12187         if (PyErr_Occurred()) SWIG_fail
; 
12189     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12196 static PyObject 
*_wrap_Grid_AutoSizeRowLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12197     PyObject 
*resultobj
; 
12198     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12200     PyObject 
* obj0 
= 0 ; 
12201     PyObject 
* obj1 
= 0 ; 
12202     char *kwnames
[] = { 
12203         (char *) "self",(char *) "row", NULL 
 
12206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
12207     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12208     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12209     arg2 
= (int) SWIG_AsInt(obj1
);  
12210     if (PyErr_Occurred()) SWIG_fail
; 
12212         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12213         (arg1
)->AutoSizeRowLabelSize(arg2
); 
12215         wxPyEndAllowThreads(__tstate
); 
12216         if (PyErr_Occurred()) SWIG_fail
; 
12218     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12225 static PyObject 
*_wrap_Grid_AutoSizeColLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12226     PyObject 
*resultobj
; 
12227     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12229     PyObject 
* obj0 
= 0 ; 
12230     PyObject 
* obj1 
= 0 ; 
12231     char *kwnames
[] = { 
12232         (char *) "self",(char *) "col", NULL 
 
12235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
12236     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12237     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12238     arg2 
= (int) SWIG_AsInt(obj1
);  
12239     if (PyErr_Occurred()) SWIG_fail
; 
12241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12242         (arg1
)->AutoSizeColLabelSize(arg2
); 
12244         wxPyEndAllowThreads(__tstate
); 
12245         if (PyErr_Occurred()) SWIG_fail
; 
12247     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12254 static PyObject 
*_wrap_Grid_SetColMinimalWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12255     PyObject 
*resultobj
; 
12256     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12259     PyObject 
* obj0 
= 0 ; 
12260     PyObject 
* obj1 
= 0 ; 
12261     PyObject 
* obj2 
= 0 ; 
12262     char *kwnames
[] = { 
12263         (char *) "self",(char *) "col",(char *) "width", NULL 
 
12266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12269     arg2 
= (int) SWIG_AsInt(obj1
);  
12270     if (PyErr_Occurred()) SWIG_fail
; 
12271     arg3 
= (int) SWIG_AsInt(obj2
);  
12272     if (PyErr_Occurred()) SWIG_fail
; 
12274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12275         (arg1
)->SetColMinimalWidth(arg2
,arg3
); 
12277         wxPyEndAllowThreads(__tstate
); 
12278         if (PyErr_Occurred()) SWIG_fail
; 
12280     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12287 static PyObject 
*_wrap_Grid_SetRowMinimalHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12288     PyObject 
*resultobj
; 
12289     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12292     PyObject 
* obj0 
= 0 ; 
12293     PyObject 
* obj1 
= 0 ; 
12294     PyObject 
* obj2 
= 0 ; 
12295     char *kwnames
[] = { 
12296         (char *) "self",(char *) "row",(char *) "width", NULL 
 
12299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12300     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12301     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12302     arg2 
= (int) SWIG_AsInt(obj1
);  
12303     if (PyErr_Occurred()) SWIG_fail
; 
12304     arg3 
= (int) SWIG_AsInt(obj2
);  
12305     if (PyErr_Occurred()) SWIG_fail
; 
12307         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12308         (arg1
)->SetRowMinimalHeight(arg2
,arg3
); 
12310         wxPyEndAllowThreads(__tstate
); 
12311         if (PyErr_Occurred()) SWIG_fail
; 
12313     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12320 static PyObject 
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12321     PyObject 
*resultobj
; 
12322     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12324     PyObject 
* obj0 
= 0 ; 
12325     PyObject 
* obj1 
= 0 ; 
12326     char *kwnames
[] = { 
12327         (char *) "self",(char *) "width", NULL 
 
12330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
12331     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12332     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12333     arg2 
= (int) SWIG_AsInt(obj1
);  
12334     if (PyErr_Occurred()) SWIG_fail
; 
12336         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12337         (arg1
)->SetColMinimalAcceptableWidth(arg2
); 
12339         wxPyEndAllowThreads(__tstate
); 
12340         if (PyErr_Occurred()) SWIG_fail
; 
12342     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12349 static PyObject 
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12350     PyObject 
*resultobj
; 
12351     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12353     PyObject 
* obj0 
= 0 ; 
12354     PyObject 
* obj1 
= 0 ; 
12355     char *kwnames
[] = { 
12356         (char *) "self",(char *) "width", NULL 
 
12359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
12360     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12361     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12362     arg2 
= (int) SWIG_AsInt(obj1
);  
12363     if (PyErr_Occurred()) SWIG_fail
; 
12365         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12366         (arg1
)->SetRowMinimalAcceptableHeight(arg2
); 
12368         wxPyEndAllowThreads(__tstate
); 
12369         if (PyErr_Occurred()) SWIG_fail
; 
12371     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12378 static PyObject 
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12379     PyObject 
*resultobj
; 
12380     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12382     PyObject 
* obj0 
= 0 ; 
12383     char *kwnames
[] = { 
12384         (char *) "self", NULL 
 
12387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
; 
12388     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12389     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12391         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12392         result 
= (int)((wxGrid 
const *)arg1
)->GetColMinimalAcceptableWidth(); 
12394         wxPyEndAllowThreads(__tstate
); 
12395         if (PyErr_Occurred()) SWIG_fail
; 
12397     resultobj 
= SWIG_FromInt((int)result
); 
12404 static PyObject 
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12405     PyObject 
*resultobj
; 
12406     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12408     PyObject 
* obj0 
= 0 ; 
12409     char *kwnames
[] = { 
12410         (char *) "self", NULL 
 
12413     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
; 
12414     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12415     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12418         result 
= (int)((wxGrid 
const *)arg1
)->GetRowMinimalAcceptableHeight(); 
12420         wxPyEndAllowThreads(__tstate
); 
12421         if (PyErr_Occurred()) SWIG_fail
; 
12423     resultobj 
= SWIG_FromInt((int)result
); 
12430 static PyObject 
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12431     PyObject 
*resultobj
; 
12432     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12433     wxColour 
*arg2 
= 0 ; 
12435     PyObject 
* obj0 
= 0 ; 
12436     PyObject 
* obj1 
= 0 ; 
12437     char *kwnames
[] = { 
12438         (char *) "self","arg2", NULL 
 
12441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
12442     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12443     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12446         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
12449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12450         (arg1
)->SetDefaultCellBackgroundColour((wxColour 
const &)*arg2
); 
12452         wxPyEndAllowThreads(__tstate
); 
12453         if (PyErr_Occurred()) SWIG_fail
; 
12455     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12462 static PyObject 
*_wrap_Grid_SetCellBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12463     PyObject 
*resultobj
; 
12464     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12467     wxColour 
*arg4 
= 0 ; 
12469     PyObject 
* obj0 
= 0 ; 
12470     PyObject 
* obj1 
= 0 ; 
12471     PyObject 
* obj2 
= 0 ; 
12472     PyObject 
* obj3 
= 0 ; 
12473     char *kwnames
[] = { 
12474         (char *) "self",(char *) "row",(char *) "col","arg4", NULL 
 
12477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12478     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12479     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12480     arg2 
= (int) SWIG_AsInt(obj1
);  
12481     if (PyErr_Occurred()) SWIG_fail
; 
12482     arg3 
= (int) SWIG_AsInt(obj2
);  
12483     if (PyErr_Occurred()) SWIG_fail
; 
12486         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
12489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12490         (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour 
const &)*arg4
); 
12492         wxPyEndAllowThreads(__tstate
); 
12493         if (PyErr_Occurred()) SWIG_fail
; 
12495     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12502 static PyObject 
*_wrap_Grid_SetDefaultCellTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12503     PyObject 
*resultobj
; 
12504     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12505     wxColour 
*arg2 
= 0 ; 
12507     PyObject 
* obj0 
= 0 ; 
12508     PyObject 
* obj1 
= 0 ; 
12509     char *kwnames
[] = { 
12510         (char *) "self","arg2", NULL 
 
12513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
12514     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12515     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12518         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
12521         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12522         (arg1
)->SetDefaultCellTextColour((wxColour 
const &)*arg2
); 
12524         wxPyEndAllowThreads(__tstate
); 
12525         if (PyErr_Occurred()) SWIG_fail
; 
12527     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12534 static PyObject 
*_wrap_Grid_SetCellTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12535     PyObject 
*resultobj
; 
12536     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12539     wxColour 
*arg4 
= 0 ; 
12541     PyObject 
* obj0 
= 0 ; 
12542     PyObject 
* obj1 
= 0 ; 
12543     PyObject 
* obj2 
= 0 ; 
12544     PyObject 
* obj3 
= 0 ; 
12545     char *kwnames
[] = { 
12546         (char *) "self",(char *) "row",(char *) "col","arg4", NULL 
 
12549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12552     arg2 
= (int) SWIG_AsInt(obj1
);  
12553     if (PyErr_Occurred()) SWIG_fail
; 
12554     arg3 
= (int) SWIG_AsInt(obj2
);  
12555     if (PyErr_Occurred()) SWIG_fail
; 
12558         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
12561         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12562         (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour 
const &)*arg4
); 
12564         wxPyEndAllowThreads(__tstate
); 
12565         if (PyErr_Occurred()) SWIG_fail
; 
12567     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12574 static PyObject 
*_wrap_Grid_SetDefaultCellFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12575     PyObject 
*resultobj
; 
12576     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12578     PyObject 
* obj0 
= 0 ; 
12579     PyObject 
* obj1 
= 0 ; 
12580     char *kwnames
[] = { 
12581         (char *) "self","arg2", NULL 
 
12584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
12585     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12587     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
12588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12590     if (arg2 
== NULL
) { 
12591         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12595         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12596         (arg1
)->SetDefaultCellFont((wxFont 
const &)*arg2
); 
12598         wxPyEndAllowThreads(__tstate
); 
12599         if (PyErr_Occurred()) SWIG_fail
; 
12601     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12608 static PyObject 
*_wrap_Grid_SetCellFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12609     PyObject 
*resultobj
; 
12610     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12614     PyObject 
* obj0 
= 0 ; 
12615     PyObject 
* obj1 
= 0 ; 
12616     PyObject 
* obj2 
= 0 ; 
12617     PyObject 
* obj3 
= 0 ; 
12618     char *kwnames
[] = { 
12619         (char *) "self",(char *) "row",(char *) "col","arg4", NULL 
 
12622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12623     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12624     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12625     arg2 
= (int) SWIG_AsInt(obj1
);  
12626     if (PyErr_Occurred()) SWIG_fail
; 
12627     arg3 
= (int) SWIG_AsInt(obj2
);  
12628     if (PyErr_Occurred()) SWIG_fail
; 
12629     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
, 
12630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12632     if (arg4 
== NULL
) { 
12633         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12637         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12638         (arg1
)->SetCellFont(arg2
,arg3
,(wxFont 
const &)*arg4
); 
12640         wxPyEndAllowThreads(__tstate
); 
12641         if (PyErr_Occurred()) SWIG_fail
; 
12643     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12650 static PyObject 
*_wrap_Grid_SetDefaultCellAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12651     PyObject 
*resultobj
; 
12652     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12655     PyObject 
* obj0 
= 0 ; 
12656     PyObject 
* obj1 
= 0 ; 
12657     PyObject 
* obj2 
= 0 ; 
12658     char *kwnames
[] = { 
12659         (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
12662     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12663     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12664     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12665     arg2 
= (int) SWIG_AsInt(obj1
);  
12666     if (PyErr_Occurred()) SWIG_fail
; 
12667     arg3 
= (int) SWIG_AsInt(obj2
);  
12668     if (PyErr_Occurred()) SWIG_fail
; 
12670         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12671         (arg1
)->SetDefaultCellAlignment(arg2
,arg3
); 
12673         wxPyEndAllowThreads(__tstate
); 
12674         if (PyErr_Occurred()) SWIG_fail
; 
12676     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12683 static PyObject 
*_wrap_Grid_SetCellAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12684     PyObject 
*resultobj
; 
12685     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12690     PyObject 
* obj0 
= 0 ; 
12691     PyObject 
* obj1 
= 0 ; 
12692     PyObject 
* obj2 
= 0 ; 
12693     PyObject 
* obj3 
= 0 ; 
12694     PyObject 
* obj4 
= 0 ; 
12695     char *kwnames
[] = { 
12696         (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL 
 
12699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12700     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12701     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12702     arg2 
= (int) SWIG_AsInt(obj1
);  
12703     if (PyErr_Occurred()) SWIG_fail
; 
12704     arg3 
= (int) SWIG_AsInt(obj2
);  
12705     if (PyErr_Occurred()) SWIG_fail
; 
12706     arg4 
= (int) SWIG_AsInt(obj3
);  
12707     if (PyErr_Occurred()) SWIG_fail
; 
12708     arg5 
= (int) SWIG_AsInt(obj4
);  
12709     if (PyErr_Occurred()) SWIG_fail
; 
12711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12712         (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
); 
12714         wxPyEndAllowThreads(__tstate
); 
12715         if (PyErr_Occurred()) SWIG_fail
; 
12717     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12724 static PyObject 
*_wrap_Grid_SetDefaultCellOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12725     PyObject 
*resultobj
; 
12726     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12728     PyObject 
* obj0 
= 0 ; 
12729     PyObject 
* obj1 
= 0 ; 
12730     char *kwnames
[] = { 
12731         (char *) "self",(char *) "allow", NULL 
 
12734     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
; 
12735     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12736     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12737     arg2 
= (bool) SWIG_AsBool(obj1
);  
12738     if (PyErr_Occurred()) SWIG_fail
; 
12740         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12741         (arg1
)->SetDefaultCellOverflow(arg2
); 
12743         wxPyEndAllowThreads(__tstate
); 
12744         if (PyErr_Occurred()) SWIG_fail
; 
12746     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12753 static PyObject 
*_wrap_Grid_SetCellOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12754     PyObject 
*resultobj
; 
12755     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12759     PyObject 
* obj0 
= 0 ; 
12760     PyObject 
* obj1 
= 0 ; 
12761     PyObject 
* obj2 
= 0 ; 
12762     PyObject 
* obj3 
= 0 ; 
12763     char *kwnames
[] = { 
12764         (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL 
 
12767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12768     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12769     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12770     arg2 
= (int) SWIG_AsInt(obj1
);  
12771     if (PyErr_Occurred()) SWIG_fail
; 
12772     arg3 
= (int) SWIG_AsInt(obj2
);  
12773     if (PyErr_Occurred()) SWIG_fail
; 
12774     arg4 
= (bool) SWIG_AsBool(obj3
);  
12775     if (PyErr_Occurred()) SWIG_fail
; 
12777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12778         (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
); 
12780         wxPyEndAllowThreads(__tstate
); 
12781         if (PyErr_Occurred()) SWIG_fail
; 
12783     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12790 static PyObject 
*_wrap_Grid_SetCellSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12791     PyObject 
*resultobj
; 
12792     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12797     PyObject 
* obj0 
= 0 ; 
12798     PyObject 
* obj1 
= 0 ; 
12799     PyObject 
* obj2 
= 0 ; 
12800     PyObject 
* obj3 
= 0 ; 
12801     PyObject 
* obj4 
= 0 ; 
12802     char *kwnames
[] = { 
12803         (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL 
 
12806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12807     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12808     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12809     arg2 
= (int) SWIG_AsInt(obj1
);  
12810     if (PyErr_Occurred()) SWIG_fail
; 
12811     arg3 
= (int) SWIG_AsInt(obj2
);  
12812     if (PyErr_Occurred()) SWIG_fail
; 
12813     arg4 
= (int) SWIG_AsInt(obj3
);  
12814     if (PyErr_Occurred()) SWIG_fail
; 
12815     arg5 
= (int) SWIG_AsInt(obj4
);  
12816     if (PyErr_Occurred()) SWIG_fail
; 
12818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12819         (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
); 
12821         wxPyEndAllowThreads(__tstate
); 
12822         if (PyErr_Occurred()) SWIG_fail
; 
12824     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12831 static PyObject 
*_wrap_Grid_SetDefaultRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12832     PyObject 
*resultobj
; 
12833     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12834     wxGridCellRenderer 
*arg2 
= (wxGridCellRenderer 
*) 0 ; 
12835     PyObject 
* obj0 
= 0 ; 
12836     PyObject 
* obj1 
= 0 ; 
12837     char *kwnames
[] = { 
12838         (char *) "self",(char *) "renderer", NULL 
 
12841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
; 
12842     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12843     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12844     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
, 
12845     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12847         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12848         (arg1
)->SetDefaultRenderer(arg2
); 
12850         wxPyEndAllowThreads(__tstate
); 
12851         if (PyErr_Occurred()) SWIG_fail
; 
12853     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12860 static PyObject 
*_wrap_Grid_SetCellRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12861     PyObject 
*resultobj
; 
12862     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12865     wxGridCellRenderer 
*arg4 
= (wxGridCellRenderer 
*) 0 ; 
12866     PyObject 
* obj0 
= 0 ; 
12867     PyObject 
* obj1 
= 0 ; 
12868     PyObject 
* obj2 
= 0 ; 
12869     PyObject 
* obj3 
= 0 ; 
12870     char *kwnames
[] = { 
12871         (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL 
 
12874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12875     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12877     arg2 
= (int) SWIG_AsInt(obj1
);  
12878     if (PyErr_Occurred()) SWIG_fail
; 
12879     arg3 
= (int) SWIG_AsInt(obj2
);  
12880     if (PyErr_Occurred()) SWIG_fail
; 
12881     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
, 
12882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12885         (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
); 
12887         wxPyEndAllowThreads(__tstate
); 
12888         if (PyErr_Occurred()) SWIG_fail
; 
12890     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12897 static PyObject 
*_wrap_Grid_GetDefaultRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12898     PyObject 
*resultobj
; 
12899     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12900     wxGridCellRenderer 
*result
; 
12901     PyObject 
* obj0 
= 0 ; 
12902     char *kwnames
[] = { 
12903         (char *) "self", NULL 
 
12906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
; 
12907     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12908     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12911         result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRenderer(); 
12913         wxPyEndAllowThreads(__tstate
); 
12914         if (PyErr_Occurred()) SWIG_fail
; 
12917         resultobj 
= wxPyMake_wxGridCellRenderer(result
);  
12925 static PyObject 
*_wrap_Grid_GetCellRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12926     PyObject 
*resultobj
; 
12927     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12930     wxGridCellRenderer 
*result
; 
12931     PyObject 
* obj0 
= 0 ; 
12932     PyObject 
* obj1 
= 0 ; 
12933     PyObject 
* obj2 
= 0 ; 
12934     char *kwnames
[] = { 
12935         (char *) "self",(char *) "row",(char *) "col", NULL 
 
12938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12939     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12940     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12941     arg2 
= (int) SWIG_AsInt(obj1
);  
12942     if (PyErr_Occurred()) SWIG_fail
; 
12943     arg3 
= (int) SWIG_AsInt(obj2
);  
12944     if (PyErr_Occurred()) SWIG_fail
; 
12946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12947         result 
= (wxGridCellRenderer 
*)(arg1
)->GetCellRenderer(arg2
,arg3
); 
12949         wxPyEndAllowThreads(__tstate
); 
12950         if (PyErr_Occurred()) SWIG_fail
; 
12953         resultobj 
= wxPyMake_wxGridCellRenderer(result
);  
12961 static PyObject 
*_wrap_Grid_SetDefaultEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12962     PyObject 
*resultobj
; 
12963     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12964     wxGridCellEditor 
*arg2 
= (wxGridCellEditor 
*) 0 ; 
12965     PyObject 
* obj0 
= 0 ; 
12966     PyObject 
* obj1 
= 0 ; 
12967     char *kwnames
[] = { 
12968         (char *) "self",(char *) "editor", NULL 
 
12971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
; 
12972     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12973     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12974     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
, 
12975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12977         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12978         (arg1
)->SetDefaultEditor(arg2
); 
12980         wxPyEndAllowThreads(__tstate
); 
12981         if (PyErr_Occurred()) SWIG_fail
; 
12983     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12990 static PyObject 
*_wrap_Grid_SetCellEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12991     PyObject 
*resultobj
; 
12992     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12995     wxGridCellEditor 
*arg4 
= (wxGridCellEditor 
*) 0 ; 
12996     PyObject 
* obj0 
= 0 ; 
12997     PyObject 
* obj1 
= 0 ; 
12998     PyObject 
* obj2 
= 0 ; 
12999     PyObject 
* obj3 
= 0 ; 
13000     char *kwnames
[] = { 
13001         (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL 
 
13004     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13005     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13006     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13007     arg2 
= (int) SWIG_AsInt(obj1
);  
13008     if (PyErr_Occurred()) SWIG_fail
; 
13009     arg3 
= (int) SWIG_AsInt(obj2
);  
13010     if (PyErr_Occurred()) SWIG_fail
; 
13011     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
, 
13012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13014         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13015         (arg1
)->SetCellEditor(arg2
,arg3
,arg4
); 
13017         wxPyEndAllowThreads(__tstate
); 
13018         if (PyErr_Occurred()) SWIG_fail
; 
13020     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13027 static PyObject 
*_wrap_Grid_GetDefaultEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13028     PyObject 
*resultobj
; 
13029     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13030     wxGridCellEditor 
*result
; 
13031     PyObject 
* obj0 
= 0 ; 
13032     char *kwnames
[] = { 
13033         (char *) "self", NULL 
 
13036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
; 
13037     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13041         result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditor(); 
13043         wxPyEndAllowThreads(__tstate
); 
13044         if (PyErr_Occurred()) SWIG_fail
; 
13047         resultobj 
= wxPyMake_wxGridCellEditor(result
);  
13055 static PyObject 
*_wrap_Grid_GetCellEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13056     PyObject 
*resultobj
; 
13057     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13060     wxGridCellEditor 
*result
; 
13061     PyObject 
* obj0 
= 0 ; 
13062     PyObject 
* obj1 
= 0 ; 
13063     PyObject 
* obj2 
= 0 ; 
13064     char *kwnames
[] = { 
13065         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13071     arg2 
= (int) SWIG_AsInt(obj1
);  
13072     if (PyErr_Occurred()) SWIG_fail
; 
13073     arg3 
= (int) SWIG_AsInt(obj2
);  
13074     if (PyErr_Occurred()) SWIG_fail
; 
13076         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13077         result 
= (wxGridCellEditor 
*)(arg1
)->GetCellEditor(arg2
,arg3
); 
13079         wxPyEndAllowThreads(__tstate
); 
13080         if (PyErr_Occurred()) SWIG_fail
; 
13083         resultobj 
= wxPyMake_wxGridCellEditor(result
);  
13091 static PyObject 
*_wrap_Grid_GetCellValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13092     PyObject 
*resultobj
; 
13093     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13097     PyObject 
* obj0 
= 0 ; 
13098     PyObject 
* obj1 
= 0 ; 
13099     PyObject 
* obj2 
= 0 ; 
13100     char *kwnames
[] = { 
13101         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13105     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13106     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13107     arg2 
= (int) SWIG_AsInt(obj1
);  
13108     if (PyErr_Occurred()) SWIG_fail
; 
13109     arg3 
= (int) SWIG_AsInt(obj2
);  
13110     if (PyErr_Occurred()) SWIG_fail
; 
13112         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13113         result 
= (arg1
)->GetCellValue(arg2
,arg3
); 
13115         wxPyEndAllowThreads(__tstate
); 
13116         if (PyErr_Occurred()) SWIG_fail
; 
13120         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13122         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13131 static PyObject 
*_wrap_Grid_SetCellValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13132     PyObject 
*resultobj
; 
13133     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13136     wxString 
*arg4 
= 0 ; 
13137     bool temp4 
= False 
; 
13138     PyObject 
* obj0 
= 0 ; 
13139     PyObject 
* obj1 
= 0 ; 
13140     PyObject 
* obj2 
= 0 ; 
13141     PyObject 
* obj3 
= 0 ; 
13142     char *kwnames
[] = { 
13143         (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL 
 
13146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13147     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13148     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13149     arg2 
= (int) SWIG_AsInt(obj1
);  
13150     if (PyErr_Occurred()) SWIG_fail
; 
13151     arg3 
= (int) SWIG_AsInt(obj2
);  
13152     if (PyErr_Occurred()) SWIG_fail
; 
13154         arg4 
= wxString_in_helper(obj3
); 
13155         if (arg4 
== NULL
) SWIG_fail
; 
13159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13160         (arg1
)->SetCellValue(arg2
,arg3
,(wxString 
const &)*arg4
); 
13162         wxPyEndAllowThreads(__tstate
); 
13163         if (PyErr_Occurred()) SWIG_fail
; 
13165     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13180 static PyObject 
*_wrap_Grid_IsReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13181     PyObject 
*resultobj
; 
13182     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13186     PyObject 
* obj0 
= 0 ; 
13187     PyObject 
* obj1 
= 0 ; 
13188     PyObject 
* obj2 
= 0 ; 
13189     char *kwnames
[] = { 
13190         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13194     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13195     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13196     arg2 
= (int) SWIG_AsInt(obj1
);  
13197     if (PyErr_Occurred()) SWIG_fail
; 
13198     arg3 
= (int) SWIG_AsInt(obj2
);  
13199     if (PyErr_Occurred()) SWIG_fail
; 
13201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13202         result 
= (bool)((wxGrid 
const *)arg1
)->IsReadOnly(arg2
,arg3
); 
13204         wxPyEndAllowThreads(__tstate
); 
13205         if (PyErr_Occurred()) SWIG_fail
; 
13208         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13216 static PyObject 
*_wrap_Grid_SetReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13217     PyObject 
*resultobj
; 
13218     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13221     bool arg4 
= (bool) True 
; 
13222     PyObject 
* obj0 
= 0 ; 
13223     PyObject 
* obj1 
= 0 ; 
13224     PyObject 
* obj2 
= 0 ; 
13225     PyObject 
* obj3 
= 0 ; 
13226     char *kwnames
[] = { 
13227         (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL 
 
13230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13231     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13232     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13233     arg2 
= (int) SWIG_AsInt(obj1
);  
13234     if (PyErr_Occurred()) SWIG_fail
; 
13235     arg3 
= (int) SWIG_AsInt(obj2
);  
13236     if (PyErr_Occurred()) SWIG_fail
; 
13238         arg4 
= (bool) SWIG_AsBool(obj3
);  
13239         if (PyErr_Occurred()) SWIG_fail
; 
13242         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13243         (arg1
)->SetReadOnly(arg2
,arg3
,arg4
); 
13245         wxPyEndAllowThreads(__tstate
); 
13246         if (PyErr_Occurred()) SWIG_fail
; 
13248     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13255 static PyObject 
*_wrap_Grid_SelectRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13256     PyObject 
*resultobj
; 
13257     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13259     bool arg3 
= (bool) False 
; 
13260     PyObject 
* obj0 
= 0 ; 
13261     PyObject 
* obj1 
= 0 ; 
13262     PyObject 
* obj2 
= 0 ; 
13263     char *kwnames
[] = { 
13264         (char *) "self",(char *) "row",(char *) "addToSelected", NULL 
 
13267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13268     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13269     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13270     arg2 
= (int) SWIG_AsInt(obj1
);  
13271     if (PyErr_Occurred()) SWIG_fail
; 
13273         arg3 
= (bool) SWIG_AsBool(obj2
);  
13274         if (PyErr_Occurred()) SWIG_fail
; 
13277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13278         (arg1
)->SelectRow(arg2
,arg3
); 
13280         wxPyEndAllowThreads(__tstate
); 
13281         if (PyErr_Occurred()) SWIG_fail
; 
13283     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13290 static PyObject 
*_wrap_Grid_SelectCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13291     PyObject 
*resultobj
; 
13292     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13294     bool arg3 
= (bool) False 
; 
13295     PyObject 
* obj0 
= 0 ; 
13296     PyObject 
* obj1 
= 0 ; 
13297     PyObject 
* obj2 
= 0 ; 
13298     char *kwnames
[] = { 
13299         (char *) "self",(char *) "col",(char *) "addToSelected", NULL 
 
13302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13303     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13304     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13305     arg2 
= (int) SWIG_AsInt(obj1
);  
13306     if (PyErr_Occurred()) SWIG_fail
; 
13308         arg3 
= (bool) SWIG_AsBool(obj2
);  
13309         if (PyErr_Occurred()) SWIG_fail
; 
13312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13313         (arg1
)->SelectCol(arg2
,arg3
); 
13315         wxPyEndAllowThreads(__tstate
); 
13316         if (PyErr_Occurred()) SWIG_fail
; 
13318     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13325 static PyObject 
*_wrap_Grid_SelectBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13326     PyObject 
*resultobj
; 
13327     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13332     bool arg6 
= (bool) False 
; 
13333     PyObject 
* obj0 
= 0 ; 
13334     PyObject 
* obj1 
= 0 ; 
13335     PyObject 
* obj2 
= 0 ; 
13336     PyObject 
* obj3 
= 0 ; 
13337     PyObject 
* obj4 
= 0 ; 
13338     PyObject 
* obj5 
= 0 ; 
13339     char *kwnames
[] = { 
13340         (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL 
 
13343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
13344     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13345     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13346     arg2 
= (int) SWIG_AsInt(obj1
);  
13347     if (PyErr_Occurred()) SWIG_fail
; 
13348     arg3 
= (int) SWIG_AsInt(obj2
);  
13349     if (PyErr_Occurred()) SWIG_fail
; 
13350     arg4 
= (int) SWIG_AsInt(obj3
);  
13351     if (PyErr_Occurred()) SWIG_fail
; 
13352     arg5 
= (int) SWIG_AsInt(obj4
);  
13353     if (PyErr_Occurred()) SWIG_fail
; 
13355         arg6 
= (bool) SWIG_AsBool(obj5
);  
13356         if (PyErr_Occurred()) SWIG_fail
; 
13359         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13360         (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
); 
13362         wxPyEndAllowThreads(__tstate
); 
13363         if (PyErr_Occurred()) SWIG_fail
; 
13365     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13372 static PyObject 
*_wrap_Grid_SelectAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13373     PyObject 
*resultobj
; 
13374     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13375     PyObject 
* obj0 
= 0 ; 
13376     char *kwnames
[] = { 
13377         (char *) "self", NULL 
 
13380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
; 
13381     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13382     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13385         (arg1
)->SelectAll(); 
13387         wxPyEndAllowThreads(__tstate
); 
13388         if (PyErr_Occurred()) SWIG_fail
; 
13390     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13397 static PyObject 
*_wrap_Grid_IsSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13398     PyObject 
*resultobj
; 
13399     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13401     PyObject 
* obj0 
= 0 ; 
13402     char *kwnames
[] = { 
13403         (char *) "self", NULL 
 
13406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
; 
13407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13411         result 
= (bool)(arg1
)->IsSelection(); 
13413         wxPyEndAllowThreads(__tstate
); 
13414         if (PyErr_Occurred()) SWIG_fail
; 
13417         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13425 static PyObject 
*_wrap_Grid_ClearSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13426     PyObject 
*resultobj
; 
13427     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13428     PyObject 
* obj0 
= 0 ; 
13429     char *kwnames
[] = { 
13430         (char *) "self", NULL 
 
13433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
; 
13434     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13435     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13437         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13438         (arg1
)->ClearSelection(); 
13440         wxPyEndAllowThreads(__tstate
); 
13441         if (PyErr_Occurred()) SWIG_fail
; 
13443     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13450 static PyObject 
*_wrap_Grid_IsInSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13451     PyObject 
*resultobj
; 
13452     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13456     PyObject 
* obj0 
= 0 ; 
13457     PyObject 
* obj1 
= 0 ; 
13458     PyObject 
* obj2 
= 0 ; 
13459     char *kwnames
[] = { 
13460         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13464     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13465     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13466     arg2 
= (int) SWIG_AsInt(obj1
);  
13467     if (PyErr_Occurred()) SWIG_fail
; 
13468     arg3 
= (int) SWIG_AsInt(obj2
);  
13469     if (PyErr_Occurred()) SWIG_fail
; 
13471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13472         result 
= (bool)(arg1
)->IsInSelection(arg2
,arg3
); 
13474         wxPyEndAllowThreads(__tstate
); 
13475         if (PyErr_Occurred()) SWIG_fail
; 
13478         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13486 static PyObject 
*_wrap_Grid_GetSelectedCells(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13487     PyObject 
*resultobj
; 
13488     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13489     wxGridCellCoordsArray result
; 
13490     PyObject 
* obj0 
= 0 ; 
13491     char *kwnames
[] = { 
13492         (char *) "self", NULL 
 
13495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
; 
13496     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13497     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13500         result 
= ((wxGrid 
const *)arg1
)->GetSelectedCells(); 
13502         wxPyEndAllowThreads(__tstate
); 
13503         if (PyErr_Occurred()) SWIG_fail
; 
13506         resultobj 
= wxGridCellCoordsArray_helper(result
); 
13514 static PyObject 
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13515     PyObject 
*resultobj
; 
13516     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13517     wxGridCellCoordsArray result
; 
13518     PyObject 
* obj0 
= 0 ; 
13519     char *kwnames
[] = { 
13520         (char *) "self", NULL 
 
13523     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
; 
13524     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13525     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13528         result 
= ((wxGrid 
const *)arg1
)->GetSelectionBlockTopLeft(); 
13530         wxPyEndAllowThreads(__tstate
); 
13531         if (PyErr_Occurred()) SWIG_fail
; 
13534         resultobj 
= wxGridCellCoordsArray_helper(result
); 
13542 static PyObject 
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13543     PyObject 
*resultobj
; 
13544     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13545     wxGridCellCoordsArray result
; 
13546     PyObject 
* obj0 
= 0 ; 
13547     char *kwnames
[] = { 
13548         (char *) "self", NULL 
 
13551     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
; 
13552     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13553     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13556         result 
= ((wxGrid 
const *)arg1
)->GetSelectionBlockBottomRight(); 
13558         wxPyEndAllowThreads(__tstate
); 
13559         if (PyErr_Occurred()) SWIG_fail
; 
13562         resultobj 
= wxGridCellCoordsArray_helper(result
); 
13570 static PyObject 
*_wrap_Grid_GetSelectedRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13571     PyObject 
*resultobj
; 
13572     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13574     PyObject 
* obj0 
= 0 ; 
13575     char *kwnames
[] = { 
13576         (char *) "self", NULL 
 
13579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
; 
13580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13584         result 
= ((wxGrid 
const *)arg1
)->GetSelectedRows(); 
13586         wxPyEndAllowThreads(__tstate
); 
13587         if (PyErr_Occurred()) SWIG_fail
; 
13590         resultobj 
= PyList_New(0); 
13592         for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
13593             PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
13594             PyList_Append(resultobj
, val
); 
13604 static PyObject 
*_wrap_Grid_GetSelectedCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13605     PyObject 
*resultobj
; 
13606     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13608     PyObject 
* obj0 
= 0 ; 
13609     char *kwnames
[] = { 
13610         (char *) "self", NULL 
 
13613     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
; 
13614     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13615     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13617         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13618         result 
= ((wxGrid 
const *)arg1
)->GetSelectedCols(); 
13620         wxPyEndAllowThreads(__tstate
); 
13621         if (PyErr_Occurred()) SWIG_fail
; 
13624         resultobj 
= PyList_New(0); 
13626         for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
13627             PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
13628             PyList_Append(resultobj
, val
); 
13638 static PyObject 
*_wrap_Grid_DeselectRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13639     PyObject 
*resultobj
; 
13640     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13642     PyObject 
* obj0 
= 0 ; 
13643     PyObject 
* obj1 
= 0 ; 
13644     char *kwnames
[] = { 
13645         (char *) "self",(char *) "row", NULL 
 
13648     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
13649     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13650     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13651     arg2 
= (int) SWIG_AsInt(obj1
);  
13652     if (PyErr_Occurred()) SWIG_fail
; 
13654         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13655         (arg1
)->DeselectRow(arg2
); 
13657         wxPyEndAllowThreads(__tstate
); 
13658         if (PyErr_Occurred()) SWIG_fail
; 
13660     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13667 static PyObject 
*_wrap_Grid_DeselectCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13668     PyObject 
*resultobj
; 
13669     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13671     PyObject 
* obj0 
= 0 ; 
13672     PyObject 
* obj1 
= 0 ; 
13673     char *kwnames
[] = { 
13674         (char *) "self",(char *) "col", NULL 
 
13677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
13678     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13679     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13680     arg2 
= (int) SWIG_AsInt(obj1
);  
13681     if (PyErr_Occurred()) SWIG_fail
; 
13683         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13684         (arg1
)->DeselectCol(arg2
); 
13686         wxPyEndAllowThreads(__tstate
); 
13687         if (PyErr_Occurred()) SWIG_fail
; 
13689     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13696 static PyObject 
*_wrap_Grid_DeselectCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13697     PyObject 
*resultobj
; 
13698     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13701     PyObject 
* obj0 
= 0 ; 
13702     PyObject 
* obj1 
= 0 ; 
13703     PyObject 
* obj2 
= 0 ; 
13704     char *kwnames
[] = { 
13705         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13708     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13709     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13710     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13711     arg2 
= (int) SWIG_AsInt(obj1
);  
13712     if (PyErr_Occurred()) SWIG_fail
; 
13713     arg3 
= (int) SWIG_AsInt(obj2
);  
13714     if (PyErr_Occurred()) SWIG_fail
; 
13716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13717         (arg1
)->DeselectCell(arg2
,arg3
); 
13719         wxPyEndAllowThreads(__tstate
); 
13720         if (PyErr_Occurred()) SWIG_fail
; 
13722     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13729 static PyObject 
*_wrap_Grid_BlockToDeviceRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13730     PyObject 
*resultobj
; 
13731     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13732     wxGridCellCoords 
*arg2 
= 0 ; 
13733     wxGridCellCoords 
*arg3 
= 0 ; 
13735     wxGridCellCoords temp2 
; 
13736     wxGridCellCoords temp3 
; 
13737     PyObject 
* obj0 
= 0 ; 
13738     PyObject 
* obj1 
= 0 ; 
13739     PyObject 
* obj2 
= 0 ; 
13740     char *kwnames
[] = { 
13741         (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL 
 
13744     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13745     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13746     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13749         if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
13753         if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
; 
13756         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13757         result 
= (arg1
)->BlockToDeviceRect((wxGridCellCoords 
const &)*arg2
,(wxGridCellCoords 
const &)*arg3
); 
13759         wxPyEndAllowThreads(__tstate
); 
13760         if (PyErr_Occurred()) SWIG_fail
; 
13763         wxRect 
* resultptr
; 
13764         resultptr 
= new wxRect((wxRect 
&) result
); 
13765         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
13773 static PyObject 
*_wrap_Grid_GetSelectionBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13774     PyObject 
*resultobj
; 
13775     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13777     PyObject 
* obj0 
= 0 ; 
13778     char *kwnames
[] = { 
13779         (char *) "self", NULL 
 
13782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
; 
13783     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13784     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13786         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13787         result 
= ((wxGrid 
const *)arg1
)->GetSelectionBackground(); 
13789         wxPyEndAllowThreads(__tstate
); 
13790         if (PyErr_Occurred()) SWIG_fail
; 
13793         wxColour 
* resultptr
; 
13794         resultptr 
= new wxColour((wxColour 
&) result
); 
13795         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
13803 static PyObject 
*_wrap_Grid_GetSelectionForeground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13804     PyObject 
*resultobj
; 
13805     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13807     PyObject 
* obj0 
= 0 ; 
13808     char *kwnames
[] = { 
13809         (char *) "self", NULL 
 
13812     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
; 
13813     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13814     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13817         result 
= ((wxGrid 
const *)arg1
)->GetSelectionForeground(); 
13819         wxPyEndAllowThreads(__tstate
); 
13820         if (PyErr_Occurred()) SWIG_fail
; 
13823         wxColour 
* resultptr
; 
13824         resultptr 
= new wxColour((wxColour 
&) result
); 
13825         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
13833 static PyObject 
*_wrap_Grid_SetSelectionBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13834     PyObject 
*resultobj
; 
13835     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13836     wxColour 
*arg2 
= 0 ; 
13838     PyObject 
* obj0 
= 0 ; 
13839     PyObject 
* obj1 
= 0 ; 
13840     char *kwnames
[] = { 
13841         (char *) "self",(char *) "c", NULL 
 
13844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
13845     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13846     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13849         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13853         (arg1
)->SetSelectionBackground((wxColour 
const &)*arg2
); 
13855         wxPyEndAllowThreads(__tstate
); 
13856         if (PyErr_Occurred()) SWIG_fail
; 
13858     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13865 static PyObject 
*_wrap_Grid_SetSelectionForeground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13866     PyObject 
*resultobj
; 
13867     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13868     wxColour 
*arg2 
= 0 ; 
13870     PyObject 
* obj0 
= 0 ; 
13871     PyObject 
* obj1 
= 0 ; 
13872     char *kwnames
[] = { 
13873         (char *) "self",(char *) "c", NULL 
 
13876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
; 
13877     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13881         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
13884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13885         (arg1
)->SetSelectionForeground((wxColour 
const &)*arg2
); 
13887         wxPyEndAllowThreads(__tstate
); 
13888         if (PyErr_Occurred()) SWIG_fail
; 
13890     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13897 static PyObject 
*_wrap_Grid_RegisterDataType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13898     PyObject 
*resultobj
; 
13899     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13900     wxString 
*arg2 
= 0 ; 
13901     wxGridCellRenderer 
*arg3 
= (wxGridCellRenderer 
*) 0 ; 
13902     wxGridCellEditor 
*arg4 
= (wxGridCellEditor 
*) 0 ; 
13903     bool temp2 
= False 
; 
13904     PyObject 
* obj0 
= 0 ; 
13905     PyObject 
* obj1 
= 0 ; 
13906     PyObject 
* obj2 
= 0 ; 
13907     PyObject 
* obj3 
= 0 ; 
13908     char *kwnames
[] = { 
13909         (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL 
 
13912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13913     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13914     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13916         arg2 
= wxString_in_helper(obj1
); 
13917         if (arg2 
== NULL
) SWIG_fail
; 
13920     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
, 
13921     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13922     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
, 
13923     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13926         (arg1
)->RegisterDataType((wxString 
const &)*arg2
,arg3
,arg4
); 
13928         wxPyEndAllowThreads(__tstate
); 
13929         if (PyErr_Occurred()) SWIG_fail
; 
13931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13946 static PyObject 
*_wrap_Grid_GetDefaultEditorForCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13947     PyObject 
*resultobj
; 
13948     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13951     wxGridCellEditor 
*result
; 
13952     PyObject 
* obj0 
= 0 ; 
13953     PyObject 
* obj1 
= 0 ; 
13954     PyObject 
* obj2 
= 0 ; 
13955     char *kwnames
[] = { 
13956         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13960     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13961     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13962     arg2 
= (int) SWIG_AsInt(obj1
);  
13963     if (PyErr_Occurred()) SWIG_fail
; 
13964     arg3 
= (int) SWIG_AsInt(obj2
);  
13965     if (PyErr_Occurred()) SWIG_fail
; 
13967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13968         result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
); 
13970         wxPyEndAllowThreads(__tstate
); 
13971         if (PyErr_Occurred()) SWIG_fail
; 
13974         resultobj 
= wxPyMake_wxGridCellEditor(result
);  
13982 static PyObject 
*_wrap_Grid_GetDefaultRendererForCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13983     PyObject 
*resultobj
; 
13984     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13987     wxGridCellRenderer 
*result
; 
13988     PyObject 
* obj0 
= 0 ; 
13989     PyObject 
* obj1 
= 0 ; 
13990     PyObject 
* obj2 
= 0 ; 
13991     char *kwnames
[] = { 
13992         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13996     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13997     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13998     arg2 
= (int) SWIG_AsInt(obj1
);  
13999     if (PyErr_Occurred()) SWIG_fail
; 
14000     arg3 
= (int) SWIG_AsInt(obj2
);  
14001     if (PyErr_Occurred()) SWIG_fail
; 
14003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14004         result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
); 
14006         wxPyEndAllowThreads(__tstate
); 
14007         if (PyErr_Occurred()) SWIG_fail
; 
14010         resultobj 
= wxPyMake_wxGridCellRenderer(result
);  
14018 static PyObject 
*_wrap_Grid_GetDefaultEditorForType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14019     PyObject 
*resultobj
; 
14020     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14021     wxString 
*arg2 
= 0 ; 
14022     wxGridCellEditor 
*result
; 
14023     bool temp2 
= False 
; 
14024     PyObject 
* obj0 
= 0 ; 
14025     PyObject 
* obj1 
= 0 ; 
14026     char *kwnames
[] = { 
14027         (char *) "self",(char *) "typeName", NULL 
 
14030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
; 
14031     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14032     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14034         arg2 
= wxString_in_helper(obj1
); 
14035         if (arg2 
== NULL
) SWIG_fail
; 
14039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14040         result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditorForType((wxString 
const &)*arg2
); 
14042         wxPyEndAllowThreads(__tstate
); 
14043         if (PyErr_Occurred()) SWIG_fail
; 
14046         resultobj 
= wxPyMake_wxGridCellEditor(result
);  
14062 static PyObject 
*_wrap_Grid_GetDefaultRendererForType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14063     PyObject 
*resultobj
; 
14064     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14065     wxString 
*arg2 
= 0 ; 
14066     wxGridCellRenderer 
*result
; 
14067     bool temp2 
= False 
; 
14068     PyObject 
* obj0 
= 0 ; 
14069     PyObject 
* obj1 
= 0 ; 
14070     char *kwnames
[] = { 
14071         (char *) "self",(char *) "typeName", NULL 
 
14074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
; 
14075     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14076     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14078         arg2 
= wxString_in_helper(obj1
); 
14079         if (arg2 
== NULL
) SWIG_fail
; 
14083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14084         result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRendererForType((wxString 
const &)*arg2
); 
14086         wxPyEndAllowThreads(__tstate
); 
14087         if (PyErr_Occurred()) SWIG_fail
; 
14090         resultobj 
= wxPyMake_wxGridCellRenderer(result
);  
14106 static PyObject 
*_wrap_Grid_SetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14107     PyObject 
*resultobj
; 
14108     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14111     PyObject 
* obj0 
= 0 ; 
14112     PyObject 
* obj1 
= 0 ; 
14113     PyObject 
* obj2 
= 0 ; 
14114     char *kwnames
[] = { 
14115         (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL 
 
14118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14119     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14120     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14121     arg2 
= (int) SWIG_AsInt(obj1
);  
14122     if (PyErr_Occurred()) SWIG_fail
; 
14123     arg3 
= (int) SWIG_AsInt(obj2
);  
14124     if (PyErr_Occurred()) SWIG_fail
; 
14126         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14127         (arg1
)->SetMargins(arg2
,arg3
); 
14129         wxPyEndAllowThreads(__tstate
); 
14130         if (PyErr_Occurred()) SWIG_fail
; 
14132     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14139 static PyObject 
*_wrap_Grid_GetGridWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14140     PyObject 
*resultobj
; 
14141     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14143     PyObject 
* obj0 
= 0 ; 
14144     char *kwnames
[] = { 
14145         (char *) "self", NULL 
 
14148     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
; 
14149     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14150     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14152         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14153         result 
= (wxWindow 
*)(arg1
)->GetGridWindow(); 
14155         wxPyEndAllowThreads(__tstate
); 
14156         if (PyErr_Occurred()) SWIG_fail
; 
14159         resultobj 
= wxPyMake_wxObject(result
);  
14167 static PyObject 
*_wrap_Grid_GetGridRowLabelWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14168     PyObject 
*resultobj
; 
14169     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14171     PyObject 
* obj0 
= 0 ; 
14172     char *kwnames
[] = { 
14173         (char *) "self", NULL 
 
14176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
; 
14177     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14178     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14180         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14181         result 
= (wxWindow 
*)(arg1
)->GetGridRowLabelWindow(); 
14183         wxPyEndAllowThreads(__tstate
); 
14184         if (PyErr_Occurred()) SWIG_fail
; 
14187         resultobj 
= wxPyMake_wxObject(result
);  
14195 static PyObject 
*_wrap_Grid_GetGridColLabelWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14196     PyObject 
*resultobj
; 
14197     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14199     PyObject 
* obj0 
= 0 ; 
14200     char *kwnames
[] = { 
14201         (char *) "self", NULL 
 
14204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
; 
14205     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14206     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14208         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14209         result 
= (wxWindow 
*)(arg1
)->GetGridColLabelWindow(); 
14211         wxPyEndAllowThreads(__tstate
); 
14212         if (PyErr_Occurred()) SWIG_fail
; 
14215         resultobj 
= wxPyMake_wxObject(result
);  
14223 static PyObject 
*_wrap_Grid_GetGridCornerLabelWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14224     PyObject 
*resultobj
; 
14225     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14227     PyObject 
* obj0 
= 0 ; 
14228     char *kwnames
[] = { 
14229         (char *) "self", NULL 
 
14232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
; 
14233     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14234     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14237         result 
= (wxWindow 
*)(arg1
)->GetGridCornerLabelWindow(); 
14239         wxPyEndAllowThreads(__tstate
); 
14240         if (PyErr_Occurred()) SWIG_fail
; 
14243         resultobj 
= wxPyMake_wxObject(result
);  
14251 static PyObject 
* Grid_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14253     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14254     SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
); 
14256     return Py_BuildValue((char *)""); 
14258 static PyObject 
*_wrap_new_GridEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14259     PyObject 
*resultobj
; 
14262     wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
14263     int arg4 
= (int) -1 ; 
14264     int arg5 
= (int) -1 ; 
14265     int arg6 
= (int) -1 ; 
14266     int arg7 
= (int) -1 ; 
14267     bool arg8 
= (bool) True 
; 
14268     bool arg9 
= (bool) False 
; 
14269     bool arg10 
= (bool) False 
; 
14270     bool arg11 
= (bool) False 
; 
14271     bool arg12 
= (bool) False 
; 
14272     wxGridEvent 
*result
; 
14273     PyObject 
* obj0 
= 0 ; 
14274     PyObject 
* obj1 
= 0 ; 
14275     PyObject 
* obj2 
= 0 ; 
14276     PyObject 
* obj3 
= 0 ; 
14277     PyObject 
* obj4 
= 0 ; 
14278     PyObject 
* obj5 
= 0 ; 
14279     PyObject 
* obj6 
= 0 ; 
14280     PyObject 
* obj7 
= 0 ; 
14281     PyObject 
* obj8 
= 0 ; 
14282     PyObject 
* obj9 
= 0 ; 
14283     PyObject 
* obj10 
= 0 ; 
14284     PyObject 
* obj11 
= 0 ; 
14285     char *kwnames
[] = { 
14286         (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 
 
14289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
; 
14290     arg1 
= (int) SWIG_AsInt(obj0
);  
14291     if (PyErr_Occurred()) SWIG_fail
; 
14292     arg2 
= (wxEventType
) SWIG_AsInt(obj1
);  
14293     if (PyErr_Occurred()) SWIG_fail
; 
14294     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
, 
14295     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14297         arg4 
= (int) SWIG_AsInt(obj3
);  
14298         if (PyErr_Occurred()) SWIG_fail
; 
14301         arg5 
= (int) SWIG_AsInt(obj4
);  
14302         if (PyErr_Occurred()) SWIG_fail
; 
14305         arg6 
= (int) SWIG_AsInt(obj5
);  
14306         if (PyErr_Occurred()) SWIG_fail
; 
14309         arg7 
= (int) SWIG_AsInt(obj6
);  
14310         if (PyErr_Occurred()) SWIG_fail
; 
14313         arg8 
= (bool) SWIG_AsBool(obj7
);  
14314         if (PyErr_Occurred()) SWIG_fail
; 
14317         arg9 
= (bool) SWIG_AsBool(obj8
);  
14318         if (PyErr_Occurred()) SWIG_fail
; 
14321         arg10 
= (bool) SWIG_AsBool(obj9
);  
14322         if (PyErr_Occurred()) SWIG_fail
; 
14325         arg11 
= (bool) SWIG_AsBool(obj10
);  
14326         if (PyErr_Occurred()) SWIG_fail
; 
14329         arg12 
= (bool) SWIG_AsBool(obj11
);  
14330         if (PyErr_Occurred()) SWIG_fail
; 
14333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14334         result 
= (wxGridEvent 
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
14336         wxPyEndAllowThreads(__tstate
); 
14337         if (PyErr_Occurred()) SWIG_fail
; 
14339     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1); 
14346 static PyObject 
*_wrap_GridEvent_GetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14347     PyObject 
*resultobj
; 
14348     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14350     PyObject 
* obj0 
= 0 ; 
14351     char *kwnames
[] = { 
14352         (char *) "self", NULL 
 
14355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
; 
14356     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14357     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14359         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14360         result 
= (int)(arg1
)->GetRow(); 
14362         wxPyEndAllowThreads(__tstate
); 
14363         if (PyErr_Occurred()) SWIG_fail
; 
14365     resultobj 
= SWIG_FromInt((int)result
); 
14372 static PyObject 
*_wrap_GridEvent_GetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14373     PyObject 
*resultobj
; 
14374     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14376     PyObject 
* obj0 
= 0 ; 
14377     char *kwnames
[] = { 
14378         (char *) "self", NULL 
 
14381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
; 
14382     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14383     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14386         result 
= (int)(arg1
)->GetCol(); 
14388         wxPyEndAllowThreads(__tstate
); 
14389         if (PyErr_Occurred()) SWIG_fail
; 
14391     resultobj 
= SWIG_FromInt((int)result
); 
14398 static PyObject 
*_wrap_GridEvent_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14399     PyObject 
*resultobj
; 
14400     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14402     PyObject 
* obj0 
= 0 ; 
14403     char *kwnames
[] = { 
14404         (char *) "self", NULL 
 
14407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
14408     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14409     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14412         result 
= (arg1
)->GetPosition(); 
14414         wxPyEndAllowThreads(__tstate
); 
14415         if (PyErr_Occurred()) SWIG_fail
; 
14418         wxPoint 
* resultptr
; 
14419         resultptr 
= new wxPoint((wxPoint 
&) result
); 
14420         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
14428 static PyObject 
*_wrap_GridEvent_Selecting(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14429     PyObject 
*resultobj
; 
14430     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14432     PyObject 
* obj0 
= 0 ; 
14433     char *kwnames
[] = { 
14434         (char *) "self", NULL 
 
14437     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
; 
14438     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14439     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14441         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14442         result 
= (bool)(arg1
)->Selecting(); 
14444         wxPyEndAllowThreads(__tstate
); 
14445         if (PyErr_Occurred()) SWIG_fail
; 
14448         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14456 static PyObject 
*_wrap_GridEvent_ControlDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14457     PyObject 
*resultobj
; 
14458     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14460     PyObject 
* obj0 
= 0 ; 
14461     char *kwnames
[] = { 
14462         (char *) "self", NULL 
 
14465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
; 
14466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14469         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14470         result 
= (bool)(arg1
)->ControlDown(); 
14472         wxPyEndAllowThreads(__tstate
); 
14473         if (PyErr_Occurred()) SWIG_fail
; 
14476         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14484 static PyObject 
*_wrap_GridEvent_MetaDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14485     PyObject 
*resultobj
; 
14486     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14488     PyObject 
* obj0 
= 0 ; 
14489     char *kwnames
[] = { 
14490         (char *) "self", NULL 
 
14493     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
; 
14494     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14495     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14497         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14498         result 
= (bool)(arg1
)->MetaDown(); 
14500         wxPyEndAllowThreads(__tstate
); 
14501         if (PyErr_Occurred()) SWIG_fail
; 
14504         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14512 static PyObject 
*_wrap_GridEvent_ShiftDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14513     PyObject 
*resultobj
; 
14514     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14516     PyObject 
* obj0 
= 0 ; 
14517     char *kwnames
[] = { 
14518         (char *) "self", NULL 
 
14521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
; 
14522     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14525         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14526         result 
= (bool)(arg1
)->ShiftDown(); 
14528         wxPyEndAllowThreads(__tstate
); 
14529         if (PyErr_Occurred()) SWIG_fail
; 
14532         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14540 static PyObject 
*_wrap_GridEvent_AltDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14541     PyObject 
*resultobj
; 
14542     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14544     PyObject 
* obj0 
= 0 ; 
14545     char *kwnames
[] = { 
14546         (char *) "self", NULL 
 
14549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
; 
14550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14553         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14554         result 
= (bool)(arg1
)->AltDown(); 
14556         wxPyEndAllowThreads(__tstate
); 
14557         if (PyErr_Occurred()) SWIG_fail
; 
14560         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14568 static PyObject 
* GridEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14570     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14571     SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
); 
14573     return Py_BuildValue((char *)""); 
14575 static PyObject 
*_wrap_new_GridSizeEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14576     PyObject 
*resultobj
; 
14579     wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
14580     int arg4 
= (int) -1 ; 
14581     int arg5 
= (int) -1 ; 
14582     int arg6 
= (int) -1 ; 
14583     bool arg7 
= (bool) False 
; 
14584     bool arg8 
= (bool) False 
; 
14585     bool arg9 
= (bool) False 
; 
14586     bool arg10 
= (bool) False 
; 
14587     wxGridSizeEvent 
*result
; 
14588     PyObject 
* obj0 
= 0 ; 
14589     PyObject 
* obj1 
= 0 ; 
14590     PyObject 
* obj2 
= 0 ; 
14591     PyObject 
* obj3 
= 0 ; 
14592     PyObject 
* obj4 
= 0 ; 
14593     PyObject 
* obj5 
= 0 ; 
14594     PyObject 
* obj6 
= 0 ; 
14595     PyObject 
* obj7 
= 0 ; 
14596     PyObject 
* obj8 
= 0 ; 
14597     PyObject 
* obj9 
= 0 ; 
14598     char *kwnames
[] = { 
14599         (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL 
 
14602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
14603     arg1 
= (int) SWIG_AsInt(obj0
);  
14604     if (PyErr_Occurred()) SWIG_fail
; 
14605     arg2 
= (wxEventType
) SWIG_AsInt(obj1
);  
14606     if (PyErr_Occurred()) SWIG_fail
; 
14607     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
, 
14608     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14610         arg4 
= (int) SWIG_AsInt(obj3
);  
14611         if (PyErr_Occurred()) SWIG_fail
; 
14614         arg5 
= (int) SWIG_AsInt(obj4
);  
14615         if (PyErr_Occurred()) SWIG_fail
; 
14618         arg6 
= (int) SWIG_AsInt(obj5
);  
14619         if (PyErr_Occurred()) SWIG_fail
; 
14622         arg7 
= (bool) SWIG_AsBool(obj6
);  
14623         if (PyErr_Occurred()) SWIG_fail
; 
14626         arg8 
= (bool) SWIG_AsBool(obj7
);  
14627         if (PyErr_Occurred()) SWIG_fail
; 
14630         arg9 
= (bool) SWIG_AsBool(obj8
);  
14631         if (PyErr_Occurred()) SWIG_fail
; 
14634         arg10 
= (bool) SWIG_AsBool(obj9
);  
14635         if (PyErr_Occurred()) SWIG_fail
; 
14638         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14639         result 
= (wxGridSizeEvent 
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
14641         wxPyEndAllowThreads(__tstate
); 
14642         if (PyErr_Occurred()) SWIG_fail
; 
14644     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1); 
14651 static PyObject 
*_wrap_GridSizeEvent_GetRowOrCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14652     PyObject 
*resultobj
; 
14653     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14655     PyObject 
* obj0 
= 0 ; 
14656     char *kwnames
[] = { 
14657         (char *) "self", NULL 
 
14660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
; 
14661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14665         result 
= (int)(arg1
)->GetRowOrCol(); 
14667         wxPyEndAllowThreads(__tstate
); 
14668         if (PyErr_Occurred()) SWIG_fail
; 
14670     resultobj 
= SWIG_FromInt((int)result
); 
14677 static PyObject 
*_wrap_GridSizeEvent_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14678     PyObject 
*resultobj
; 
14679     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14681     PyObject 
* obj0 
= 0 ; 
14682     char *kwnames
[] = { 
14683         (char *) "self", NULL 
 
14686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
14687     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14688     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14690         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14691         result 
= (arg1
)->GetPosition(); 
14693         wxPyEndAllowThreads(__tstate
); 
14694         if (PyErr_Occurred()) SWIG_fail
; 
14697         wxPoint 
* resultptr
; 
14698         resultptr 
= new wxPoint((wxPoint 
&) result
); 
14699         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
14707 static PyObject 
*_wrap_GridSizeEvent_ControlDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14708     PyObject 
*resultobj
; 
14709     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14711     PyObject 
* obj0 
= 0 ; 
14712     char *kwnames
[] = { 
14713         (char *) "self", NULL 
 
14716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
; 
14717     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14718     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14721         result 
= (bool)(arg1
)->ControlDown(); 
14723         wxPyEndAllowThreads(__tstate
); 
14724         if (PyErr_Occurred()) SWIG_fail
; 
14727         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14735 static PyObject 
*_wrap_GridSizeEvent_MetaDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14736     PyObject 
*resultobj
; 
14737     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14739     PyObject 
* obj0 
= 0 ; 
14740     char *kwnames
[] = { 
14741         (char *) "self", NULL 
 
14744     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
; 
14745     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14746     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14749         result 
= (bool)(arg1
)->MetaDown(); 
14751         wxPyEndAllowThreads(__tstate
); 
14752         if (PyErr_Occurred()) SWIG_fail
; 
14755         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14763 static PyObject 
*_wrap_GridSizeEvent_ShiftDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14764     PyObject 
*resultobj
; 
14765     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14767     PyObject 
* obj0 
= 0 ; 
14768     char *kwnames
[] = { 
14769         (char *) "self", NULL 
 
14772     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
; 
14773     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14774     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14776         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14777         result 
= (bool)(arg1
)->ShiftDown(); 
14779         wxPyEndAllowThreads(__tstate
); 
14780         if (PyErr_Occurred()) SWIG_fail
; 
14783         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14791 static PyObject 
*_wrap_GridSizeEvent_AltDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14792     PyObject 
*resultobj
; 
14793     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14795     PyObject 
* obj0 
= 0 ; 
14796     char *kwnames
[] = { 
14797         (char *) "self", NULL 
 
14800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
; 
14801     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14802     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14804         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14805         result 
= (bool)(arg1
)->AltDown(); 
14807         wxPyEndAllowThreads(__tstate
); 
14808         if (PyErr_Occurred()) SWIG_fail
; 
14811         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14819 static PyObject 
* GridSizeEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14821     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14822     SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
); 
14824     return Py_BuildValue((char *)""); 
14826 static PyObject 
*_wrap_new_GridRangeSelectEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14827     PyObject 
*resultobj
; 
14830     wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
14831     wxGridCellCoords 
*arg4 
= 0 ; 
14832     wxGridCellCoords 
*arg5 
= 0 ; 
14833     bool arg6 
= (bool) True 
; 
14834     bool arg7 
= (bool) False 
; 
14835     bool arg8 
= (bool) False 
; 
14836     bool arg9 
= (bool) False 
; 
14837     bool arg10 
= (bool) False 
; 
14838     wxGridRangeSelectEvent 
*result
; 
14839     wxGridCellCoords temp4 
; 
14840     wxGridCellCoords temp5 
; 
14841     PyObject 
* obj0 
= 0 ; 
14842     PyObject 
* obj1 
= 0 ; 
14843     PyObject 
* obj2 
= 0 ; 
14844     PyObject 
* obj3 
= 0 ; 
14845     PyObject 
* obj4 
= 0 ; 
14846     PyObject 
* obj5 
= 0 ; 
14847     PyObject 
* obj6 
= 0 ; 
14848     PyObject 
* obj7 
= 0 ; 
14849     PyObject 
* obj8 
= 0 ; 
14850     PyObject 
* obj9 
= 0 ; 
14851     char *kwnames
[] = { 
14852         (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL 
 
14855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
14856     arg1 
= (int) SWIG_AsInt(obj0
);  
14857     if (PyErr_Occurred()) SWIG_fail
; 
14858     arg2 
= (wxEventType
) SWIG_AsInt(obj1
);  
14859     if (PyErr_Occurred()) SWIG_fail
; 
14860     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
, 
14861     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14864         if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
; 
14868         if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
; 
14871         arg6 
= (bool) SWIG_AsBool(obj5
);  
14872         if (PyErr_Occurred()) SWIG_fail
; 
14875         arg7 
= (bool) SWIG_AsBool(obj6
);  
14876         if (PyErr_Occurred()) SWIG_fail
; 
14879         arg8 
= (bool) SWIG_AsBool(obj7
);  
14880         if (PyErr_Occurred()) SWIG_fail
; 
14883         arg9 
= (bool) SWIG_AsBool(obj8
);  
14884         if (PyErr_Occurred()) SWIG_fail
; 
14887         arg10 
= (bool) SWIG_AsBool(obj9
);  
14888         if (PyErr_Occurred()) SWIG_fail
; 
14891         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14892         result 
= (wxGridRangeSelectEvent 
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords 
const &)*arg4
,(wxGridCellCoords 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
14894         wxPyEndAllowThreads(__tstate
); 
14895         if (PyErr_Occurred()) SWIG_fail
; 
14897     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1); 
14904 static PyObject 
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14905     PyObject 
*resultobj
; 
14906     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
14907     wxGridCellCoords result
; 
14908     PyObject 
* obj0 
= 0 ; 
14909     char *kwnames
[] = { 
14910         (char *) "self", NULL 
 
14913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
; 
14914     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
14915     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14917         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14918         result 
= (arg1
)->GetTopLeftCoords(); 
14920         wxPyEndAllowThreads(__tstate
); 
14921         if (PyErr_Occurred()) SWIG_fail
; 
14924         wxGridCellCoords 
* resultptr
; 
14925         resultptr 
= new wxGridCellCoords((wxGridCellCoords 
&) result
); 
14926         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1); 
14934 static PyObject 
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14935     PyObject 
*resultobj
; 
14936     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
14937     wxGridCellCoords result
; 
14938     PyObject 
* obj0 
= 0 ; 
14939     char *kwnames
[] = { 
14940         (char *) "self", NULL 
 
14943     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
; 
14944     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
14945     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14948         result 
= (arg1
)->GetBottomRightCoords(); 
14950         wxPyEndAllowThreads(__tstate
); 
14951         if (PyErr_Occurred()) SWIG_fail
; 
14954         wxGridCellCoords 
* resultptr
; 
14955         resultptr 
= new wxGridCellCoords((wxGridCellCoords 
&) result
); 
14956         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1); 
14964 static PyObject 
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14965     PyObject 
*resultobj
; 
14966     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
14968     PyObject 
* obj0 
= 0 ; 
14969     char *kwnames
[] = { 
14970         (char *) "self", NULL 
 
14973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
; 
14974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
14975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14977         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14978         result 
= (int)(arg1
)->GetTopRow(); 
14980         wxPyEndAllowThreads(__tstate
); 
14981         if (PyErr_Occurred()) SWIG_fail
; 
14983     resultobj 
= SWIG_FromInt((int)result
); 
14990 static PyObject 
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14991     PyObject 
*resultobj
; 
14992     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
14994     PyObject 
* obj0 
= 0 ; 
14995     char *kwnames
[] = { 
14996         (char *) "self", NULL 
 
14999     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
; 
15000     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15001     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15004         result 
= (int)(arg1
)->GetBottomRow(); 
15006         wxPyEndAllowThreads(__tstate
); 
15007         if (PyErr_Occurred()) SWIG_fail
; 
15009     resultobj 
= SWIG_FromInt((int)result
); 
15016 static PyObject 
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15017     PyObject 
*resultobj
; 
15018     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15020     PyObject 
* obj0 
= 0 ; 
15021     char *kwnames
[] = { 
15022         (char *) "self", NULL 
 
15025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
; 
15026     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15027     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15029         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15030         result 
= (int)(arg1
)->GetLeftCol(); 
15032         wxPyEndAllowThreads(__tstate
); 
15033         if (PyErr_Occurred()) SWIG_fail
; 
15035     resultobj 
= SWIG_FromInt((int)result
); 
15042 static PyObject 
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15043     PyObject 
*resultobj
; 
15044     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15046     PyObject 
* obj0 
= 0 ; 
15047     char *kwnames
[] = { 
15048         (char *) "self", NULL 
 
15051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
; 
15052     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15053     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15056         result 
= (int)(arg1
)->GetRightCol(); 
15058         wxPyEndAllowThreads(__tstate
); 
15059         if (PyErr_Occurred()) SWIG_fail
; 
15061     resultobj 
= SWIG_FromInt((int)result
); 
15068 static PyObject 
*_wrap_GridRangeSelectEvent_Selecting(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15069     PyObject 
*resultobj
; 
15070     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15072     PyObject 
* obj0 
= 0 ; 
15073     char *kwnames
[] = { 
15074         (char *) "self", NULL 
 
15077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
; 
15078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15082         result 
= (bool)(arg1
)->Selecting(); 
15084         wxPyEndAllowThreads(__tstate
); 
15085         if (PyErr_Occurred()) SWIG_fail
; 
15088         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15096 static PyObject 
*_wrap_GridRangeSelectEvent_ControlDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15097     PyObject 
*resultobj
; 
15098     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15100     PyObject 
* obj0 
= 0 ; 
15101     char *kwnames
[] = { 
15102         (char *) "self", NULL 
 
15105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
; 
15106     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15107     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15109         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15110         result 
= (bool)(arg1
)->ControlDown(); 
15112         wxPyEndAllowThreads(__tstate
); 
15113         if (PyErr_Occurred()) SWIG_fail
; 
15116         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15124 static PyObject 
*_wrap_GridRangeSelectEvent_MetaDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15125     PyObject 
*resultobj
; 
15126     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15128     PyObject 
* obj0 
= 0 ; 
15129     char *kwnames
[] = { 
15130         (char *) "self", NULL 
 
15133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
; 
15134     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15135     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15138         result 
= (bool)(arg1
)->MetaDown(); 
15140         wxPyEndAllowThreads(__tstate
); 
15141         if (PyErr_Occurred()) SWIG_fail
; 
15144         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15152 static PyObject 
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15153     PyObject 
*resultobj
; 
15154     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15156     PyObject 
* obj0 
= 0 ; 
15157     char *kwnames
[] = { 
15158         (char *) "self", NULL 
 
15161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
; 
15162     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15163     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15166         result 
= (bool)(arg1
)->ShiftDown(); 
15168         wxPyEndAllowThreads(__tstate
); 
15169         if (PyErr_Occurred()) SWIG_fail
; 
15172         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15180 static PyObject 
*_wrap_GridRangeSelectEvent_AltDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15181     PyObject 
*resultobj
; 
15182     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15184     PyObject 
* obj0 
= 0 ; 
15185     char *kwnames
[] = { 
15186         (char *) "self", NULL 
 
15189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
; 
15190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15194         result 
= (bool)(arg1
)->AltDown(); 
15196         wxPyEndAllowThreads(__tstate
); 
15197         if (PyErr_Occurred()) SWIG_fail
; 
15200         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15208 static PyObject 
* GridRangeSelectEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15210     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15211     SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
); 
15213     return Py_BuildValue((char *)""); 
15215 static PyObject 
*_wrap_new_GridEditorCreatedEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15216     PyObject 
*resultobj
; 
15219     wxObject 
*arg3 
= (wxObject 
*) 0 ; 
15222     wxControl 
*arg6 
= (wxControl 
*) 0 ; 
15223     wxGridEditorCreatedEvent 
*result
; 
15224     PyObject 
* obj0 
= 0 ; 
15225     PyObject 
* obj1 
= 0 ; 
15226     PyObject 
* obj2 
= 0 ; 
15227     PyObject 
* obj3 
= 0 ; 
15228     PyObject 
* obj4 
= 0 ; 
15229     PyObject 
* obj5 
= 0 ; 
15230     char *kwnames
[] = { 
15231         (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL 
 
15234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
15235     arg1 
= (int) SWIG_AsInt(obj0
);  
15236     if (PyErr_Occurred()) SWIG_fail
; 
15237     arg2 
= (wxEventType
) SWIG_AsInt(obj1
);  
15238     if (PyErr_Occurred()) SWIG_fail
; 
15239     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
, 
15240     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15241     arg4 
= (int) SWIG_AsInt(obj3
);  
15242     if (PyErr_Occurred()) SWIG_fail
; 
15243     arg5 
= (int) SWIG_AsInt(obj4
);  
15244     if (PyErr_Occurred()) SWIG_fail
; 
15245     if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
, 
15246     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15248         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15249         result 
= (wxGridEditorCreatedEvent 
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
); 
15251         wxPyEndAllowThreads(__tstate
); 
15252         if (PyErr_Occurred()) SWIG_fail
; 
15254     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1); 
15261 static PyObject 
*_wrap_GridEditorCreatedEvent_GetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15262     PyObject 
*resultobj
; 
15263     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15265     PyObject 
* obj0 
= 0 ; 
15266     char *kwnames
[] = { 
15267         (char *) "self", NULL 
 
15270     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
; 
15271     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15272     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15275         result 
= (int)(arg1
)->GetRow(); 
15277         wxPyEndAllowThreads(__tstate
); 
15278         if (PyErr_Occurred()) SWIG_fail
; 
15280     resultobj 
= SWIG_FromInt((int)result
); 
15287 static PyObject 
*_wrap_GridEditorCreatedEvent_GetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15288     PyObject 
*resultobj
; 
15289     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15291     PyObject 
* obj0 
= 0 ; 
15292     char *kwnames
[] = { 
15293         (char *) "self", NULL 
 
15296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
; 
15297     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15298     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15301         result 
= (int)(arg1
)->GetCol(); 
15303         wxPyEndAllowThreads(__tstate
); 
15304         if (PyErr_Occurred()) SWIG_fail
; 
15306     resultobj 
= SWIG_FromInt((int)result
); 
15313 static PyObject 
*_wrap_GridEditorCreatedEvent_GetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15314     PyObject 
*resultobj
; 
15315     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15317     PyObject 
* obj0 
= 0 ; 
15318     char *kwnames
[] = { 
15319         (char *) "self", NULL 
 
15322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
; 
15323     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15326         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15327         result 
= (wxControl 
*)(arg1
)->GetControl(); 
15329         wxPyEndAllowThreads(__tstate
); 
15330         if (PyErr_Occurred()) SWIG_fail
; 
15333         resultobj 
= wxPyMake_wxObject(result
);  
15341 static PyObject 
*_wrap_GridEditorCreatedEvent_SetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15342     PyObject 
*resultobj
; 
15343     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15345     PyObject 
* obj0 
= 0 ; 
15346     PyObject 
* obj1 
= 0 ; 
15347     char *kwnames
[] = { 
15348         (char *) "self",(char *) "row", NULL 
 
15351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
15352     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15353     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15354     arg2 
= (int) SWIG_AsInt(obj1
);  
15355     if (PyErr_Occurred()) SWIG_fail
; 
15357         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15358         (arg1
)->SetRow(arg2
); 
15360         wxPyEndAllowThreads(__tstate
); 
15361         if (PyErr_Occurred()) SWIG_fail
; 
15363     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15370 static PyObject 
*_wrap_GridEditorCreatedEvent_SetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15371     PyObject 
*resultobj
; 
15372     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15374     PyObject 
* obj0 
= 0 ; 
15375     PyObject 
* obj1 
= 0 ; 
15376     char *kwnames
[] = { 
15377         (char *) "self",(char *) "col", NULL 
 
15380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
15381     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15382     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15383     arg2 
= (int) SWIG_AsInt(obj1
);  
15384     if (PyErr_Occurred()) SWIG_fail
; 
15386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15387         (arg1
)->SetCol(arg2
); 
15389         wxPyEndAllowThreads(__tstate
); 
15390         if (PyErr_Occurred()) SWIG_fail
; 
15392     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15399 static PyObject 
*_wrap_GridEditorCreatedEvent_SetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15400     PyObject 
*resultobj
; 
15401     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15402     wxControl 
*arg2 
= (wxControl 
*) 0 ; 
15403     PyObject 
* obj0 
= 0 ; 
15404     PyObject 
* obj1 
= 0 ; 
15405     char *kwnames
[] = { 
15406         (char *) "self",(char *) "ctrl", NULL 
 
15409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
15410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15412     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
, 
15413     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15416         (arg1
)->SetControl(arg2
); 
15418         wxPyEndAllowThreads(__tstate
); 
15419         if (PyErr_Occurred()) SWIG_fail
; 
15421     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15428 static PyObject 
* GridEditorCreatedEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15430     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15431     SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
); 
15433     return Py_BuildValue((char *)""); 
15435 static PyMethodDef SwigMethods
[] = { 
15436          { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15437          { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15438          { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15439          { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15440          { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15441          { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15442          { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15443          { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS 
}, 
15444          { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15445          { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15446          { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15447          { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS 
}, 
15448          { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15449          { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS 
}, 
15450          { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15451          { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS 
}, 
15452          { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15453          { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15454          { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15455          { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15456          { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15457          { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS 
}, 
15458          { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15459          { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS 
}, 
15460          { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15461          { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS 
}, 
15462          { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15463          { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS 
}, 
15464          { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15465          { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS 
}, 
15466          { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15467          { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15468          { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15469          { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15470          { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15471          { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15472          { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15473          { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15474          { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15475          { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15476          { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15477          { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15478          { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15479          { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15480          { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15481          { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15482          { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15483          { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15484          { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15485          { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15486          { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15487          { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15488          { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS 
}, 
15489          { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15490          { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15491          { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15492          { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15493          { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15494          { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15495          { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15496          { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15497          { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15498          { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15499          { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15500          { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS 
}, 
15501          { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15502          { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15503          { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS 
}, 
15504          { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15505          { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15506          { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS 
}, 
15507          { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15508          { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15509          { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS 
}, 
15510          { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15511          { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15512          { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS 
}, 
15513          { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15514          { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15515          { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS 
}, 
15516          { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15517          { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15518          { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS 
}, 
15519          { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15520          { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15521          { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS 
}, 
15522          { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15523          { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15524          { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15525          { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15526          { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15527          { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15528          { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15529          { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15530          { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15531          { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15532          { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15533          { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15534          { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15535          { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15536          { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15537          { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15538          { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15539          { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15540          { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15541          { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15542          { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15543          { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15544          { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15545          { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15546          { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15547          { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15548          { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15549          { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15550          { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15551          { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15552          { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15553          { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15554          { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15555          { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15556          { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS 
}, 
15557          { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15558          { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15559          { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15560          { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15561          { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15562          { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15563          { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15564          { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15565          { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS 
}, 
15566          { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15567          { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15568          { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15569          { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15570          { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15571          { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15572          { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS 
}, 
15573          { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15574          { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15575          { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15576          { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15577          { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15578          { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15579          { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15580          { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15581          { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15582          { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15583          { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15584          { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15585          { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15586          { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15587          { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15588          { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15589          { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15590          { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15591          { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15592          { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15593          { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15594          { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15595          { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15596          { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15597          { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15598          { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15599          { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15600          { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15601          { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15602          { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15603          { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15604          { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15605          { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15606          { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15607          { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15608          { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS 
}, 
15609          { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15610          { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15611          { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15612          { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15613          { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15614          { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15615          { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15616          { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15617          { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15618          { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15619          { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15620          { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15621          { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15622          { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15623          { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15624          { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15625          { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15626          { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15627          { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15628          { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15629          { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15630          { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15631          { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS 
}, 
15632          { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15633          { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS 
}, 
15634          { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15635          { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15636          { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15637          { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15638          { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15639          { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15640          { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15641          { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15642          { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15643          { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15644          { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS 
}, 
15645          { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15646          { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15647          { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15648          { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15649          { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15650          { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15651          { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15652          { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15653          { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15654          { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15655          { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS 
}, 
15656          { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15657          { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15658          { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15659          { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15660          { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15661          { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15662          { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15663          { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15664          { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15665          { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15666          { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15667          { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15668          { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15669          { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15670          { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15671          { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15672          { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15673          { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15674          { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15675          { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15676          { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15677          { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15678          { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15679          { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15680          { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15681          { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15682          { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15683          { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15684          { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15685          { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15686          { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15687          { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15688          { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15689          { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15690          { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15691          { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15692          { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15693          { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15694          { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15695          { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15696          { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15697          { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15698          { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15699          { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15700          { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15701          { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15702          { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15703          { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15704          { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15705          { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15706          { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15707          { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15708          { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15709          { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15710          { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15711          { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15712          { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15713          { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15714          { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15715          { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15716          { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15717          { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15718          { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15719          { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15720          { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15721          { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15722          { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15723          { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15724          { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15725          { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15726          { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15727          { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15728          { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15729          { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15730          { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15731          { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15732          { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15733          { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15734          { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15735          { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15736          { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15737          { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15738          { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15739          { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15740          { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15741          { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15742          { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15743          { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15744          { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15745          { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15746          { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15747          { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15748          { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15749          { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15750          { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15751          { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15752          { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15753          { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15754          { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15755          { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15756          { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15757          { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15758          { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15759          { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15760          { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15761          { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15762          { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15763          { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15764          { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15765          { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15766          { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15767          { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15768          { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15769          { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15770          { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15771          { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15772          { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15773          { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15774          { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15775          { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15776          { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15777          { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15778          { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15779          { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15780          { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15781          { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15782          { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15783          { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15784          { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15785          { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15786          { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15787          { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15788          { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15789          { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15790          { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15791          { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15792          { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15793          { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15794          { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15795          { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15796          { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15797          { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15798          { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15799          { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15800          { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15801          { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15802          { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15803          { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15804          { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15805          { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15806          { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15807          { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15808          { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15809          { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15810          { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15811          { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15812          { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15813          { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15814          { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15815          { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15816          { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15817          { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15818          { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15819          { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15820          { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15821          { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15822          { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15823          { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15824          { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15825          { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15826          { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15827          { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15828          { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15829          { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15830          { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15831          { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15832          { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15833          { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15834          { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15835          { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15836          { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15837          { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15838          { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15839          { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15840          { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15841          { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15842          { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15843          { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15844          { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS 
}, 
15845          { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15846          { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15847          { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15848          { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15849          { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15850          { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15851          { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15852          { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15853          { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15854          { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS 
}, 
15855          { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15856          { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15857          { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15858          { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15859          { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15860          { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15861          { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15862          { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS 
}, 
15863          { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15864          { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15865          { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15866          { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15867          { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15868          { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15869          { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15870          { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15871          { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15872          { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15873          { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15874          { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15875          { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS 
}, 
15876          { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15877          { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15878          { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15879          { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15880          { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15881          { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15882          { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15883          { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS 
}, 
15888 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
15890 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) { 
15891     return (void *)((wxGridCellRenderer 
*)  ((wxPyGridCellRenderer 
*) x
)); 
15893 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) { 
15894     return (void *)((wxGridCellRenderer 
*)  ((wxGridCellStringRenderer 
*) x
)); 
15896 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) { 
15897     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellNumberRenderer 
*) x
)); 
15899 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) { 
15900     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellFloatRenderer 
*) x
)); 
15902 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) { 
15903     return (void *)((wxGridCellRenderer 
*)  ((wxGridCellBoolRenderer 
*) x
)); 
15905 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) { 
15906     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellDateTimeRenderer 
*) x
)); 
15908 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) { 
15909     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellEnumRenderer 
*) x
)); 
15911 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) { 
15912     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
15914 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) { 
15915     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellNumberRenderer 
*) x
)); 
15917 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) { 
15918     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellFloatRenderer 
*) x
)); 
15920 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) { 
15921     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellDateTimeRenderer 
*) x
)); 
15923 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) { 
15924     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellEnumRenderer 
*) x
)); 
15926 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) { 
15927     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
15929 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
15930     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
15932 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
15933     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
15935 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
15936     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
15938 static void *_p_wxGridTo_p_wxPanel(void *x
) { 
15939     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
15941 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
15942     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
15944 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
15945     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
15947 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
15948     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
15950 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
15951     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
15953 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
15954     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
15956 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
15957     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
15959 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) { 
15960     return (void *)((wxNotifyEvent 
*)  ((wxGridSizeEvent 
*) x
)); 
15962 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) { 
15963     return (void *)((wxNotifyEvent 
*)  ((wxGridRangeSelectEvent 
*) x
)); 
15965 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
15966     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
15968 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) { 
15969     return (void *)((wxNotifyEvent 
*)  ((wxGridEvent 
*) x
)); 
15971 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
15972     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
15974 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) { 
15975     return (void *)((wxScrolledWindow 
*)  ((wxGrid 
*) x
)); 
15977 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
15978     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
15980 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
15981     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
15983 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
15984     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
15986 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
15987     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
15989 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
15990     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
15992 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
15993     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
15995 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
15996     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
15998 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
15999     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
16001 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
16002     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
16004 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
16005     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
16007 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
16008     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
16010 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
16011     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
16013 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
16014     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
16016 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
16017     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
16019 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
16020     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
16022 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
16023     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
16025 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
16026     return (void *)((wxWindow 
*) (wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
16028 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
16029     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
16031 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
16032     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
16034 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
16035     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
16037 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
16038     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
16040 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
16041     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
16043 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
16044     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
16046 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
16047     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
16049 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
16050     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
16052 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
16053     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
16055 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
16056     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
16058 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
16059     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
16061 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
16062     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
16064 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
16065     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
16067 static void *_p_wxGridTo_p_wxWindow(void *x
) { 
16068     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
16070 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
16071     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
16073 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
16074     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
16076 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
16077     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
16079 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
16080     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
16082 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
16083     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
16085 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
16086     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
16088 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
16089     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
16091 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
16092     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
16094 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
16095     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
16097 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
16098     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
16100 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
16101     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
16103 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
16104     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
16106 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) { 
16107     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxPageSetupDialog 
*) x
)); 
16109 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) { 
16110     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxPrintDialog 
*) x
)); 
16112 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
16113     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
16115 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
16116     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
16118 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
16119     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
16121 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
16122     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
16124 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
16125     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
16127 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
16128     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
16130 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
16131     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
16133 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
16134     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
16136 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
16137     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
16139 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
16140     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
16142 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
16143     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
16145 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
16146     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
16148 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
16149     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
16151 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
16152     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
16154 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
16155     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
16157 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) { 
16158     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
16160 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
16161     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
16163 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
16164     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
16166 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
16167     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
16169 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
16170     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
16172 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
16173     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
16175 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
16176     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
16178 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
16179     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
16181 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
16182     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
16184 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) { 
16185     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
16187 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
16188     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
16190 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
16191     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
16193 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
16194     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
16196 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
16197     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
16199 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
16200     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
16202 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
16203     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
16205 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
16206     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
16208 static void *_p_wxGridEventTo_p_wxEvent(void *x
) { 
16209     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
16211 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) { 
16212     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxGridEditorCreatedEvent 
*) x
)); 
16214 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
16215     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
16217 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
16218     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
16220 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
16221     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
16223 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
16224     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
16226 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
16227     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
16229 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
16230     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
16232 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
16233     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
16235 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
16236     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
16238 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
16239     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
16241 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
16242     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
16244 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
16245     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
16247 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
16248     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
16250 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
16251     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
16253 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
16254     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
16256 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
16257     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
16259 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
16260     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
16262 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
16263     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
16265 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
16266     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
16268 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
16269     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
16271 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
16272     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
16274 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
16275     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
16277 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
16278     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
16280 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
16281     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
16283 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
16284     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
16286 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
16287     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
16289 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
16290     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
16292 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
16293     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
16295 static void *_p_wxEventTo_p_wxObject(void *x
) { 
16296     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
16298 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
16299     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
16301 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
16302     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
16304 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
16305     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
16307 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
16308     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
16310 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
16311     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
16313 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
16314     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
16316 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) { 
16317     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxTaskBarIcon 
*) x
)); 
16319 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
16320     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
16322 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) { 
16323     return (void *)((wxObject 
*) (wxGridTableBase 
*) ((wxGridStringTable 
*) x
)); 
16325 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
16326     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
16328 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
16329     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
16331 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
16332     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
16334 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
16335     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
16337 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
16338     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
16340 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
16341     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
16343 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
16344     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
16346 static void *_p_wxGridEventTo_p_wxObject(void *x
) { 
16347     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
16349 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) { 
16350     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxGridEditorCreatedEvent 
*) x
)); 
16352 static void *_p_wxControlTo_p_wxObject(void *x
) { 
16353     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
16355 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
16356     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
16358 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
16359     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
16361 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
16362     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
16364 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
16365     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
16367 static void *_p_wxGridTo_p_wxObject(void *x
) { 
16368     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
16370 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
16371     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
16373 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
16374     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
16376 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
16377     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
16379 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
16380     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
16382 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
16383     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
16385 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
16386     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
16388 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
16389     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
16391 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
16392     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
16394 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
16395     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
16397 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
16398     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
16400 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
16401     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
16403 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
16404     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
16406 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
16407     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
16409 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
16410     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
16412 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
16413     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
16415 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
16416     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
16418 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
16419     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
16421 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
16422     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
16424 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
16425     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
16427 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
16428     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
16430 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
16431     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
16433 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
16434     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
16436 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
16437     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
16439 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
16440     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
16442 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
16443     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
16445 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) { 
16446     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
16448 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
16449     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
16451 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
16452     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
16454 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
16455     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
16457 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
16458     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
16460 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
16461     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
16463 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
16464     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
16466 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
16467     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
16469 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
16470     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
16472 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
16473     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
16475 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
16476     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
16478 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
16479     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
16481 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
16482     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
16484 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
16485     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
16487 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
16488     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
16490 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) { 
16491     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
16493 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
16494     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
16496 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
16497     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
16499 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
16500     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
16502 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
16503     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
16505 static void *_p_wxImageTo_p_wxObject(void *x
) { 
16506     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
16508 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
16509     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
16511 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
16512     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
16514 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
16515     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
16517 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
16518     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
16520 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
16521     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
16523 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
16524     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
16526 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
16527     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
16529 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
16530     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
16532 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
16533     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
16535 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
16536     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
16538 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
16539     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
16541 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
16542     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
16544 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
16545     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
16547 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
16548     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
16550 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
16551     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
16553 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
16554     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
16556 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
16557     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
16559 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
16560     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
16562 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
16563     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
16565 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
16566     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
16568 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
16569     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
16571 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
16572     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
16574 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
16575     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
16577 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
16578     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
16580 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
16581     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
16583 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
16584     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
16586 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
16587     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
16589 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
16590     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
16592 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
16593     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
16595 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
16596     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
16598 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
16599     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
16601 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
16602     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
16604 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
16605     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxPageSetupDialog 
*) x
)); 
16607 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
16608     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxPrintDialog 
*) x
)); 
16610 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
16611     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
16613 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
16614     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
16616 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
16617     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
16619 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
16620     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
16622 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
16623     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
16625 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
16626     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
16628 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
16629     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
16631 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) { 
16632     return (void *)((wxObject 
*)  ((wxGridTableBase 
*) x
)); 
16634 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) { 
16635     return (void *)((wxObject 
*) (wxGridTableBase 
*) ((wxPyGridTableBase 
*) x
)); 
16637 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
16638     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
16640 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
16641     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
16643 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
16644     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
16646 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
16647     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
16649 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
16650     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
16652 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
16653     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
16655 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
16656     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
16658 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
16659     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
16661 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
16662     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
16664 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
16665     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
16667 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
16668     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
16670 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
16671     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
16673 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
16674     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
16676 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
16677     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
16679 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
16680     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
16682 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
16683     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
16685 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
16686     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
16688 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
16689     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
16691 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
16692     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
16694 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
16695     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
16697 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
16698     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
16700 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
16701     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
16703 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
16704     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
16706 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
16707     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
16709 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
16710     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
16712 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
16713     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
16715 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
16716     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
16718 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
16719     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
16721 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
16722     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
16724 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
16725     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
16727 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
16728     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
16730 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
16731     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
16733 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
16734     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
16736 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
16737     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
16739 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
16740     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
16742 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
16743     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
16745 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
16746     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
16748 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
16749     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
16751 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
16752     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
16754 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
16755     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
16757 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
16758     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
16760 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
16761     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
16763 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
16764     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
16766 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
16767     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
16769 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
16770     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
16772 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
16773     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
16775 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) { 
16776     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
16778 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
16779     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
16781 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
16782     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
16784 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
16785     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
16787 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
16788     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
16790 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
16791     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
16793 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
16794     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
16796 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
16797     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
16799 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) { 
16800     return (void *)((wxEvtHandler 
*)  ((wxTaskBarIcon 
*) x
)); 
16802 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
16803     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
16805 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
16806     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
16808 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
16809     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
16811 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
16812     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
16814 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
16815     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
16817 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) { 
16818     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxPageSetupDialog 
*) x
)); 
16820 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) { 
16821     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxPrintDialog 
*) x
)); 
16823 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
16824     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
16826 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) { 
16827     return (void *)((wxGridTableBase 
*)  ((wxGridStringTable 
*) x
)); 
16829 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) { 
16830     return (void *)((wxGridTableBase 
*)  ((wxPyGridTableBase 
*) x
)); 
16832 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) { 
16833     return (void *)((wxGridCellEditor 
*)  ((wxPyGridCellEditor 
*) x
)); 
16835 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) { 
16836     return (void *)((wxGridCellEditor 
*)  ((wxGridCellTextEditor 
*) x
)); 
16838 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) { 
16839     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellNumberEditor 
*) x
)); 
16841 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) { 
16842     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellFloatEditor 
*) x
)); 
16844 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) { 
16845     return (void *)((wxGridCellEditor 
*)  ((wxGridCellBoolEditor 
*) x
)); 
16847 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) { 
16848     return (void *)((wxGridCellEditor 
*)  ((wxGridCellChoiceEditor 
*) x
)); 
16850 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) { 
16851     return (void *)((wxGridCellEditor 
*) (wxGridCellChoiceEditor 
*) ((wxGridCellEnumEditor 
*) x
)); 
16853 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) { 
16854     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellAutoWrapStringEditor 
*) x
)); 
16856 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) { 
16857     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellNumberEditor 
*) x
)); 
16859 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) { 
16860     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellFloatEditor 
*) x
)); 
16862 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) { 
16863     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellAutoWrapStringEditor 
*) x
)); 
16865 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
16866     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
16868 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
16869     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
16871 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
16872     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
16874 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
16875     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
16877 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
16878     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
16880 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
16881     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
16883 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
16884     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
16886 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) { 
16887     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
16889 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) { 
16890     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
16892 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
16893     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
16895 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) { 
16896     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
16898 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) { 
16899     return (void *)((wxCommandEvent 
*)  ((wxGridEditorCreatedEvent 
*) x
)); 
16901 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
16902     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
16904 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
16905     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
16907 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
16908     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
16910 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) { 
16911     return (void *)((wxGridCellAttrProvider 
*)  ((wxPyGridCellAttrProvider 
*) x
)); 
16913 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) { 
16914     return (void *)((wxGridCellChoiceEditor 
*)  ((wxGridCellEnumEditor 
*) x
)); 
16916 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16917 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16918 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16919 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16920 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16921 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16922 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16923 static swig_type_info _swigt__p_wxGridCellRenderer
[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0, 0, 0, 0},{"_p_wxGridCellRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16924 static swig_type_info _swigt__p_wxGridCellStringRenderer
[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16925 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0, 0, 0, 0},{"_p_wxGridCellAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16926 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16927 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16928 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16929 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16930 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16931 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16932 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16933 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16934 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16935 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0, 0, 0, 0},{"_p_wxGridCellCoords", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16936 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16937 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16938 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16939 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16940 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16941 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16942 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16943 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16944 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16945 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16946 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16947 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16948 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0, 0, 0, 0},{"_p_wxGridEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16949 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16950 static swig_type_info _swigt__p_wxGridTableBase
[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase
, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16951 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16952 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0, 0, 0, 0},{"_p_wxPyGridCellEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16953 static swig_type_info _swigt__p_wxGridCellEditor
[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0, 0, 0, 0},{"_p_wxGridCellEditor", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16954 static swig_type_info _swigt__p_wxGridCellTextEditor
[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0, 0, 0, 0},{"_p_wxGridCellTextEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16955 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16956 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16957 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0, 0, 0, 0},{"_p_wxPyGridTableBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16958 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0, 0, 0, 0},{"_p_wxGridStringTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16959 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16960 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16961 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16962 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16963 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16964 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16965 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16966 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16967 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
16969 static swig_type_info 
*swig_types_initial
[] = { 
16970 _swigt__p_wxGridCellAutoWrapStringRenderer
,  
16971 _swigt__p_wxGridCellEnumRenderer
,  
16972 _swigt__p_wxGridCellDateTimeRenderer
,  
16973 _swigt__p_wxGridCellBoolRenderer
,  
16974 _swigt__p_wxGridCellFloatRenderer
,  
16975 _swigt__p_wxGridCellNumberRenderer
,  
16976 _swigt__p_wxPyGridCellRenderer
,  
16977 _swigt__p_wxGridCellRenderer
,  
16978 _swigt__p_wxGridCellStringRenderer
,  
16979 _swigt__p_wxGridCellAttr
,  
16980 _swigt__p_wxColour
,  
16982 _swigt__p_wxGridTableMessage
,  
16986 _swigt__p_wxNotifyEvent
,  
16987 _swigt__p_wxGridRangeSelectEvent
,  
16989 _swigt__p_wxGridCellCoords
,  
16990 _swigt__p_wxScrolledWindow
,  
16991 _swigt__p_wxWindow
,  
16993 _swigt__p_wxControl
,  
16995 _swigt__p_wxObject
,  
16996 _swigt__p_wxGridSizeEvent
,  
16999 _swigt__p_wxString
,  
17000 _swigt__p_wxEvtHandler
,  
17002 _swigt__p_wxGridEvent
,  
17003 _swigt__p_wxGridEditorCreatedEvent
,  
17004 _swigt__p_wxGridTableBase
,  
17005 _swigt__p_wxGridCellNumberEditor
,  
17006 _swigt__p_wxPyGridCellEditor
,  
17007 _swigt__p_wxGridCellEditor
,  
17008 _swigt__p_wxGridCellTextEditor
,  
17009 _swigt__p_wxGridCellFloatEditor
,  
17010 _swigt__p_wxGridCellBoolEditor
,  
17011 _swigt__p_wxPyGridTableBase
,  
17012 _swigt__p_wxGridStringTable
,  
17013 _swigt__p_wxArrayString
,  
17014 _swigt__p_wxCommandEvent
,  
17015 _swigt__p_wxGridCellAttrProvider
,  
17016 _swigt__p_wxKeyEvent
,  
17017 _swigt__p_wxGridCellChoiceEditor
,  
17018 _swigt__p_wxGridCellEnumEditor
,  
17019 _swigt__p_wxGridCellAutoWrapStringEditor
,  
17021 _swigt__p_wxPyGridCellAttrProvider
,  
17026 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
17028 static swig_const_info swig_const_table
[] = { 
17029 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
}, 
17030 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
}, 
17031 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
}, 
17032 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
}, 
17033 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
}, 
17034 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
}, 
17035 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
}, 
17036 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
}, 
17037 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
}, 
17047 SWIGEXPORT(void) SWIG_init(void) { 
17048     static PyObject 
*SWIG_globals 
= 0;  
17049     static int       typeinit 
= 0; 
17052     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
17053     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
17054     d 
= PyModule_GetDict(m
); 
17057         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
17058             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
17062     SWIG_InstallConstants(d
,swig_const_table
); 
17064     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
17065     SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
); 
17066     PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string")); 
17067     PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool")); 
17068     PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long")); 
17069     PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double")); 
17070     PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice")); 
17071     PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string")); 
17072     PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long")); 
17073     PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint")); 
17074     PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime")); 
17075     SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
); 
17076     SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
); 
17077     PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any
)); 
17078     PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default
)); 
17079     PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell
)); 
17080     PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row
)); 
17081     PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col
)); 
17082     PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged
)); 
17083     PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)); 
17084     PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)); 
17085     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)); 
17086     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)); 
17087     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
)); 
17088     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
)); 
17089     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
)); 
17090     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
)); 
17091     PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells
)); 
17092     PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows
)); 
17093     PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns
)); 
17094     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
)); 
17095     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
)); 
17096     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
)); 
17097     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
)); 
17098     PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
)); 
17099     PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
)); 
17100     PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
)); 
17101     PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
)); 
17102     PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
)); 
17103     PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
)); 
17104     PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
)); 
17105     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
)); 
17106     PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
)); 
17107     PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
)); 
17108     PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
)); 
17109     PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));