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_wxVisualAttributes swig_types[14]  
 224 #define  SWIGTYPE_p_char swig_types[15]  
 225 #define  SWIGTYPE_p_wxPanel swig_types[16]  
 226 #define  SWIGTYPE_p_wxNotifyEvent swig_types[17]  
 227 #define  SWIGTYPE_p_wxGridRangeSelectEvent swig_types[18]  
 228 #define  SWIGTYPE_p_wxSize swig_types[19]  
 229 #define  SWIGTYPE_p_wxGridCellCoords swig_types[20]  
 230 #define  SWIGTYPE_p_wxScrolledWindow swig_types[21]  
 231 #define  SWIGTYPE_p_wxWindow swig_types[22]  
 232 #define  SWIGTYPE_p_wxFont swig_types[23]  
 233 #define  SWIGTYPE_p_wxControl swig_types[24]  
 234 #define  SWIGTYPE_p_wxEvent swig_types[25]  
 235 #define  SWIGTYPE_p_wxObject swig_types[26]  
 236 #define  SWIGTYPE_p_wxGridSizeEvent swig_types[27]  
 237 #define  SWIGTYPE_p_wxRect swig_types[28]  
 238 #define  SWIGTYPE_p_long swig_types[29]  
 239 #define  SWIGTYPE_p_wxString swig_types[30]  
 240 #define  SWIGTYPE_p_wxEvtHandler swig_types[31]  
 241 #define  SWIGTYPE_p_wxPoint swig_types[32]  
 242 #define  SWIGTYPE_p_wxGridEvent swig_types[33]  
 243 #define  SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[34]  
 244 #define  SWIGTYPE_p_wxGridTableBase swig_types[35]  
 245 #define  SWIGTYPE_p_wxGridCellNumberEditor swig_types[36]  
 246 #define  SWIGTYPE_p_wxPyGridCellEditor swig_types[37]  
 247 #define  SWIGTYPE_p_wxGridCellEditor swig_types[38]  
 248 #define  SWIGTYPE_p_wxGridCellTextEditor swig_types[39]  
 249 #define  SWIGTYPE_p_wxGridCellFloatEditor swig_types[40]  
 250 #define  SWIGTYPE_p_wxGridCellBoolEditor swig_types[41]  
 251 #define  SWIGTYPE_p_wxPyGridTableBase swig_types[42]  
 252 #define  SWIGTYPE_p_wxGridStringTable swig_types[43]  
 253 #define  SWIGTYPE_p_wxArrayString swig_types[44]  
 254 #define  SWIGTYPE_p_wxCommandEvent swig_types[45]  
 255 #define  SWIGTYPE_p_wxGridCellAttrProvider swig_types[46]  
 256 #define  SWIGTYPE_p_wxKeyEvent swig_types[47]  
 257 #define  SWIGTYPE_p_wxGridCellChoiceEditor swig_types[48]  
 258 #define  SWIGTYPE_p_wxGridCellEnumEditor swig_types[49]  
 259 #define  SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[50]  
 260 #define  SWIGTYPE_p_int swig_types[51]  
 261 #define  SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[52]  
 262 static swig_type_info 
*swig_types
[54]; 
 264 /* -------- TYPES TABLE (END) -------- */ 
 267 /*----------------------------------------------- 
 269   ------------------------------------------------*/ 
 270 #define SWIG_init    init_grid 
 272 #define SWIG_name    "_grid" 
 274 /* Auxiliar swig  macros */ 
 277 #define SWIGSTATICINLINE(a) static inline a 
 278 #define SWIGSTATIC(a) static a 
 279 #define swig_new_array(type, size) (new type[(size)]) 
 280 #define swig_delete_array(cptr) delete[] cptr 
 281 #define swig_const_cast(type,a) const_cast<type>(a) 
 282 #define swig_static_cast(type,a) static_cast<type>(a) 
 283 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) 
 285 #ifdef HAVE_NUMERIC_CAST 
 286 #define swig_numeric_cast(type,a) numeric_cast<type>(a) 
 288 #define swig_numeric_cast(type,a) static_cast<type>(a) 
 293 #define SWIGSTATICINLINE(a) static a 
 294 #define SWIGSTATIC(a) static a 
 295 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) 
 296 #define swig_delete_array(cptr) free((char*)cptr) 
 297 #define swig_const_cast(type,a) (type)(a) 
 298 #define swig_static_cast(type,a) (type)(a) 
 299 #define swig_reinterpret_cast(type,a) (type)(a) 
 300 #define swig_numeric_cast(type,a) (type)(a) 
 302 #endif /* __cplusplus */ 
 305 #define SWIG_FromSignedChar     PyInt_FromLong 
 306 #define SWIG_FromUnsignedChar   PyInt_FromLong 
 307 #define SWIG_FromShort         PyInt_FromLong 
 308 #define SWIG_FromUnsignedShort  PyInt_FromLong 
 309 #define SWIG_FromInt           PyInt_FromLong 
 310 #define SWIG_FromLong          PyInt_FromLong 
 311 #define SWIG_FromFloat         PyFloat_FromDouble 
 312 #define SWIG_FromDouble        PyFloat_FromDouble 
 313 #define SWIG_FromFloat         PyFloat_FromDouble 
 314 #define SWIG_FromDouble        PyFloat_FromDouble 
 317 #include "wx/wxPython/wxPython.h" 
 318 #include "wx/wxPython/pyclasses.h" 
 319 #include "wx/wxPython/printfw.h" 
 322 #include <wx/generic/gridctrl.h> 
 325  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 326  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
 327  static const wxString 
wxPyDateTimeFormatStr(wxT("%c"));  
 330 #define wxPyMake_TEMPLATE(TYPE) \ 
 331 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \ 
 332     PyObject* target = NULL; \ 
 334         /* Check if there is already a pointer to a Python object in the \ 
 335            OOR data that we can use. */ \ 
 336         wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \ 
 338             target = data->m_obj; \ 
 341         /* Otherwise make a new wrapper for it the old fashioned way and \ 
 342            give it the OOR treatment */ \ 
 344             target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \ 
 346                 source->SetClientObject(new wxPyOORClientData(target)); \ 
 348     } else {  /* source was NULL so return None. */ \ 
 349         Py_INCREF(Py_None); target = Py_None; \ 
 355 wxPyMake_TEMPLATE(wxGridCellRenderer) 
 356 wxPyMake_TEMPLATE(wxGridCellEditor
) 
 357 wxPyMake_TEMPLATE(wxGridCellAttr
) 
 358 wxPyMake_TEMPLATE(wxGridCellAttrProvider
) 
 359 wxPyMake_TEMPLATE(wxGridTableBase
) 
 363 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME)                               \ 
 364     wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) {        \ 
 365         wxGridCellAttr* rval = NULL;                                            \ 
 367         bool blocked = wxPyBeginBlockThreads();                            \ 
 368         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 370             wxGridCellAttr* ptr;                                                \ 
 371             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \ 
 373                 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr")))    \ 
 378         wxPyEndBlockThreads(blocked);                                             \ 
 380             rval = PCLASS::CBNAME(a, b, c);                                     \ 
 383     wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ 
 384         return PCLASS::CBNAME(a, b, c);                                         \ 
 389 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME)                                   \ 
 390     void CBNAME(wxGridCellAttr *attr, int a, int b) {                           \ 
 391         bool blocked = wxPyBeginBlockThreads();                                                \ 
 393         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 394             PyObject* obj = wxPyMake_wxGridCellAttr(attr,false);                \ 
 395             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b));  \ 
 398         wxPyEndBlockThreads(blocked);                                                  \ 
 400             PCLASS::CBNAME(attr, a, b);                                         \ 
 402     void base_##CBNAME(wxGridCellAttr *attr, int a, int b) {                    \ 
 403         PCLASS::CBNAME(attr, a, b);                                             \ 
 408 #define PYCALLBACK__GCAINT(PCLASS, CBNAME)                                      \ 
 409     void CBNAME(wxGridCellAttr *attr, int val) {                                \ 
 410         bool blocked = wxPyBeginBlockThreads();                                                \ 
 412         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 413             PyObject* obj = wxPyMake_wxGridCellAttr(attr,false);                \ 
 414             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val));    \ 
 417         wxPyEndBlockThreads(blocked);                                             \ 
 419             PCLASS::CBNAME(attr, val);                                          \ 
 421     void base_##CBNAME(wxGridCellAttr *attr, int val) {                         \ 
 422         PCLASS::CBNAME(attr, val);                                              \ 
 427 #define PYCALLBACK_INT__pure(CBNAME)                                            \ 
 429         bool blocked = wxPyBeginBlockThreads();                            \ 
 431         if (wxPyCBH_findCallback(m_myInst, #CBNAME))                            \ 
 432             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \ 
 433         wxPyEndBlockThreads(blocked);                                             \ 
 439 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME)                                     \ 
 440     bool CBNAME(int a, int b) {                                                 \ 
 441         bool blocked = wxPyBeginBlockThreads();                            \ 
 443         if (wxPyCBH_findCallback(m_myInst, #CBNAME))                            \ 
 444             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b));   \ 
 445         wxPyEndBlockThreads(blocked);                                             \ 
 450 #define PYCALLBACK_STRING_INTINT_pure(CBNAME)                                   \ 
 451     wxString CBNAME(int a, int b) {                                             \ 
 452         bool blocked = wxPyBeginBlockThreads();                                                \ 
 454         if (wxPyCBH_findCallback(m_myInst, #CBNAME)) {                          \ 
 456             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
 458                 rval = Py2wxString(ro);                                         \ 
 462         wxPyEndBlockThreads(blocked);                                                  \ 
 467 #define PYCALLBACK__INTINTSTRING_pure(CBNAME)                                   \ 
 468     void CBNAME(int a, int b, const wxString& c) {                              \ 
 469         bool blocked = wxPyBeginBlockThreads();                                                \ 
 470         if (wxPyCBH_findCallback(m_myInst, #CBNAME)) {                          \ 
 471             PyObject* s = wx2PyString(c);                                       \ 
 472             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ 
 475         wxPyEndBlockThreads(blocked);                                                  \ 
 479 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME)                                \ 
 480     wxString CBNAME(int a, int b) {                                             \ 
 482         bool blocked = wxPyBeginBlockThreads();                                                \ 
 484         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 486             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
 488                 rval = Py2wxString(ro);                                         \ 
 492         wxPyEndBlockThreads(blocked);                                                  \ 
 494             rval = PCLASS::CBNAME(a, b);                                        \ 
 497     wxString base_##CBNAME(int a, int b) {                                      \ 
 498         return PCLASS::CBNAME(a, b);                                            \ 
 502 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME)                            \ 
 503     bool CBNAME(int a, int b, const wxString& c)  {                             \ 
 506         bool blocked = wxPyBeginBlockThreads();                                                \ 
 507         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 508             PyObject* s = wx2PyString(c);                                       \ 
 509             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ 
 512         wxPyEndBlockThreads(blocked);                                                  \ 
 514             rval = PCLASS::CBNAME(a,b,c);                                       \ 
 517     bool base_##CBNAME(int a, int b, const wxString& c) {                       \ 
 518         return PCLASS::CBNAME(a,b,c);                                           \ 
 524 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME)                                  \ 
 525     long CBNAME(int a, int b)  {                                                \ 
 528         bool blocked = wxPyBeginBlockThreads();                            \ 
 529         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 530             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
 531         wxPyEndBlockThreads(blocked);                                             \ 
 533             rval = PCLASS::CBNAME(a,b);                                         \ 
 536     long base_##CBNAME(int a, int b) {                                          \ 
 537         return PCLASS::CBNAME(a,b);                                             \ 
 542 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME)                                  \ 
 543     bool CBNAME(int a, int b)  {                                                \ 
 546         bool blocked = wxPyBeginBlockThreads();                            \ 
 547         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 548             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
 549         wxPyEndBlockThreads(blocked);                                             \ 
 551             rval = PCLASS::CBNAME(a,b);                                         \ 
 554     bool base_##CBNAME(int a, int b) {                                          \ 
 555         return PCLASS::CBNAME(a,b);                                             \ 
 560 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME)                                \ 
 561     double CBNAME(int a, int b) {                                               \ 
 563         bool blocked = wxPyBeginBlockThreads();                            \ 
 565         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 567             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b));  \ 
 569                 PyObject* str = PyObject_Str(ro);                               \ 
 570                 rval = PyFloat_AsDouble(str);                                   \ 
 571                 Py_DECREF(ro);   Py_DECREF(str);                                \ 
 574         wxPyEndBlockThreads(blocked);                                                  \ 
 576             rval = PCLASS::CBNAME(a, b);                                        \ 
 579     double base_##CBNAME(int a, int b) {                                        \ 
 580         return PCLASS::CBNAME(a, b);                                            \ 
 585 #define PYCALLBACK__(PCLASS, CBNAME)                                            \ 
 588         bool blocked = wxPyBeginBlockThreads();                                                \ 
 589         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 590             wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));                \ 
 591         wxPyEndBlockThreads(blocked);                                                  \ 
 595     void base_##CBNAME() {                                                      \ 
 602 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME)                              \ 
 603     bool CBNAME(size_t a, size_t b)  {                                          \ 
 606         bool blocked = wxPyBeginBlockThreads();                                                \ 
 607         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 608             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));  \ 
 609         wxPyEndBlockThreads(blocked);                                                  \ 
 611             rval = PCLASS::CBNAME(a,b);                                         \ 
 614     bool base_##CBNAME(size_t a, size_t b) {                                    \ 
 615         return PCLASS::CBNAME(a,b);                                             \ 
 620 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME)                                   \ 
 621     bool CBNAME(size_t a)  {                                                    \ 
 624         bool blocked = wxPyBeginBlockThreads();                                                \ 
 625         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 626             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a));     \ 
 627         wxPyEndBlockThreads(blocked);                                                  \ 
 629             rval = PCLASS::CBNAME(a);                                           \ 
 632     bool base_##CBNAME(size_t a) {                                              \ 
 633         return PCLASS::CBNAME(a);                                               \ 
 637 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME)                                   \ 
 638     wxString CBNAME(int a) {                                                    \ 
 640         bool blocked = wxPyBeginBlockThreads();                                                \ 
 642         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 644             ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a));     \ 
 646                 rval = Py2wxString(ro);                                         \ 
 650         wxPyEndBlockThreads(blocked);                                                  \ 
 652             rval = PCLASS::CBNAME(a);                                           \ 
 655     wxString base_##CBNAME(int a) {                                             \ 
 656         return PCLASS::CBNAME(a);                                               \ 
 660 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME)                                   \ 
 661     void CBNAME(int a, const wxString& c)  {                                    \ 
 663         bool blocked = wxPyBeginBlockThreads();                                                \ 
 664         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \ 
 665             PyObject* s = wx2PyString(c);                                       \ 
 666             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s));          \ 
 669         wxPyEndBlockThreads(blocked);                                                  \ 
 671             PCLASS::CBNAME(a,c);                                                \ 
 673     void base_##CBNAME(int a, const wxString& c) {                              \ 
 674         PCLASS::CBNAME(a,c);                                                    \ 
 680 #define PYCALLBACK_BOOL_(PCLASS, CBNAME)                                        \ 
 684         bool blocked = wxPyBeginBlockThreads();                                                \ 
 685         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 686             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));         \ 
 687         wxPyEndBlockThreads(blocked);                                                  \ 
 689             rval = PCLASS::CBNAME();                                            \ 
 692     bool base_##CBNAME() {                                                      \ 
 693         return PCLASS::CBNAME();                                                \ 
 698 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME)                                    \ 
 699     void CBNAME(size_t a, int b)  {                                             \ 
 701         bool blocked = wxPyBeginBlockThreads();                                                \ 
 702         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 703             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b));         \ 
 704         wxPyEndBlockThreads(blocked);                                                  \ 
 706             PCLASS::CBNAME(a,b);                                                \ 
 708     void base_##CBNAME(size_t a, int b) {                                       \ 
 709         PCLASS::CBNAME(a,b);                                                    \ 
 715 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME)                                  \ 
 716     void CBNAME(int a, int b, long c)  {                                        \ 
 718         bool blocked = wxPyBeginBlockThreads();                                                \ 
 719         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 720             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c));      \ 
 721         wxPyEndBlockThreads(blocked);                                                  \ 
 723             PCLASS::CBNAME(a,b,c);                                              \ 
 725     void base_##CBNAME(int a, int b, long c) {                                  \ 
 726         PCLASS::CBNAME(a,b,c);                                                  \ 
 732 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME)                                \ 
 733     void CBNAME(int a, int b, double c)  {                                      \ 
 735         bool blocked = wxPyBeginBlockThreads();                                                \ 
 736         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 737             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c));      \ 
 738         wxPyEndBlockThreads(blocked);                                                  \ 
 740             PCLASS::CBNAME(a,b,c);                                              \ 
 742     void base_##CBNAME(int a, int b, double c) {                                \ 
 743         PCLASS::CBNAME(a,b,c);                                                  \ 
 748 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME)                                  \ 
 749     void CBNAME(int a, int b, bool c)  {                                        \ 
 751         bool blocked = wxPyBeginBlockThreads();                                                \ 
 752         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME)))                  \ 
 753             wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c));      \ 
 754         wxPyEndBlockThreads(blocked);                                                  \ 
 756             PCLASS::CBNAME(a,b,c);                                              \ 
 758     void base_##CBNAME(int a, int b, bool c) {                                  \ 
 759         PCLASS::CBNAME(a,b,c);                                                  \ 
 767 SWIGSTATICINLINE(PyObject 
*) 
 768 SWIG_FromCharPtr(const char* cptr
) 
 770   size_t size 
= cptr 
? strlen(cptr
) : 0; 
 772     if (size 
> INT_MAX
) { 
 773       return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),  
 774                                 SWIG_TypeQuery("char *"), 0); 
 776       return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
)); 
 784 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer 
*self
,PyObject 
*_self
){ 
 785             self
->SetClientObject(new wxPyOORClientData(_self
)); 
 791 SWIGSTATICINLINE(long) 
 792 SWIG_CheckLongInRange(long value
, const char* type
, 
 793                       long min_value
, long max_value
) 
 795   if (!PyErr_Occurred()) { 
 796     if (value 
< min_value
) { 
 798         PyString_FromFormat("value %ld is less than '%s' minimum %ld",  
 799                             value
, type
, min_value
); 
 801       PyErr_SetObject(PyExc_OverflowError
, err
); 
 803     } else if (value 
> max_value
) { 
 805         PyString_FromFormat("value %ld is greater than '%s' maximum %ld",  
 806                             value
, type
, max_value
); 
 807       PyErr_SetObject(PyExc_OverflowError
, err
); 
 815 SWIGSTATICINLINE(long) 
 816 SWIG_AsLong(PyObject 
* obj
) 
 818     if (PyNumber_Check(obj
)) 
 819         return PyInt_AsLong(obj
); 
 821         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 822                                                obj
->ob_type
->tp_name
); 
 823         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 830 #if INT_MAX != LONG_MAX 
 831 SWIGSTATICINLINE(int) 
 832 SWIG_AsInt(PyObject 
*obj
) 
 834   return swig_numeric_cast(int, 
 835     SWIG_CheckLongInRange(SWIG_AsLong(obj
), 
 836                           "int", INT_MIN
, INT_MAX
)); 
 839 #define SWIG_AsInt SWIG_AsLong 
 843 SWIGSTATICINLINE(bool) 
 844 SWIG_AsBool(PyObject 
*obj
) 
 846   return PyObject_IsTrue(obj
) ? true : false; 
 850 SWIGSTATICINLINE(int) 
 851 SWIG_CheckInt(PyObject
* obj
) 
 854   if (PyErr_Occurred()) { 
 863 SWIGSTATICINLINE(int) 
 864 SWIG_CheckBool(PyObject
* obj
) 
 867   if (PyErr_Occurred()) { 
 876 class wxPyGridCellRenderer 
: public wxGridCellRenderer
 
 879     wxPyGridCellRenderer() : wxGridCellRenderer() {}; 
 881     // Implement Python callback aware virtual methods 
 882     void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
, 
 883               wxDC
& dc
, const wxRect
& rect
, 
 884               int row
, int col
, bool isSelected
) { 
 885         bool blocked 
= wxPyBeginBlockThreads(); 
 886         if (wxPyCBH_findCallback(m_myInst
, "Draw")) { 
 887             PyObject
* go 
= wxPyMake_wxObject(&grid
,false); 
 888             PyObject
* dco 
= wxPyMake_wxObject(&dc
,false); 
 889             PyObject
* ao 
= wxPyMake_wxGridCellAttr(&attr
,false); 
 890             PyObject
* ro 
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0); 
 892             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
, 
 893                                                          row
, col
, isSelected
)); 
 899         wxPyEndBlockThreads(blocked
); 
 902     wxSize 
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
, 
 905         bool blocked 
= wxPyBeginBlockThreads(); 
 906         if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) { 
 909             PyObject
* go 
= wxPyMake_wxObject(&grid
,false); 
 910             PyObject
* dco 
= wxPyMake_wxObject(&dc
,false); 
 911             PyObject
* ao 
= wxPyMake_wxGridCellAttr(&attr
,false); 
 913             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)", 
 921                 const char* errmsg 
= "GetBestSize should return a 2-tuple of integers or a wxSize object."; 
 922                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) { 
 925                 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) { 
 926                     PyObject
* o1 
= PySequence_GetItem(ro
, 0); 
 927                     PyObject
* o2 
= PySequence_GetItem(ro
, 1); 
 928                     if (PyNumber_Check(o1
) && PyNumber_Check(o2
)) 
 929                         rval 
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
)); 
 931                         PyErr_SetString(PyExc_TypeError
, errmsg
); 
 936                     PyErr_SetString(PyExc_TypeError
, errmsg
); 
 941         wxPyEndBlockThreads(blocked
); 
 946     wxGridCellRenderer 
*Clone() const { 
 947         wxGridCellRenderer
* rval 
= NULL
; 
 948         bool blocked 
= wxPyBeginBlockThreads(); 
 949         if (wxPyCBH_findCallback(m_myInst
, "Clone")) { 
 951             wxGridCellRenderer
* ptr
; 
 952             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
 954                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer"))) 
 959         wxPyEndBlockThreads(blocked
); 
 963     DEC_PYCALLBACK__STRING(SetParameters
); 
 968 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
); 
 971 void wxGridCellEditor__setOORInfo(wxGridCellEditor 
*self
,PyObject 
*_self
){ 
 972             self
->SetClientObject(new wxPyOORClientData(_self
)); 
 975 class wxPyGridCellEditor 
: public wxGridCellEditor
 
 978     wxPyGridCellEditor() : wxGridCellEditor() {} 
 980     void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) { 
 981         bool blocked 
= wxPyBeginBlockThreads(); 
 982         if (wxPyCBH_findCallback(m_myInst
, "Create")) { 
 983             PyObject
* po 
= wxPyMake_wxObject(parent
,false); 
 984             PyObject
* eo 
= wxPyMake_wxObject(evtHandler
,false); 
 986             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
)); 
 990         wxPyEndBlockThreads(blocked
); 
 994     void BeginEdit(int row
, int col
, wxGrid
* grid
) { 
 995         bool blocked 
= wxPyBeginBlockThreads(); 
 996         if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) { 
 997             PyObject
* go 
= wxPyMake_wxObject(grid
,false); 
 998             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
)); 
1001         wxPyEndBlockThreads(blocked
); 
1005     bool EndEdit(int row
, int col
, wxGrid
* grid
) { 
1007         bool blocked 
= wxPyBeginBlockThreads(); 
1008         if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) { 
1009             PyObject
* go 
= wxPyMake_wxObject(grid
,false); 
1010             rv 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
)); 
1013         wxPyEndBlockThreads(blocked
); 
1018     wxGridCellEditor
* Clone() const { 
1019         wxGridCellEditor
* rval 
= NULL
; 
1020         bool blocked 
= wxPyBeginBlockThreads(); 
1021         if (wxPyCBH_findCallback(m_myInst
, "Clone")) { 
1023             wxGridCellEditor
* ptr
; 
1024             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1026                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor"))) 
1031         wxPyEndBlockThreads(blocked
); 
1036     void Show(bool show
, wxGridCellAttr 
*attr
) { 
1038         bool blocked 
= wxPyBeginBlockThreads(); 
1039         if ((found 
= wxPyCBH_findCallback(m_myInst
, "Show"))) { 
1040             PyObject
* ao 
= wxPyMake_wxGridCellAttr(attr
,false); 
1041             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
)); 
1044         wxPyEndBlockThreads(blocked
); 
1046             wxGridCellEditor::Show(show
, attr
); 
1048     void base_Show(bool show
, wxGridCellAttr 
*attr
) { 
1049         wxGridCellEditor::Show(show
, attr
); 
1053     void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr 
*attr
) { 
1055         bool blocked 
= wxPyBeginBlockThreads(); 
1056         if ((found 
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) { 
1057             PyObject
* ao 
= wxPyMake_wxGridCellAttr(attr
,false); 
1058             PyObject
* ro 
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0); 
1060             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
)); 
1065         wxPyEndBlockThreads(blocked
); 
1067             wxGridCellEditor::PaintBackground(rectCell
, attr
); 
1069     void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr 
*attr
) { 
1070         wxGridCellEditor::PaintBackground(rectCell
, attr
); 
1074     DEC_PYCALLBACK___pure(Reset
); 
1075     DEC_PYCALLBACK__constany(SetSize
, wxRect
); 
1076     DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
); 
1077     DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
); 
1078     DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
); 
1079     DEC_PYCALLBACK__(StartingClick
); 
1080     DEC_PYCALLBACK__(Destroy
); 
1081     DEC_PYCALLBACK__STRING(SetParameters
); 
1082     DEC_PYCALLBACK_STRING__constpure(GetValue
); 
1088 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
); 
1089 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
); 
1090 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
); 
1091 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
); 
1092 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
); 
1093 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
); 
1094 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
); 
1095 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
); 
1096 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
); 
1099 void wxGridCellAttr__setOORInfo(wxGridCellAttr 
*self
,PyObject 
*_self
){ 
1100             self
->SetClientObject(new wxPyOORClientData(_self
)); 
1103 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
1109     } else if (target 
== Py_None
) {   
1113         if (!PyTuple_Check(target
)) { 
1115             target 
= PyTuple_New(1); 
1116             PyTuple_SetItem(target
, 0, o2
); 
1118         o3 
= PyTuple_New(1);             
1119         PyTuple_SetItem(o3
, 0, o
);       
1122         target 
= PySequence_Concat(o2
, o3
);  
1129 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider 
*self
,PyObject 
*_self
){ 
1130             self
->SetClientObject(new wxPyOORClientData(_self
)); 
1133 SWIGSTATICINLINE(unsigned long) 
1134 SWIG_AsUnsignedLong(PyObject 
* obj
)  
1136   if (PyLong_Check(obj
)) { 
1137     return PyLong_AsUnsignedLong(obj
); 
1139     long i 
= SWIG_AsLong(obj
); 
1140     if ( !PyErr_Occurred() && (i 
< 0)) { 
1141       PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
1148 SWIGSTATICINLINE(int) 
1149 SWIG_CheckUnsignedLong(PyObject
* obj
) 
1151   SWIG_AsUnsignedLong(obj
); 
1152   if (PyErr_Occurred()) { 
1161 class wxPyGridCellAttrProvider 
: public wxGridCellAttrProvider
 
1164     wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {}; 
1166     PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
); 
1167     PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
); 
1168     PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
); 
1169     PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
); 
1174 void wxGridTableBase__setOORInfo(wxGridTableBase 
*self
,PyObject 
*_self
){ 
1175             self
->SetClientObject(new wxPyOORClientData(_self
)); 
1178 SWIGSTATICINLINE(int) 
1179 SWIG_CheckLong(PyObject
* obj
) 
1182   if (PyErr_Occurred()) { 
1191 SWIGSTATICINLINE(double) 
1192 SWIG_AsDouble(PyObject 
*obj
) 
1194     if (PyNumber_Check(obj
)) 
1195         return PyFloat_AsDouble(obj
); 
1197         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
1198                                                obj
->ob_type
->tp_name
); 
1199         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
1206 SWIGSTATICINLINE(int) 
1207 SWIG_CheckDouble(PyObject
* obj
) 
1210   if (PyErr_Occurred()) { 
1219 class wxPyGridTableBase 
: public wxGridTableBase
 
1222     wxPyGridTableBase() : wxGridTableBase() {} 
1224     PYCALLBACK_INT__pure(GetNumberRows
); 
1225     PYCALLBACK_INT__pure(GetNumberCols
); 
1226     PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
); 
1227     PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
); 
1228     PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
); 
1229     PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
); 
1230     PYCALLBACK__(wxGridTableBase
, Clear
); 
1231     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
); 
1232     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
); 
1233     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
); 
1234     PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
); 
1235     PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
); 
1236     PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
); 
1237     PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
); 
1238     PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
); 
1239     PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
); 
1240     PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
); 
1241     PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
); 
1242     PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
); 
1243     PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
); 
1244     PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
); 
1245     PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
); 
1248     wxString 
GetValue(int row
, int col
) { 
1249         bool blocked 
= wxPyBeginBlockThreads(); 
1251         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
1253             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
)); 
1255                 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) { 
1257                     ro 
= PyObject_Str(ro
); 
1260                 rval 
= Py2wxString(ro
); 
1264         wxPyEndBlockThreads(blocked
); 
1268     void SetValue(int row
, int col
, const wxString
& val
) { 
1269         bool blocked 
= wxPyBeginBlockThreads(); 
1270         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
1271             PyObject
* s 
= wx2PyString(val
); 
1272             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
)); 
1275         wxPyEndBlockThreads(blocked
); 
1279     // Map the Get/Set methods for the standard non-string types to 
1280     // the GetValue and SetValue python methods. 
1281     long GetValueAsLong( int row
, int col 
) { 
1283         bool blocked 
= wxPyBeginBlockThreads(); 
1284         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
1287             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
)); 
1288             if (ro 
&& PyNumber_Check(ro
)) { 
1289                 num 
= PyNumber_Int(ro
); 
1291                     rval 
= PyInt_AsLong(num
); 
1297         wxPyEndBlockThreads(blocked
); 
1301     double GetValueAsDouble( int row
, int col 
) { 
1303         bool blocked 
= wxPyBeginBlockThreads(); 
1304         if (wxPyCBH_findCallback(m_myInst
, "GetValue")) { 
1307             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
)); 
1308             if (ro 
&& PyNumber_Check(ro
)) { 
1309                 num 
= PyNumber_Float(ro
); 
1311                     rval 
= PyFloat_AsDouble(num
); 
1317         wxPyEndBlockThreads(blocked
); 
1321     bool GetValueAsBool( int row
, int col 
) { 
1322         return (bool)GetValueAsLong(row
, col
); 
1325     void SetValueAsLong( int row
, int col
, long value 
) { 
1326         bool blocked 
= wxPyBeginBlockThreads(); 
1327         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
1328             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
)); 
1330         wxPyEndBlockThreads(blocked
); 
1333     void SetValueAsDouble( int row
, int col
, double value 
) { 
1334         bool blocked 
= wxPyBeginBlockThreads(); 
1335         if (wxPyCBH_findCallback(m_myInst
, "SetValue")) { 
1336             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
)); 
1338         wxPyEndBlockThreads(blocked
); 
1341     void SetValueAsBool( int row
, int col
, bool value 
) { 
1342         SetValueAsLong( row
, col
, (long)value 
); 
1349 void wxPyGridTableBase_Destroy(wxPyGridTableBase 
*self
){ delete self
; } 
1351 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) { 
1353     if (source 
== Py_None
) { 
1354         **obj 
= wxGridCellCoords(-1,-1); 
1358     // If source is an object instance then it may already be the right type 
1359     if (wxPySwigInstance_Check(source
)) { 
1360         wxGridCellCoords
* ptr
; 
1361         if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords"))) 
1366     // otherwise a 2-tuple of integers is expected 
1367     else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) { 
1368         PyObject
* o1 
= PySequence_GetItem(source
, 0); 
1369         PyObject
* o2 
= PySequence_GetItem(source
, 1); 
1370         if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) { 
1375         **obj 
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
)); 
1382     PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object."); 
1387 bool wxGridCellCoords_typecheck(PyObject
* source
) { 
1390     if (wxPySwigInstance_Check(source
) && 
1391         wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords"))) 
1395     if (PySequence_Check(source
) && PySequence_Length(source
) == 2) 
1402 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
) 
1404     PyObject
* list 
= PyList_New(0); 
1406     for (idx 
= 0; idx 
< source
.GetCount(); idx 
+= 1) { 
1407         wxGridCellCoords
& coord 
= source
.Item(idx
); 
1408         PyObject
* tup 
= PyTuple_New(2); 
1409         PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow())); 
1410         PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol())); 
1411         PyList_Append(list
, tup
); 
1417 PyObject 
*wxGridCellCoords_Get(wxGridCellCoords 
*self
){ 
1418             PyObject
* tup 
= PyTuple_New(2); 
1419             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow())); 
1420             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol())); 
1424 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
; 
1426 wxGridCellCoords 
wxGrid_XYToCell(wxGrid 
*self
,int x
,int y
){ 
1427             wxGridCellCoords rv
; 
1428             self
->XYToCell(x
, y
, rv
); 
1434 static int _wrap_DateTimeFormatStr_set(PyObject 
*_val
) { 
1435     PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only."); 
1440 static PyObject 
*_wrap_DateTimeFormatStr_get() { 
1445         pyobj 
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len()); 
1447         pyobj 
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len()); 
1454 static int _wrap_GridNoCellCoords_set(PyObject 
*_val
) { 
1455     PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only."); 
1460 static PyObject 
*_wrap_GridNoCellCoords_get() { 
1463     pyobj 
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0); 
1468 static int _wrap_GridNoCellRect_set(PyObject 
*_val
) { 
1469     PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only."); 
1474 static PyObject 
*_wrap_GridNoCellRect_get() { 
1477     pyobj 
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0); 
1482 static PyObject 
*_wrap_GridCellRenderer__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1483     PyObject 
*resultobj
; 
1484     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1485     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
1486     PyObject 
* obj0 
= 0 ; 
1487     PyObject 
* obj1 
= 0 ; 
1489         (char *) "self",(char *) "_self", NULL 
 
1492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
1493     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1497         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1498         wxGridCellRenderer__setOORInfo(arg1
,arg2
); 
1500         wxPyEndAllowThreads(__tstate
); 
1501         if (PyErr_Occurred()) SWIG_fail
; 
1503     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1510 static PyObject 
*_wrap_GridCellRenderer_SetParameters(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1511     PyObject 
*resultobj
; 
1512     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1513     wxString 
*arg2 
= 0 ; 
1514     bool temp2 
= False 
; 
1515     PyObject 
* obj0 
= 0 ; 
1516     PyObject 
* obj1 
= 0 ; 
1518         (char *) "self",(char *) "params", NULL 
 
1521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
; 
1522     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1525         arg2 
= wxString_in_helper(obj1
); 
1526         if (arg2 
== NULL
) SWIG_fail
; 
1530         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1531         (arg1
)->SetParameters((wxString 
const &)*arg2
); 
1533         wxPyEndAllowThreads(__tstate
); 
1534         if (PyErr_Occurred()) SWIG_fail
; 
1536     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1551 static PyObject 
*_wrap_GridCellRenderer_IncRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1552     PyObject 
*resultobj
; 
1553     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1554     PyObject 
* obj0 
= 0 ; 
1556         (char *) "self", NULL 
 
1559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
; 
1560     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1561     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1563         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1566         wxPyEndAllowThreads(__tstate
); 
1567         if (PyErr_Occurred()) SWIG_fail
; 
1569     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1576 static PyObject 
*_wrap_GridCellRenderer_DecRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1577     PyObject 
*resultobj
; 
1578     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1579     PyObject 
* obj0 
= 0 ; 
1581         (char *) "self", NULL 
 
1584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
; 
1585     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1591         wxPyEndAllowThreads(__tstate
); 
1592         if (PyErr_Occurred()) SWIG_fail
; 
1594     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1601 static PyObject 
*_wrap_GridCellRenderer_Draw(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1602     PyObject 
*resultobj
; 
1603     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1605     wxGridCellAttr 
*arg3 
= 0 ; 
1612     PyObject 
* obj0 
= 0 ; 
1613     PyObject 
* obj1 
= 0 ; 
1614     PyObject 
* obj2 
= 0 ; 
1615     PyObject 
* obj3 
= 0 ; 
1616     PyObject 
* obj4 
= 0 ; 
1617     PyObject 
* obj5 
= 0 ; 
1618     PyObject 
* obj6 
= 0 ; 
1619     PyObject 
* obj7 
= 0 ; 
1621         (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL 
 
1624     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
1625     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1626     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1627     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
1628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1631         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1634     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
1635     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1638         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1641     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
, 
1642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1645         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1650         if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
; 
1652     arg6 
= (int) SWIG_AsInt(obj5
);  
1653     if (PyErr_Occurred()) SWIG_fail
; 
1654     arg7 
= (int) SWIG_AsInt(obj6
);  
1655     if (PyErr_Occurred()) SWIG_fail
; 
1656     arg8 
= (bool) SWIG_AsBool(obj7
);  
1657     if (PyErr_Occurred()) SWIG_fail
; 
1659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1660         (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect 
const &)*arg5
,arg6
,arg7
,arg8
); 
1662         wxPyEndAllowThreads(__tstate
); 
1663         if (PyErr_Occurred()) SWIG_fail
; 
1665     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1672 static PyObject 
*_wrap_GridCellRenderer_GetBestSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1673     PyObject 
*resultobj
; 
1674     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1676     wxGridCellAttr 
*arg3 
= 0 ; 
1681     PyObject 
* obj0 
= 0 ; 
1682     PyObject 
* obj1 
= 0 ; 
1683     PyObject 
* obj2 
= 0 ; 
1684     PyObject 
* obj3 
= 0 ; 
1685     PyObject 
* obj4 
= 0 ; 
1686     PyObject 
* obj5 
= 0 ; 
1688         (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL 
 
1691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
1692     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1693     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1694     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
1695     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1698         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1701     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
1702     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1705         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1708     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
, 
1709     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1712         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1715     arg5 
= (int) SWIG_AsInt(obj4
);  
1716     if (PyErr_Occurred()) SWIG_fail
; 
1717     arg6 
= (int) SWIG_AsInt(obj5
);  
1718     if (PyErr_Occurred()) SWIG_fail
; 
1720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1721         result 
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
); 
1723         wxPyEndAllowThreads(__tstate
); 
1724         if (PyErr_Occurred()) SWIG_fail
; 
1728         resultptr 
= new wxSize((wxSize 
&) result
); 
1729         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
1737 static PyObject 
*_wrap_GridCellRenderer_Clone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1738     PyObject 
*resultobj
; 
1739     wxGridCellRenderer 
*arg1 
= (wxGridCellRenderer 
*) 0 ; 
1740     wxGridCellRenderer 
*result
; 
1741     PyObject 
* obj0 
= 0 ; 
1743         (char *) "self", NULL 
 
1746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
; 
1747     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
, 
1748     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1750         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1751         result 
= (wxGridCellRenderer 
*)((wxGridCellRenderer 
const *)arg1
)->Clone(); 
1753         wxPyEndAllowThreads(__tstate
); 
1754         if (PyErr_Occurred()) SWIG_fail
; 
1757         resultobj 
= wxPyMake_wxGridCellRenderer(result
, 0);  
1765 static PyObject 
* GridCellRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1767     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1768     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
); 
1770     return Py_BuildValue((char *)""); 
1772 static PyObject 
*_wrap_new_PyGridCellRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1773     PyObject 
*resultobj
; 
1774     wxPyGridCellRenderer 
*result
; 
1779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
; 
1781         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1782         result 
= (wxPyGridCellRenderer 
*)new wxPyGridCellRenderer(); 
1784         wxPyEndAllowThreads(__tstate
); 
1785         if (PyErr_Occurred()) SWIG_fail
; 
1787     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1); 
1794 static PyObject 
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1795     PyObject 
*resultobj
; 
1796     wxPyGridCellRenderer 
*arg1 
= (wxPyGridCellRenderer 
*) 0 ; 
1797     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
1798     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
1799     PyObject 
* obj0 
= 0 ; 
1800     PyObject 
* obj1 
= 0 ; 
1801     PyObject 
* obj2 
= 0 ; 
1803         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
1806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1807     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
, 
1808     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1812         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1813         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
1815         wxPyEndAllowThreads(__tstate
); 
1816         if (PyErr_Occurred()) SWIG_fail
; 
1818     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1825 static PyObject 
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1826     PyObject 
*resultobj
; 
1827     wxPyGridCellRenderer 
*arg1 
= (wxPyGridCellRenderer 
*) 0 ; 
1828     wxString 
*arg2 
= 0 ; 
1829     bool temp2 
= False 
; 
1830     PyObject 
* obj0 
= 0 ; 
1831     PyObject 
* obj1 
= 0 ; 
1833         (char *) "self",(char *) "params", NULL 
 
1836     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
; 
1837     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
, 
1838     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1840         arg2 
= wxString_in_helper(obj1
); 
1841         if (arg2 
== NULL
) SWIG_fail
; 
1845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1846         (arg1
)->base_SetParameters((wxString 
const &)*arg2
); 
1848         wxPyEndAllowThreads(__tstate
); 
1849         if (PyErr_Occurred()) SWIG_fail
; 
1851     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1866 static PyObject 
* PyGridCellRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1868     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1869     SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
); 
1871     return Py_BuildValue((char *)""); 
1873 static PyObject 
*_wrap_new_GridCellStringRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1874     PyObject 
*resultobj
; 
1875     wxGridCellStringRenderer 
*result
; 
1880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
; 
1882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1883         result 
= (wxGridCellStringRenderer 
*)new wxGridCellStringRenderer(); 
1885         wxPyEndAllowThreads(__tstate
); 
1886         if (PyErr_Occurred()) SWIG_fail
; 
1888     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1); 
1895 static PyObject 
* GridCellStringRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1897     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1898     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
); 
1900     return Py_BuildValue((char *)""); 
1902 static PyObject 
*_wrap_new_GridCellNumberRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1903     PyObject 
*resultobj
; 
1904     wxGridCellNumberRenderer 
*result
; 
1909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
; 
1911         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1912         result 
= (wxGridCellNumberRenderer 
*)new wxGridCellNumberRenderer(); 
1914         wxPyEndAllowThreads(__tstate
); 
1915         if (PyErr_Occurred()) SWIG_fail
; 
1917     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1); 
1924 static PyObject 
* GridCellNumberRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1926     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1927     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
); 
1929     return Py_BuildValue((char *)""); 
1931 static PyObject 
*_wrap_new_GridCellFloatRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1932     PyObject 
*resultobj
; 
1933     int arg1 
= (int) -1 ; 
1934     int arg2 
= (int) -1 ; 
1935     wxGridCellFloatRenderer 
*result
; 
1936     PyObject 
* obj0 
= 0 ; 
1937     PyObject 
* obj1 
= 0 ; 
1939         (char *) "width",(char *) "precision", NULL 
 
1942     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
; 
1944         arg1 
= (int) SWIG_AsInt(obj0
);  
1945         if (PyErr_Occurred()) SWIG_fail
; 
1948         arg2 
= (int) SWIG_AsInt(obj1
);  
1949         if (PyErr_Occurred()) SWIG_fail
; 
1952         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1953         result 
= (wxGridCellFloatRenderer 
*)new wxGridCellFloatRenderer(arg1
,arg2
); 
1955         wxPyEndAllowThreads(__tstate
); 
1956         if (PyErr_Occurred()) SWIG_fail
; 
1958     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1); 
1965 static PyObject 
*_wrap_GridCellFloatRenderer_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1966     PyObject 
*resultobj
; 
1967     wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
1969     PyObject 
* obj0 
= 0 ; 
1971         (char *) "self", NULL 
 
1974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
; 
1975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
, 
1976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1978         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1979         result 
= (int)((wxGridCellFloatRenderer 
const *)arg1
)->GetWidth(); 
1981         wxPyEndAllowThreads(__tstate
); 
1982         if (PyErr_Occurred()) SWIG_fail
; 
1984     resultobj 
= SWIG_FromInt((int)result
); 
1991 static PyObject 
*_wrap_GridCellFloatRenderer_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1992     PyObject 
*resultobj
; 
1993     wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
1995     PyObject 
* obj0 
= 0 ; 
1996     PyObject 
* obj1 
= 0 ; 
1998         (char *) "self",(char *) "width", NULL 
 
2001     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
2002     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
, 
2003     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2004     arg2 
= (int) SWIG_AsInt(obj1
);  
2005     if (PyErr_Occurred()) SWIG_fail
; 
2007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2008         (arg1
)->SetWidth(arg2
); 
2010         wxPyEndAllowThreads(__tstate
); 
2011         if (PyErr_Occurred()) SWIG_fail
; 
2013     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2020 static PyObject 
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2021     PyObject 
*resultobj
; 
2022     wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
2024     PyObject 
* obj0 
= 0 ; 
2026         (char *) "self", NULL 
 
2029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
; 
2030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
, 
2031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2034         result 
= (int)((wxGridCellFloatRenderer 
const *)arg1
)->GetPrecision(); 
2036         wxPyEndAllowThreads(__tstate
); 
2037         if (PyErr_Occurred()) SWIG_fail
; 
2039     resultobj 
= SWIG_FromInt((int)result
); 
2046 static PyObject 
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2047     PyObject 
*resultobj
; 
2048     wxGridCellFloatRenderer 
*arg1 
= (wxGridCellFloatRenderer 
*) 0 ; 
2050     PyObject 
* obj0 
= 0 ; 
2051     PyObject 
* obj1 
= 0 ; 
2053         (char *) "self",(char *) "precision", NULL 
 
2056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
; 
2057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
, 
2058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2059     arg2 
= (int) SWIG_AsInt(obj1
);  
2060     if (PyErr_Occurred()) SWIG_fail
; 
2062         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2063         (arg1
)->SetPrecision(arg2
); 
2065         wxPyEndAllowThreads(__tstate
); 
2066         if (PyErr_Occurred()) SWIG_fail
; 
2068     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2075 static PyObject 
* GridCellFloatRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2077     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2078     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
); 
2080     return Py_BuildValue((char *)""); 
2082 static PyObject 
*_wrap_new_GridCellBoolRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2083     PyObject 
*resultobj
; 
2084     wxGridCellBoolRenderer 
*result
; 
2089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
; 
2091         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2092         result 
= (wxGridCellBoolRenderer 
*)new wxGridCellBoolRenderer(); 
2094         wxPyEndAllowThreads(__tstate
); 
2095         if (PyErr_Occurred()) SWIG_fail
; 
2097     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1); 
2104 static PyObject 
* GridCellBoolRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2106     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2107     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
); 
2109     return Py_BuildValue((char *)""); 
2111 static PyObject 
*_wrap_new_GridCellDateTimeRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2112     PyObject 
*resultobj
; 
2113     wxString arg1 
= (wxString
) wxPyDateTimeFormatStr 
; 
2114     wxString arg2 
= (wxString
) wxPyDateTimeFormatStr 
; 
2115     wxGridCellDateTimeRenderer 
*result
; 
2116     PyObject 
* obj0 
= 0 ; 
2117     PyObject 
* obj1 
= 0 ; 
2119         (char *) "outformat",(char *) "informat", NULL 
 
2122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
; 
2125             wxString
* sptr 
= wxString_in_helper(obj0
); 
2126             if (sptr 
== NULL
) SWIG_fail
; 
2133             wxString
* sptr 
= wxString_in_helper(obj1
); 
2134             if (sptr 
== NULL
) SWIG_fail
; 
2140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2141         result 
= (wxGridCellDateTimeRenderer 
*)new wxGridCellDateTimeRenderer(arg1
,arg2
); 
2143         wxPyEndAllowThreads(__tstate
); 
2144         if (PyErr_Occurred()) SWIG_fail
; 
2146     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1); 
2153 static PyObject 
* GridCellDateTimeRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2155     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2156     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
); 
2158     return Py_BuildValue((char *)""); 
2160 static PyObject 
*_wrap_new_GridCellEnumRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2161     PyObject 
*resultobj
; 
2162     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
2163     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2164     wxGridCellEnumRenderer 
*result
; 
2165     bool temp1 
= False 
; 
2166     PyObject 
* obj0 
= 0 ; 
2168         (char *) "choices", NULL 
 
2171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
; 
2174             arg1 
= wxString_in_helper(obj0
); 
2175             if (arg1 
== NULL
) SWIG_fail
; 
2180         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2181         result 
= (wxGridCellEnumRenderer 
*)new wxGridCellEnumRenderer((wxString 
const &)*arg1
); 
2183         wxPyEndAllowThreads(__tstate
); 
2184         if (PyErr_Occurred()) SWIG_fail
; 
2186     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1); 
2201 static PyObject 
* GridCellEnumRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2203     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2204     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
); 
2206     return Py_BuildValue((char *)""); 
2208 static PyObject 
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2209     PyObject 
*resultobj
; 
2210     wxGridCellAutoWrapStringRenderer 
*result
; 
2215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
; 
2217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2218         result 
= (wxGridCellAutoWrapStringRenderer 
*)new wxGridCellAutoWrapStringRenderer(); 
2220         wxPyEndAllowThreads(__tstate
); 
2221         if (PyErr_Occurred()) SWIG_fail
; 
2223     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1); 
2230 static PyObject 
* GridCellAutoWrapStringRenderer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2232     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2233     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
); 
2235     return Py_BuildValue((char *)""); 
2237 static PyObject 
*_wrap_GridCellEditor__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2238     PyObject 
*resultobj
; 
2239     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2240     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
2241     PyObject 
* obj0 
= 0 ; 
2242     PyObject 
* obj1 
= 0 ; 
2244         (char *) "self",(char *) "_self", NULL 
 
2247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
2248     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2249     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2253         wxGridCellEditor__setOORInfo(arg1
,arg2
); 
2255         wxPyEndAllowThreads(__tstate
); 
2256         if (PyErr_Occurred()) SWIG_fail
; 
2258     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2265 static PyObject 
*_wrap_GridCellEditor_IsCreated(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2266     PyObject 
*resultobj
; 
2267     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2269     PyObject 
* obj0 
= 0 ; 
2271         (char *) "self", NULL 
 
2274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
; 
2275     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2276     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2278         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2279         result 
= (bool)(arg1
)->IsCreated(); 
2281         wxPyEndAllowThreads(__tstate
); 
2282         if (PyErr_Occurred()) SWIG_fail
; 
2285         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2293 static PyObject 
*_wrap_GridCellEditor_GetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2294     PyObject 
*resultobj
; 
2295     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2297     PyObject 
* obj0 
= 0 ; 
2299         (char *) "self", NULL 
 
2302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
; 
2303     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2304     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2306         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2307         result 
= (wxControl 
*)(arg1
)->GetControl(); 
2309         wxPyEndAllowThreads(__tstate
); 
2310         if (PyErr_Occurred()) SWIG_fail
; 
2313         resultobj 
= wxPyMake_wxObject(result
, 0);  
2321 static PyObject 
*_wrap_GridCellEditor_SetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2322     PyObject 
*resultobj
; 
2323     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2324     wxControl 
*arg2 
= (wxControl 
*) 0 ; 
2325     PyObject 
* obj0 
= 0 ; 
2326     PyObject 
* obj1 
= 0 ; 
2328         (char *) "self",(char *) "control", NULL 
 
2331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
2332     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2334     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
, 
2335     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2338         (arg1
)->SetControl(arg2
); 
2340         wxPyEndAllowThreads(__tstate
); 
2341         if (PyErr_Occurred()) SWIG_fail
; 
2343     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2350 static PyObject 
*_wrap_GridCellEditor_GetCellAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2351     PyObject 
*resultobj
; 
2352     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2353     wxGridCellAttr 
*result
; 
2354     PyObject 
* obj0 
= 0 ; 
2356         (char *) "self", NULL 
 
2359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
; 
2360     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2361     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2363         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2364         result 
= (wxGridCellAttr 
*)(arg1
)->GetCellAttr(); 
2366         wxPyEndAllowThreads(__tstate
); 
2367         if (PyErr_Occurred()) SWIG_fail
; 
2370         resultobj 
= wxPyMake_wxGridCellAttr(result
, 0);  
2378 static PyObject 
*_wrap_GridCellEditor_SetCellAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2379     PyObject 
*resultobj
; 
2380     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2381     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
2382     PyObject 
* obj0 
= 0 ; 
2383     PyObject 
* obj1 
= 0 ; 
2385         (char *) "self",(char *) "attr", NULL 
 
2388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
; 
2389     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2390     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2391     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
2392     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2394         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2395         (arg1
)->SetCellAttr(arg2
); 
2397         wxPyEndAllowThreads(__tstate
); 
2398         if (PyErr_Occurred()) SWIG_fail
; 
2400     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2407 static PyObject 
*_wrap_GridCellEditor_SetParameters(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2408     PyObject 
*resultobj
; 
2409     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2410     wxString 
*arg2 
= 0 ; 
2411     bool temp2 
= False 
; 
2412     PyObject 
* obj0 
= 0 ; 
2413     PyObject 
* obj1 
= 0 ; 
2415         (char *) "self",(char *) "params", NULL 
 
2418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
; 
2419     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2420     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2422         arg2 
= wxString_in_helper(obj1
); 
2423         if (arg2 
== NULL
) SWIG_fail
; 
2427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2428         (arg1
)->SetParameters((wxString 
const &)*arg2
); 
2430         wxPyEndAllowThreads(__tstate
); 
2431         if (PyErr_Occurred()) SWIG_fail
; 
2433     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2448 static PyObject 
*_wrap_GridCellEditor_IncRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2449     PyObject 
*resultobj
; 
2450     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2451     PyObject 
* obj0 
= 0 ; 
2453         (char *) "self", NULL 
 
2456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
; 
2457     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2458     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2460         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2463         wxPyEndAllowThreads(__tstate
); 
2464         if (PyErr_Occurred()) SWIG_fail
; 
2466     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2473 static PyObject 
*_wrap_GridCellEditor_DecRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2474     PyObject 
*resultobj
; 
2475     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2476     PyObject 
* obj0 
= 0 ; 
2478         (char *) "self", NULL 
 
2481     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
; 
2482     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2483     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2485         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2488         wxPyEndAllowThreads(__tstate
); 
2489         if (PyErr_Occurred()) SWIG_fail
; 
2491     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2498 static PyObject 
*_wrap_GridCellEditor_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2499     PyObject 
*resultobj
; 
2500     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2501     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2503     wxEvtHandler 
*arg4 
= (wxEvtHandler 
*) 0 ; 
2504     PyObject 
* obj0 
= 0 ; 
2505     PyObject 
* obj1 
= 0 ; 
2506     PyObject 
* obj2 
= 0 ; 
2507     PyObject 
* obj3 
= 0 ; 
2509         (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL 
 
2512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2513     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2515     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
2516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2517     arg3 
= (int) SWIG_AsInt(obj2
);  
2518     if (PyErr_Occurred()) SWIG_fail
; 
2519     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxEvtHandler
, 
2520     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2523         (arg1
)->Create(arg2
,arg3
,arg4
); 
2525         wxPyEndAllowThreads(__tstate
); 
2526         if (PyErr_Occurred()) SWIG_fail
; 
2528     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2535 static PyObject 
*_wrap_GridCellEditor_BeginEdit(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2536     PyObject 
*resultobj
; 
2537     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2540     wxGrid 
*arg4 
= (wxGrid 
*) 0 ; 
2541     PyObject 
* obj0 
= 0 ; 
2542     PyObject 
* obj1 
= 0 ; 
2543     PyObject 
* obj2 
= 0 ; 
2544     PyObject 
* obj3 
= 0 ; 
2546         (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL 
 
2549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2552     arg2 
= (int) SWIG_AsInt(obj1
);  
2553     if (PyErr_Occurred()) SWIG_fail
; 
2554     arg3 
= (int) SWIG_AsInt(obj2
);  
2555     if (PyErr_Occurred()) SWIG_fail
; 
2556     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
, 
2557     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2560         (arg1
)->BeginEdit(arg2
,arg3
,arg4
); 
2562         wxPyEndAllowThreads(__tstate
); 
2563         if (PyErr_Occurred()) SWIG_fail
; 
2565     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2572 static PyObject 
*_wrap_GridCellEditor_EndEdit(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2573     PyObject 
*resultobj
; 
2574     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2577     wxGrid 
*arg4 
= (wxGrid 
*) 0 ; 
2579     PyObject 
* obj0 
= 0 ; 
2580     PyObject 
* obj1 
= 0 ; 
2581     PyObject 
* obj2 
= 0 ; 
2582     PyObject 
* obj3 
= 0 ; 
2584         (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL 
 
2587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2588     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2589     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2590     arg2 
= (int) SWIG_AsInt(obj1
);  
2591     if (PyErr_Occurred()) SWIG_fail
; 
2592     arg3 
= (int) SWIG_AsInt(obj2
);  
2593     if (PyErr_Occurred()) SWIG_fail
; 
2594     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
, 
2595     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2598         result 
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
); 
2600         wxPyEndAllowThreads(__tstate
); 
2601         if (PyErr_Occurred()) SWIG_fail
; 
2604         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2612 static PyObject 
*_wrap_GridCellEditor_Reset(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2613     PyObject 
*resultobj
; 
2614     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2615     PyObject 
* obj0 
= 0 ; 
2617         (char *) "self", NULL 
 
2620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
; 
2621     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2627         wxPyEndAllowThreads(__tstate
); 
2628         if (PyErr_Occurred()) SWIG_fail
; 
2630     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2637 static PyObject 
*_wrap_GridCellEditor_Clone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2638     PyObject 
*resultobj
; 
2639     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2640     wxGridCellEditor 
*result
; 
2641     PyObject 
* obj0 
= 0 ; 
2643         (char *) "self", NULL 
 
2646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
; 
2647     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2648     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2650         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2651         result 
= (wxGridCellEditor 
*)((wxGridCellEditor 
const *)arg1
)->Clone(); 
2653         wxPyEndAllowThreads(__tstate
); 
2654         if (PyErr_Occurred()) SWIG_fail
; 
2657         resultobj 
= wxPyMake_wxGridCellEditor(result
, 0);  
2665 static PyObject 
*_wrap_GridCellEditor_SetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2666     PyObject 
*resultobj
; 
2667     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2670     PyObject 
* obj0 
= 0 ; 
2671     PyObject 
* obj1 
= 0 ; 
2673         (char *) "self",(char *) "rect", NULL 
 
2676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
2677     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2681         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
2684         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2685         (arg1
)->SetSize((wxRect 
const &)*arg2
); 
2687         wxPyEndAllowThreads(__tstate
); 
2688         if (PyErr_Occurred()) SWIG_fail
; 
2690     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2697 static PyObject 
*_wrap_GridCellEditor_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2698     PyObject 
*resultobj
; 
2699     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2701     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) NULL 
; 
2702     PyObject 
* obj0 
= 0 ; 
2703     PyObject 
* obj1 
= 0 ; 
2704     PyObject 
* obj2 
= 0 ; 
2706         (char *) "self",(char *) "show",(char *) "attr", NULL 
 
2709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2710     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2711     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2712     arg2 
= (bool) SWIG_AsBool(obj1
);  
2713     if (PyErr_Occurred()) SWIG_fail
; 
2715         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
2716         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2719         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2720         (arg1
)->Show(arg2
,arg3
); 
2722         wxPyEndAllowThreads(__tstate
); 
2723         if (PyErr_Occurred()) SWIG_fail
; 
2725     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2732 static PyObject 
*_wrap_GridCellEditor_PaintBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2733     PyObject 
*resultobj
; 
2734     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2736     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
2738     PyObject 
* obj0 
= 0 ; 
2739     PyObject 
* obj1 
= 0 ; 
2740     PyObject 
* obj2 
= 0 ; 
2742         (char *) "self",(char *) "rectCell",(char *) "attr", NULL 
 
2745     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2746     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2747     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2750         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
2752     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
2753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2756         (arg1
)->PaintBackground((wxRect 
const &)*arg2
,arg3
); 
2758         wxPyEndAllowThreads(__tstate
); 
2759         if (PyErr_Occurred()) SWIG_fail
; 
2761     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2768 static PyObject 
*_wrap_GridCellEditor_IsAcceptedKey(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2769     PyObject 
*resultobj
; 
2770     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2771     wxKeyEvent 
*arg2 
= 0 ; 
2773     PyObject 
* obj0 
= 0 ; 
2774     PyObject 
* obj1 
= 0 ; 
2776         (char *) "self",(char *) "event", NULL 
 
2779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
; 
2780     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2781     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2782     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
2783     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2786         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2791         result 
= (bool)(arg1
)->IsAcceptedKey(*arg2
); 
2793         wxPyEndAllowThreads(__tstate
); 
2794         if (PyErr_Occurred()) SWIG_fail
; 
2797         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2805 static PyObject 
*_wrap_GridCellEditor_StartingKey(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2806     PyObject 
*resultobj
; 
2807     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2808     wxKeyEvent 
*arg2 
= 0 ; 
2809     PyObject 
* obj0 
= 0 ; 
2810     PyObject 
* obj1 
= 0 ; 
2812         (char *) "self",(char *) "event", NULL 
 
2815     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
; 
2816     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2817     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2818     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
2819     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2822         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2827         (arg1
)->StartingKey(*arg2
); 
2829         wxPyEndAllowThreads(__tstate
); 
2830         if (PyErr_Occurred()) SWIG_fail
; 
2832     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2839 static PyObject 
*_wrap_GridCellEditor_StartingClick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2840     PyObject 
*resultobj
; 
2841     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2842     PyObject 
* obj0 
= 0 ; 
2844         (char *) "self", NULL 
 
2847     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
; 
2848     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2849     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2852         (arg1
)->StartingClick(); 
2854         wxPyEndAllowThreads(__tstate
); 
2855         if (PyErr_Occurred()) SWIG_fail
; 
2857     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2864 static PyObject 
*_wrap_GridCellEditor_HandleReturn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2865     PyObject 
*resultobj
; 
2866     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2867     wxKeyEvent 
*arg2 
= 0 ; 
2868     PyObject 
* obj0 
= 0 ; 
2869     PyObject 
* obj1 
= 0 ; 
2871         (char *) "self",(char *) "event", NULL 
 
2874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
; 
2875     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2877     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
2878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2881         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2886         (arg1
)->HandleReturn(*arg2
); 
2888         wxPyEndAllowThreads(__tstate
); 
2889         if (PyErr_Occurred()) SWIG_fail
; 
2891     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2898 static PyObject 
*_wrap_GridCellEditor_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2899     PyObject 
*resultobj
; 
2900     wxGridCellEditor 
*arg1 
= (wxGridCellEditor 
*) 0 ; 
2901     PyObject 
* obj0 
= 0 ; 
2903         (char *) "self", NULL 
 
2906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
; 
2907     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
, 
2908     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2913         wxPyEndAllowThreads(__tstate
); 
2914         if (PyErr_Occurred()) SWIG_fail
; 
2916     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2923 static PyObject 
* GridCellEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2925     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2926     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
); 
2928     return Py_BuildValue((char *)""); 
2930 static PyObject 
*_wrap_new_PyGridCellEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2931     PyObject 
*resultobj
; 
2932     wxPyGridCellEditor 
*result
; 
2937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
; 
2939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2940         result 
= (wxPyGridCellEditor 
*)new wxPyGridCellEditor(); 
2942         wxPyEndAllowThreads(__tstate
); 
2943         if (PyErr_Occurred()) SWIG_fail
; 
2945     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1); 
2952 static PyObject 
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2953     PyObject 
*resultobj
; 
2954     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
2955     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
2956     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
2957     PyObject 
* obj0 
= 0 ; 
2958     PyObject 
* obj1 
= 0 ; 
2959     PyObject 
* obj2 
= 0 ; 
2961         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
2964     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2965     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
2966     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2970         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2971         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
2973         wxPyEndAllowThreads(__tstate
); 
2974         if (PyErr_Occurred()) SWIG_fail
; 
2976     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2983 static PyObject 
*_wrap_PyGridCellEditor_base_SetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2984     PyObject 
*resultobj
; 
2985     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
2988     PyObject 
* obj0 
= 0 ; 
2989     PyObject 
* obj1 
= 0 ; 
2991         (char *) "self",(char *) "rect", NULL 
 
2994     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
2995     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
2996     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2999         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
3002         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3003         (arg1
)->base_SetSize((wxRect 
const &)*arg2
); 
3005         wxPyEndAllowThreads(__tstate
); 
3006         if (PyErr_Occurred()) SWIG_fail
; 
3008     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3015 static PyObject 
*_wrap_PyGridCellEditor_base_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3016     PyObject 
*resultobj
; 
3017     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3019     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) NULL 
; 
3020     PyObject 
* obj0 
= 0 ; 
3021     PyObject 
* obj1 
= 0 ; 
3022     PyObject 
* obj2 
= 0 ; 
3024         (char *) "self",(char *) "show",(char *) "attr", NULL 
 
3027     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3028     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3029     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3030     arg2 
= (bool) SWIG_AsBool(obj1
);  
3031     if (PyErr_Occurred()) SWIG_fail
; 
3033         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
3034         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3038         (arg1
)->base_Show(arg2
,arg3
); 
3040         wxPyEndAllowThreads(__tstate
); 
3041         if (PyErr_Occurred()) SWIG_fail
; 
3043     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3050 static PyObject 
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3051     PyObject 
*resultobj
; 
3052     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3054     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
3056     PyObject 
* obj0 
= 0 ; 
3057     PyObject 
* obj1 
= 0 ; 
3058     PyObject 
* obj2 
= 0 ; 
3060         (char *) "self",(char *) "rectCell",(char *) "attr", NULL 
 
3063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3064     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3068         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
3070     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
3071     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3073         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3074         (arg1
)->base_PaintBackground((wxRect 
const &)*arg2
,arg3
); 
3076         wxPyEndAllowThreads(__tstate
); 
3077         if (PyErr_Occurred()) SWIG_fail
; 
3079     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3086 static PyObject 
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3087     PyObject 
*resultobj
; 
3088     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3089     wxKeyEvent 
*arg2 
= 0 ; 
3091     PyObject 
* obj0 
= 0 ; 
3092     PyObject 
* obj1 
= 0 ; 
3094         (char *) "self",(char *) "event", NULL 
 
3097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
; 
3098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3100     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
3101     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3104         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3109         result 
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
); 
3111         wxPyEndAllowThreads(__tstate
); 
3112         if (PyErr_Occurred()) SWIG_fail
; 
3115         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3123 static PyObject 
*_wrap_PyGridCellEditor_base_StartingKey(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3124     PyObject 
*resultobj
; 
3125     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3126     wxKeyEvent 
*arg2 
= 0 ; 
3127     PyObject 
* obj0 
= 0 ; 
3128     PyObject 
* obj1 
= 0 ; 
3130         (char *) "self",(char *) "event", NULL 
 
3133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
; 
3134     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3135     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3136     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
3137     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3140         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3145         (arg1
)->base_StartingKey(*arg2
); 
3147         wxPyEndAllowThreads(__tstate
); 
3148         if (PyErr_Occurred()) SWIG_fail
; 
3150     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3157 static PyObject 
*_wrap_PyGridCellEditor_base_StartingClick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3158     PyObject 
*resultobj
; 
3159     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3160     PyObject 
* obj0 
= 0 ; 
3162         (char *) "self", NULL 
 
3165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
; 
3166     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3167     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3170         (arg1
)->base_StartingClick(); 
3172         wxPyEndAllowThreads(__tstate
); 
3173         if (PyErr_Occurred()) SWIG_fail
; 
3175     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3182 static PyObject 
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3183     PyObject 
*resultobj
; 
3184     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3185     wxKeyEvent 
*arg2 
= 0 ; 
3186     PyObject 
* obj0 
= 0 ; 
3187     PyObject 
* obj1 
= 0 ; 
3189         (char *) "self",(char *) "event", NULL 
 
3192     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
; 
3193     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3194     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3195     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
3196     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3199         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3203         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3204         (arg1
)->base_HandleReturn(*arg2
); 
3206         wxPyEndAllowThreads(__tstate
); 
3207         if (PyErr_Occurred()) SWIG_fail
; 
3209     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3216 static PyObject 
*_wrap_PyGridCellEditor_base_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3217     PyObject 
*resultobj
; 
3218     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3219     PyObject 
* obj0 
= 0 ; 
3221         (char *) "self", NULL 
 
3224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
; 
3225     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3226     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3228         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3229         (arg1
)->base_Destroy(); 
3231         wxPyEndAllowThreads(__tstate
); 
3232         if (PyErr_Occurred()) SWIG_fail
; 
3234     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3241 static PyObject 
*_wrap_PyGridCellEditor_base_SetParameters(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3242     PyObject 
*resultobj
; 
3243     wxPyGridCellEditor 
*arg1 
= (wxPyGridCellEditor 
*) 0 ; 
3244     wxString 
*arg2 
= 0 ; 
3245     bool temp2 
= False 
; 
3246     PyObject 
* obj0 
= 0 ; 
3247     PyObject 
* obj1 
= 0 ; 
3249         (char *) "self",(char *) "params", NULL 
 
3252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
; 
3253     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
, 
3254     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3256         arg2 
= wxString_in_helper(obj1
); 
3257         if (arg2 
== NULL
) SWIG_fail
; 
3261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3262         (arg1
)->base_SetParameters((wxString 
const &)*arg2
); 
3264         wxPyEndAllowThreads(__tstate
); 
3265         if (PyErr_Occurred()) SWIG_fail
; 
3267     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3282 static PyObject 
* PyGridCellEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3284     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3285     SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
); 
3287     return Py_BuildValue((char *)""); 
3289 static PyObject 
*_wrap_new_GridCellTextEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3290     PyObject 
*resultobj
; 
3291     wxGridCellTextEditor 
*result
; 
3296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
; 
3298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3299         result 
= (wxGridCellTextEditor 
*)new wxGridCellTextEditor(); 
3301         wxPyEndAllowThreads(__tstate
); 
3302         if (PyErr_Occurred()) SWIG_fail
; 
3304     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1); 
3311 static PyObject 
*_wrap_GridCellTextEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3312     PyObject 
*resultobj
; 
3313     wxGridCellTextEditor 
*arg1 
= (wxGridCellTextEditor 
*) 0 ; 
3315     PyObject 
* obj0 
= 0 ; 
3317         (char *) "self", NULL 
 
3320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3321     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellTextEditor
, 
3322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3325         result 
= (arg1
)->GetValue(); 
3327         wxPyEndAllowThreads(__tstate
); 
3328         if (PyErr_Occurred()) SWIG_fail
; 
3332         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3334         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3343 static PyObject 
* GridCellTextEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3345     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3346     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
); 
3348     return Py_BuildValue((char *)""); 
3350 static PyObject 
*_wrap_new_GridCellNumberEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3351     PyObject 
*resultobj
; 
3352     int arg1 
= (int) -1 ; 
3353     int arg2 
= (int) -1 ; 
3354     wxGridCellNumberEditor 
*result
; 
3355     PyObject 
* obj0 
= 0 ; 
3356     PyObject 
* obj1 
= 0 ; 
3358         (char *) "min",(char *) "max", NULL 
 
3361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
; 
3363         arg1 
= (int) SWIG_AsInt(obj0
);  
3364         if (PyErr_Occurred()) SWIG_fail
; 
3367         arg2 
= (int) SWIG_AsInt(obj1
);  
3368         if (PyErr_Occurred()) SWIG_fail
; 
3371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3372         result 
= (wxGridCellNumberEditor 
*)new wxGridCellNumberEditor(arg1
,arg2
); 
3374         wxPyEndAllowThreads(__tstate
); 
3375         if (PyErr_Occurred()) SWIG_fail
; 
3377     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1); 
3384 static PyObject 
*_wrap_GridCellNumberEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3385     PyObject 
*resultobj
; 
3386     wxGridCellNumberEditor 
*arg1 
= (wxGridCellNumberEditor 
*) 0 ; 
3388     PyObject 
* obj0 
= 0 ; 
3390         (char *) "self", NULL 
 
3393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellNumberEditor
, 
3395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3398         result 
= (arg1
)->GetValue(); 
3400         wxPyEndAllowThreads(__tstate
); 
3401         if (PyErr_Occurred()) SWIG_fail
; 
3405         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3407         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3416 static PyObject 
* GridCellNumberEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3418     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3419     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
); 
3421     return Py_BuildValue((char *)""); 
3423 static PyObject 
*_wrap_new_GridCellFloatEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3424     PyObject 
*resultobj
; 
3425     int arg1 
= (int) -1 ; 
3426     int arg2 
= (int) -1 ; 
3427     wxGridCellFloatEditor 
*result
; 
3428     PyObject 
* obj0 
= 0 ; 
3429     PyObject 
* obj1 
= 0 ; 
3431         (char *) "width",(char *) "precision", NULL 
 
3434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
; 
3436         arg1 
= (int) SWIG_AsInt(obj0
);  
3437         if (PyErr_Occurred()) SWIG_fail
; 
3440         arg2 
= (int) SWIG_AsInt(obj1
);  
3441         if (PyErr_Occurred()) SWIG_fail
; 
3444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3445         result 
= (wxGridCellFloatEditor 
*)new wxGridCellFloatEditor(arg1
,arg2
); 
3447         wxPyEndAllowThreads(__tstate
); 
3448         if (PyErr_Occurred()) SWIG_fail
; 
3450     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1); 
3457 static PyObject 
*_wrap_GridCellFloatEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3458     PyObject 
*resultobj
; 
3459     wxGridCellFloatEditor 
*arg1 
= (wxGridCellFloatEditor 
*) 0 ; 
3461     PyObject 
* obj0 
= 0 ; 
3463         (char *) "self", NULL 
 
3466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3467     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatEditor
, 
3468     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3471         result 
= (arg1
)->GetValue(); 
3473         wxPyEndAllowThreads(__tstate
); 
3474         if (PyErr_Occurred()) SWIG_fail
; 
3478         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3480         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3489 static PyObject 
* GridCellFloatEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3491     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3492     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
); 
3494     return Py_BuildValue((char *)""); 
3496 static PyObject 
*_wrap_new_GridCellBoolEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3497     PyObject 
*resultobj
; 
3498     wxGridCellBoolEditor 
*result
; 
3503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
; 
3505         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3506         result 
= (wxGridCellBoolEditor 
*)new wxGridCellBoolEditor(); 
3508         wxPyEndAllowThreads(__tstate
); 
3509         if (PyErr_Occurred()) SWIG_fail
; 
3511     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1); 
3518 static PyObject 
*_wrap_GridCellBoolEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3519     PyObject 
*resultobj
; 
3520     wxGridCellBoolEditor 
*arg1 
= (wxGridCellBoolEditor 
*) 0 ; 
3522     PyObject 
* obj0 
= 0 ; 
3524         (char *) "self", NULL 
 
3527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3528     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellBoolEditor
, 
3529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3531         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3532         result 
= (arg1
)->GetValue(); 
3534         wxPyEndAllowThreads(__tstate
); 
3535         if (PyErr_Occurred()) SWIG_fail
; 
3539         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3541         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3550 static PyObject 
* GridCellBoolEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3552     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3553     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
); 
3555     return Py_BuildValue((char *)""); 
3557 static PyObject 
*_wrap_new_GridCellChoiceEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3558     PyObject 
*resultobj
; 
3559     int arg1 
= (int) 0 ; 
3560     wxString 
*arg2 
= (wxString 
*) NULL 
; 
3561     bool arg3 
= (bool) False 
; 
3562     wxGridCellChoiceEditor 
*result
; 
3563     PyObject 
* obj0 
= 0 ; 
3564     PyObject 
* obj1 
= 0 ; 
3566         (char *) "choices",(char *) "allowOthers", NULL 
 
3569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
; 
3572             arg1 
= PyList_Size(obj0
); 
3573             arg2 
= wxString_LIST_helper(obj0
); 
3574             if (arg2 
== NULL
) SWIG_fail
; 
3578         arg3 
= (bool) SWIG_AsBool(obj1
);  
3579         if (PyErr_Occurred()) SWIG_fail
; 
3582         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3583         result 
= (wxGridCellChoiceEditor 
*)new wxGridCellChoiceEditor(arg1
,(wxString 
const *)arg2
,arg3
); 
3585         wxPyEndAllowThreads(__tstate
); 
3586         if (PyErr_Occurred()) SWIG_fail
; 
3588     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1); 
3590         if (arg2
) delete [] arg2
; 
3595         if (arg2
) delete [] arg2
; 
3601 static PyObject 
*_wrap_GridCellChoiceEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3602     PyObject 
*resultobj
; 
3603     wxGridCellChoiceEditor 
*arg1 
= (wxGridCellChoiceEditor 
*) 0 ; 
3605     PyObject 
* obj0 
= 0 ; 
3607         (char *) "self", NULL 
 
3610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3611     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellChoiceEditor
, 
3612     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3615         result 
= (arg1
)->GetValue(); 
3617         wxPyEndAllowThreads(__tstate
); 
3618         if (PyErr_Occurred()) SWIG_fail
; 
3622         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3624         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3633 static PyObject 
* GridCellChoiceEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3635     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3636     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
); 
3638     return Py_BuildValue((char *)""); 
3640 static PyObject 
*_wrap_new_GridCellEnumEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3641     PyObject 
*resultobj
; 
3642     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
3643     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
3644     wxGridCellEnumEditor 
*result
; 
3645     bool temp1 
= False 
; 
3646     PyObject 
* obj0 
= 0 ; 
3648         (char *) "choices", NULL 
 
3651     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
; 
3654             arg1 
= wxString_in_helper(obj0
); 
3655             if (arg1 
== NULL
) SWIG_fail
; 
3660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3661         result 
= (wxGridCellEnumEditor 
*)new wxGridCellEnumEditor((wxString 
const &)*arg1
); 
3663         wxPyEndAllowThreads(__tstate
); 
3664         if (PyErr_Occurred()) SWIG_fail
; 
3666     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1); 
3681 static PyObject 
*_wrap_GridCellEnumEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3682     PyObject 
*resultobj
; 
3683     wxGridCellEnumEditor 
*arg1 
= (wxGridCellEnumEditor 
*) 0 ; 
3685     PyObject 
* obj0 
= 0 ; 
3687         (char *) "self", NULL 
 
3690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3691     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEnumEditor
, 
3692     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3695         result 
= (arg1
)->GetValue(); 
3697         wxPyEndAllowThreads(__tstate
); 
3698         if (PyErr_Occurred()) SWIG_fail
; 
3702         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3704         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3713 static PyObject 
* GridCellEnumEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3715     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3716     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
); 
3718     return Py_BuildValue((char *)""); 
3720 static PyObject 
*_wrap_new_GridCellAutoWrapStringEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3721     PyObject 
*resultobj
; 
3722     wxGridCellAutoWrapStringEditor 
*result
; 
3727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
; 
3729         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3730         result 
= (wxGridCellAutoWrapStringEditor 
*)new wxGridCellAutoWrapStringEditor(); 
3732         wxPyEndAllowThreads(__tstate
); 
3733         if (PyErr_Occurred()) SWIG_fail
; 
3735     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1); 
3742 static PyObject 
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3743     PyObject 
*resultobj
; 
3744     wxGridCellAutoWrapStringEditor 
*arg1 
= (wxGridCellAutoWrapStringEditor 
*) 0 ; 
3746     PyObject 
* obj0 
= 0 ; 
3748         (char *) "self", NULL 
 
3751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
; 
3752     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 
3753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3756         result 
= (arg1
)->GetValue(); 
3758         wxPyEndAllowThreads(__tstate
); 
3759         if (PyErr_Occurred()) SWIG_fail
; 
3763         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3765         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3774 static PyObject 
* GridCellAutoWrapStringEditor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3776     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3777     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
); 
3779     return Py_BuildValue((char *)""); 
3781 static PyObject 
*_wrap_GridCellAttr__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3782     PyObject 
*resultobj
; 
3783     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3784     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3785     PyObject 
* obj0 
= 0 ; 
3786     PyObject 
* obj1 
= 0 ; 
3788         (char *) "self",(char *) "_self", NULL 
 
3791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
3792     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3793     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3796         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3797         wxGridCellAttr__setOORInfo(arg1
,arg2
); 
3799         wxPyEndAllowThreads(__tstate
); 
3800         if (PyErr_Occurred()) SWIG_fail
; 
3802     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3809 static PyObject 
*_wrap_new_GridCellAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3810     PyObject 
*resultobj
; 
3811     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) NULL 
; 
3812     wxGridCellAttr 
*result
; 
3813     PyObject 
* obj0 
= 0 ; 
3815         (char *) "attrDefault", NULL 
 
3818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
; 
3820         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3821         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3825         result 
= (wxGridCellAttr 
*)new wxGridCellAttr(arg1
); 
3827         wxPyEndAllowThreads(__tstate
); 
3828         if (PyErr_Occurred()) SWIG_fail
; 
3831         resultobj 
= wxPyMake_wxGridCellAttr(result
, 1);  
3839 static PyObject 
*_wrap_GridCellAttr_Clone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3840     PyObject 
*resultobj
; 
3841     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3842     wxGridCellAttr 
*result
; 
3843     PyObject 
* obj0 
= 0 ; 
3845         (char *) "self", NULL 
 
3848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
; 
3849     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3850     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3853         result 
= (wxGridCellAttr 
*)((wxGridCellAttr 
const *)arg1
)->Clone(); 
3855         wxPyEndAllowThreads(__tstate
); 
3856         if (PyErr_Occurred()) SWIG_fail
; 
3859         resultobj 
= wxPyMake_wxGridCellAttr(result
, 0);  
3867 static PyObject 
*_wrap_GridCellAttr_MergeWith(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3868     PyObject 
*resultobj
; 
3869     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3870     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
3871     PyObject 
* obj0 
= 0 ; 
3872     PyObject 
* obj1 
= 0 ; 
3874         (char *) "self",(char *) "mergefrom", NULL 
 
3877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
; 
3878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3880     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
3881     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3883         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3884         (arg1
)->MergeWith(arg2
); 
3886         wxPyEndAllowThreads(__tstate
); 
3887         if (PyErr_Occurred()) SWIG_fail
; 
3889     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3896 static PyObject 
*_wrap_GridCellAttr_IncRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3897     PyObject 
*resultobj
; 
3898     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3899     PyObject 
* obj0 
= 0 ; 
3901         (char *) "self", NULL 
 
3904     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
; 
3905     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3906     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3908         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3911         wxPyEndAllowThreads(__tstate
); 
3912         if (PyErr_Occurred()) SWIG_fail
; 
3914     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3921 static PyObject 
*_wrap_GridCellAttr_DecRef(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3922     PyObject 
*resultobj
; 
3923     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3924     PyObject 
* obj0 
= 0 ; 
3926         (char *) "self", NULL 
 
3929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
; 
3930     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3931     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3936         wxPyEndAllowThreads(__tstate
); 
3937         if (PyErr_Occurred()) SWIG_fail
; 
3939     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3946 static PyObject 
*_wrap_GridCellAttr_SetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3947     PyObject 
*resultobj
; 
3948     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3949     wxColour 
*arg2 
= 0 ; 
3951     PyObject 
* obj0 
= 0 ; 
3952     PyObject 
* obj1 
= 0 ; 
3954         (char *) "self",(char *) "colText", NULL 
 
3957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3958     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3962         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3966         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
3968         wxPyEndAllowThreads(__tstate
); 
3969         if (PyErr_Occurred()) SWIG_fail
; 
3971     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3978 static PyObject 
*_wrap_GridCellAttr_SetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3979     PyObject 
*resultobj
; 
3980     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
3981     wxColour 
*arg2 
= 0 ; 
3983     PyObject 
* obj0 
= 0 ; 
3984     PyObject 
* obj1 
= 0 ; 
3986         (char *) "self",(char *) "colBack", NULL 
 
3989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3990     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
3991     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3994         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3998         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
4000         wxPyEndAllowThreads(__tstate
); 
4001         if (PyErr_Occurred()) SWIG_fail
; 
4003     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4010 static PyObject 
*_wrap_GridCellAttr_SetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4011     PyObject 
*resultobj
; 
4012     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4014     PyObject 
* obj0 
= 0 ; 
4015     PyObject 
* obj1 
= 0 ; 
4017         (char *) "self",(char *) "font", NULL 
 
4020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
4021     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4022     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4023     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
4024     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4027         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4032         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
4034         wxPyEndAllowThreads(__tstate
); 
4035         if (PyErr_Occurred()) SWIG_fail
; 
4037     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4044 static PyObject 
*_wrap_GridCellAttr_SetAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4045     PyObject 
*resultobj
; 
4046     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4049     PyObject 
* obj0 
= 0 ; 
4050     PyObject 
* obj1 
= 0 ; 
4051     PyObject 
* obj2 
= 0 ; 
4053         (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL 
 
4056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4059     arg2 
= (int) SWIG_AsInt(obj1
);  
4060     if (PyErr_Occurred()) SWIG_fail
; 
4061     arg3 
= (int) SWIG_AsInt(obj2
);  
4062     if (PyErr_Occurred()) SWIG_fail
; 
4064         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4065         (arg1
)->SetAlignment(arg2
,arg3
); 
4067         wxPyEndAllowThreads(__tstate
); 
4068         if (PyErr_Occurred()) SWIG_fail
; 
4070     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4077 static PyObject 
*_wrap_GridCellAttr_SetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4078     PyObject 
*resultobj
; 
4079     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4082     PyObject 
* obj0 
= 0 ; 
4083     PyObject 
* obj1 
= 0 ; 
4084     PyObject 
* obj2 
= 0 ; 
4086         (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL 
 
4089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4090     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4092     arg2 
= (int) SWIG_AsInt(obj1
);  
4093     if (PyErr_Occurred()) SWIG_fail
; 
4094     arg3 
= (int) SWIG_AsInt(obj2
);  
4095     if (PyErr_Occurred()) SWIG_fail
; 
4097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4098         (arg1
)->SetSize(arg2
,arg3
); 
4100         wxPyEndAllowThreads(__tstate
); 
4101         if (PyErr_Occurred()) SWIG_fail
; 
4103     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4110 static PyObject 
*_wrap_GridCellAttr_SetOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4111     PyObject 
*resultobj
; 
4112     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4113     bool arg2 
= (bool) True 
; 
4114     PyObject 
* obj0 
= 0 ; 
4115     PyObject 
* obj1 
= 0 ; 
4117         (char *) "self",(char *) "allow", NULL 
 
4120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
; 
4121     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4122     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4124         arg2 
= (bool) SWIG_AsBool(obj1
);  
4125         if (PyErr_Occurred()) SWIG_fail
; 
4128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4129         (arg1
)->SetOverflow(arg2
); 
4131         wxPyEndAllowThreads(__tstate
); 
4132         if (PyErr_Occurred()) SWIG_fail
; 
4134     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4141 static PyObject 
*_wrap_GridCellAttr_SetReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4142     PyObject 
*resultobj
; 
4143     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4144     bool arg2 
= (bool) True 
; 
4145     PyObject 
* obj0 
= 0 ; 
4146     PyObject 
* obj1 
= 0 ; 
4148         (char *) "self",(char *) "isReadOnly", NULL 
 
4151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
; 
4152     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4155         arg2 
= (bool) SWIG_AsBool(obj1
);  
4156         if (PyErr_Occurred()) SWIG_fail
; 
4159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4160         (arg1
)->SetReadOnly(arg2
); 
4162         wxPyEndAllowThreads(__tstate
); 
4163         if (PyErr_Occurred()) SWIG_fail
; 
4165     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4172 static PyObject 
*_wrap_GridCellAttr_SetRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4173     PyObject 
*resultobj
; 
4174     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4175     wxGridCellRenderer 
*arg2 
= (wxGridCellRenderer 
*) 0 ; 
4176     PyObject 
* obj0 
= 0 ; 
4177     PyObject 
* obj1 
= 0 ; 
4179         (char *) "self",(char *) "renderer", NULL 
 
4182     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
; 
4183     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4184     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4185     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
, 
4186     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4189         (arg1
)->SetRenderer(arg2
); 
4191         wxPyEndAllowThreads(__tstate
); 
4192         if (PyErr_Occurred()) SWIG_fail
; 
4194     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4201 static PyObject 
*_wrap_GridCellAttr_SetEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4202     PyObject 
*resultobj
; 
4203     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4204     wxGridCellEditor 
*arg2 
= (wxGridCellEditor 
*) 0 ; 
4205     PyObject 
* obj0 
= 0 ; 
4206     PyObject 
* obj1 
= 0 ; 
4208         (char *) "self",(char *) "editor", NULL 
 
4211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
; 
4212     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4213     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4214     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
, 
4215     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4218         (arg1
)->SetEditor(arg2
); 
4220         wxPyEndAllowThreads(__tstate
); 
4221         if (PyErr_Occurred()) SWIG_fail
; 
4223     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4230 static PyObject 
*_wrap_GridCellAttr_SetKind(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4231     PyObject 
*resultobj
; 
4232     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4234     PyObject 
* obj0 
= 0 ; 
4235     PyObject 
* obj1 
= 0 ; 
4237         (char *) "self",(char *) "kind", NULL 
 
4240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
; 
4241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4243     arg2 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj1
);  
4244     if (PyErr_Occurred()) SWIG_fail
; 
4246         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4247         (arg1
)->SetKind((wxGridCellAttr::wxAttrKind 
)arg2
); 
4249         wxPyEndAllowThreads(__tstate
); 
4250         if (PyErr_Occurred()) SWIG_fail
; 
4252     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4259 static PyObject 
*_wrap_GridCellAttr_HasTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4260     PyObject 
*resultobj
; 
4261     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4263     PyObject 
* obj0 
= 0 ; 
4265         (char *) "self", NULL 
 
4268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
; 
4269     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4270     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4272         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4273         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasTextColour(); 
4275         wxPyEndAllowThreads(__tstate
); 
4276         if (PyErr_Occurred()) SWIG_fail
; 
4279         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4287 static PyObject 
*_wrap_GridCellAttr_HasBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4288     PyObject 
*resultobj
; 
4289     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4291     PyObject 
* obj0 
= 0 ; 
4293         (char *) "self", NULL 
 
4296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
; 
4297     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4298     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4301         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasBackgroundColour(); 
4303         wxPyEndAllowThreads(__tstate
); 
4304         if (PyErr_Occurred()) SWIG_fail
; 
4307         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4315 static PyObject 
*_wrap_GridCellAttr_HasFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4316     PyObject 
*resultobj
; 
4317     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4319     PyObject 
* obj0 
= 0 ; 
4321         (char *) "self", NULL 
 
4324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
; 
4325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4329         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasFont(); 
4331         wxPyEndAllowThreads(__tstate
); 
4332         if (PyErr_Occurred()) SWIG_fail
; 
4335         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4343 static PyObject 
*_wrap_GridCellAttr_HasAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4344     PyObject 
*resultobj
; 
4345     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4347     PyObject 
* obj0 
= 0 ; 
4349         (char *) "self", NULL 
 
4352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
; 
4353     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4354     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4357         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasAlignment(); 
4359         wxPyEndAllowThreads(__tstate
); 
4360         if (PyErr_Occurred()) SWIG_fail
; 
4363         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4371 static PyObject 
*_wrap_GridCellAttr_HasRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4372     PyObject 
*resultobj
; 
4373     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4375     PyObject 
* obj0 
= 0 ; 
4377         (char *) "self", NULL 
 
4380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
; 
4381     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4382     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4385         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasRenderer(); 
4387         wxPyEndAllowThreads(__tstate
); 
4388         if (PyErr_Occurred()) SWIG_fail
; 
4391         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4399 static PyObject 
*_wrap_GridCellAttr_HasEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4400     PyObject 
*resultobj
; 
4401     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4403     PyObject 
* obj0 
= 0 ; 
4405         (char *) "self", NULL 
 
4408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
; 
4409     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4410     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4412         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4413         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasEditor(); 
4415         wxPyEndAllowThreads(__tstate
); 
4416         if (PyErr_Occurred()) SWIG_fail
; 
4419         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4427 static PyObject 
*_wrap_GridCellAttr_HasReadWriteMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4428     PyObject 
*resultobj
; 
4429     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4431     PyObject 
* obj0 
= 0 ; 
4433         (char *) "self", NULL 
 
4436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
; 
4437     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4438     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4441         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasReadWriteMode(); 
4443         wxPyEndAllowThreads(__tstate
); 
4444         if (PyErr_Occurred()) SWIG_fail
; 
4447         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4455 static PyObject 
*_wrap_GridCellAttr_HasOverflowMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4456     PyObject 
*resultobj
; 
4457     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4459     PyObject 
* obj0 
= 0 ; 
4461         (char *) "self", NULL 
 
4464     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
; 
4465     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4466     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4469         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->HasOverflowMode(); 
4471         wxPyEndAllowThreads(__tstate
); 
4472         if (PyErr_Occurred()) SWIG_fail
; 
4475         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4483 static PyObject 
*_wrap_GridCellAttr_GetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4484     PyObject 
*resultobj
; 
4485     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4487     PyObject 
* obj0 
= 0 ; 
4489         (char *) "self", NULL 
 
4492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
; 
4493     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4497         result 
= ((wxGridCellAttr 
const *)arg1
)->GetTextColour(); 
4499         wxPyEndAllowThreads(__tstate
); 
4500         if (PyErr_Occurred()) SWIG_fail
; 
4503         wxColour 
* resultptr
; 
4504         resultptr 
= new wxColour((wxColour 
&) result
); 
4505         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
4513 static PyObject 
*_wrap_GridCellAttr_GetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4514     PyObject 
*resultobj
; 
4515     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4517     PyObject 
* obj0 
= 0 ; 
4519         (char *) "self", NULL 
 
4522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
4523     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4524     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4526         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4527         result 
= ((wxGridCellAttr 
const *)arg1
)->GetBackgroundColour(); 
4529         wxPyEndAllowThreads(__tstate
); 
4530         if (PyErr_Occurred()) SWIG_fail
; 
4533         wxColour 
* resultptr
; 
4534         resultptr 
= new wxColour((wxColour 
&) result
); 
4535         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
4543 static PyObject 
*_wrap_GridCellAttr_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4544     PyObject 
*resultobj
; 
4545     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4547     PyObject 
* obj0 
= 0 ; 
4549         (char *) "self", NULL 
 
4552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
; 
4553     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4554     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4557         result 
= ((wxGridCellAttr 
const *)arg1
)->GetFont(); 
4559         wxPyEndAllowThreads(__tstate
); 
4560         if (PyErr_Occurred()) SWIG_fail
; 
4564         resultptr 
= new wxFont((wxFont 
&) result
); 
4565         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
4573 static PyObject 
*_wrap_GridCellAttr_GetAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4574     PyObject 
*resultobj
; 
4575     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4576     int *arg2 
= (int *) 0 ; 
4577     int *arg3 
= (int *) 0 ; 
4580     PyObject 
* obj0 
= 0 ; 
4582         (char *) "self", NULL 
 
4587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
; 
4588     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4589     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4592         ((wxGridCellAttr 
const *)arg1
)->GetAlignment(arg2
,arg3
); 
4594         wxPyEndAllowThreads(__tstate
); 
4595         if (PyErr_Occurred()) SWIG_fail
; 
4597     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4599         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4600         resultobj 
= t_output_helper(resultobj
,o
); 
4603         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4604         resultobj 
= t_output_helper(resultobj
,o
); 
4612 static PyObject 
*_wrap_GridCellAttr_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4613     PyObject 
*resultobj
; 
4614     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4615     int *arg2 
= (int *) 0 ; 
4616     int *arg3 
= (int *) 0 ; 
4619     PyObject 
* obj0 
= 0 ; 
4621         (char *) "self", NULL 
 
4626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
; 
4627     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4630         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4631         ((wxGridCellAttr 
const *)arg1
)->GetSize(arg2
,arg3
); 
4633         wxPyEndAllowThreads(__tstate
); 
4634         if (PyErr_Occurred()) SWIG_fail
; 
4636     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4638         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4639         resultobj 
= t_output_helper(resultobj
,o
); 
4642         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4643         resultobj 
= t_output_helper(resultobj
,o
); 
4651 static PyObject 
*_wrap_GridCellAttr_GetOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4652     PyObject 
*resultobj
; 
4653     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4655     PyObject 
* obj0 
= 0 ; 
4657         (char *) "self", NULL 
 
4660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
; 
4661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4665         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->GetOverflow(); 
4667         wxPyEndAllowThreads(__tstate
); 
4668         if (PyErr_Occurred()) SWIG_fail
; 
4671         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4679 static PyObject 
*_wrap_GridCellAttr_GetRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4680     PyObject 
*resultobj
; 
4681     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4682     wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
4685     wxGridCellRenderer 
*result
; 
4686     PyObject 
* obj0 
= 0 ; 
4687     PyObject 
* obj1 
= 0 ; 
4688     PyObject 
* obj2 
= 0 ; 
4689     PyObject 
* obj3 
= 0 ; 
4691         (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL 
 
4694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4695     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4696     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4697     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
4698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4699     arg3 
= (int) SWIG_AsInt(obj2
);  
4700     if (PyErr_Occurred()) SWIG_fail
; 
4701     arg4 
= (int) SWIG_AsInt(obj3
);  
4702     if (PyErr_Occurred()) SWIG_fail
; 
4704         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4705         result 
= (wxGridCellRenderer 
*)((wxGridCellAttr 
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
); 
4707         wxPyEndAllowThreads(__tstate
); 
4708         if (PyErr_Occurred()) SWIG_fail
; 
4711         resultobj 
= wxPyMake_wxGridCellRenderer(result
, 0);  
4719 static PyObject 
*_wrap_GridCellAttr_GetEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4720     PyObject 
*resultobj
; 
4721     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4722     wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
4725     wxGridCellEditor 
*result
; 
4726     PyObject 
* obj0 
= 0 ; 
4727     PyObject 
* obj1 
= 0 ; 
4728     PyObject 
* obj2 
= 0 ; 
4729     PyObject 
* obj3 
= 0 ; 
4731         (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL 
 
4734     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4735     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4736     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4737     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
4738     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4739     arg3 
= (int) SWIG_AsInt(obj2
);  
4740     if (PyErr_Occurred()) SWIG_fail
; 
4741     arg4 
= (int) SWIG_AsInt(obj3
);  
4742     if (PyErr_Occurred()) SWIG_fail
; 
4744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4745         result 
= (wxGridCellEditor 
*)((wxGridCellAttr 
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
); 
4747         wxPyEndAllowThreads(__tstate
); 
4748         if (PyErr_Occurred()) SWIG_fail
; 
4751         resultobj 
= wxPyMake_wxGridCellEditor(result
, 0);  
4759 static PyObject 
*_wrap_GridCellAttr_IsReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4760     PyObject 
*resultobj
; 
4761     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4763     PyObject 
* obj0 
= 0 ; 
4765         (char *) "self", NULL 
 
4768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
; 
4769     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4770     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4773         result 
= (bool)((wxGridCellAttr 
const *)arg1
)->IsReadOnly(); 
4775         wxPyEndAllowThreads(__tstate
); 
4776         if (PyErr_Occurred()) SWIG_fail
; 
4779         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4787 static PyObject 
*_wrap_GridCellAttr_GetKind(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4788     PyObject 
*resultobj
; 
4789     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4791     PyObject 
* obj0 
= 0 ; 
4793         (char *) "self", NULL 
 
4796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
; 
4797     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4798     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4801         result 
= (int)(arg1
)->GetKind(); 
4803         wxPyEndAllowThreads(__tstate
); 
4804         if (PyErr_Occurred()) SWIG_fail
; 
4806     resultobj 
= SWIG_FromInt((int)result
); 
4813 static PyObject 
*_wrap_GridCellAttr_SetDefAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4814     PyObject 
*resultobj
; 
4815     wxGridCellAttr 
*arg1 
= (wxGridCellAttr 
*) 0 ; 
4816     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
4817     PyObject 
* obj0 
= 0 ; 
4818     PyObject 
* obj1 
= 0 ; 
4820         (char *) "self",(char *) "defAttr", NULL 
 
4823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
; 
4824     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
, 
4825     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4826     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
4827     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4830         (arg1
)->SetDefAttr(arg2
); 
4832         wxPyEndAllowThreads(__tstate
); 
4833         if (PyErr_Occurred()) SWIG_fail
; 
4835     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4842 static PyObject 
* GridCellAttr_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4844     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4845     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
); 
4847     return Py_BuildValue((char *)""); 
4849 static PyObject 
*_wrap_new_GridCellAttrProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4850     PyObject 
*resultobj
; 
4851     wxGridCellAttrProvider 
*result
; 
4856     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
; 
4858         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4859         result 
= (wxGridCellAttrProvider 
*)new wxGridCellAttrProvider(); 
4861         wxPyEndAllowThreads(__tstate
); 
4862         if (PyErr_Occurred()) SWIG_fail
; 
4865         resultobj 
= wxPyMake_wxGridCellAttrProvider(result
, 1);  
4873 static PyObject 
*_wrap_GridCellAttrProvider__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4874     PyObject 
*resultobj
; 
4875     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
4876     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
4877     PyObject 
* obj0 
= 0 ; 
4878     PyObject 
* obj1 
= 0 ; 
4880         (char *) "self",(char *) "_self", NULL 
 
4883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
4884     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
4885     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4889         wxGridCellAttrProvider__setOORInfo(arg1
,arg2
); 
4891         wxPyEndAllowThreads(__tstate
); 
4892         if (PyErr_Occurred()) SWIG_fail
; 
4894     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4901 static PyObject 
*_wrap_GridCellAttrProvider_GetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4902     PyObject 
*resultobj
; 
4903     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
4907     wxGridCellAttr 
*result
; 
4908     PyObject 
* obj0 
= 0 ; 
4909     PyObject 
* obj1 
= 0 ; 
4910     PyObject 
* obj2 
= 0 ; 
4911     PyObject 
* obj3 
= 0 ; 
4913         (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
4916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4917     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
4918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4919     arg2 
= (int) SWIG_AsInt(obj1
);  
4920     if (PyErr_Occurred()) SWIG_fail
; 
4921     arg3 
= (int) SWIG_AsInt(obj2
);  
4922     if (PyErr_Occurred()) SWIG_fail
; 
4923     arg4 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);  
4924     if (PyErr_Occurred()) SWIG_fail
; 
4926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4927         result 
= (wxGridCellAttr 
*)((wxGridCellAttrProvider 
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind 
)arg4
); 
4929         wxPyEndAllowThreads(__tstate
); 
4930         if (PyErr_Occurred()) SWIG_fail
; 
4933         resultobj 
= wxPyMake_wxGridCellAttr(result
, 0);  
4941 static PyObject 
*_wrap_GridCellAttrProvider_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4942     PyObject 
*resultobj
; 
4943     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
4944     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
4947     PyObject 
* obj0 
= 0 ; 
4948     PyObject 
* obj1 
= 0 ; 
4949     PyObject 
* obj2 
= 0 ; 
4950     PyObject 
* obj3 
= 0 ; 
4952         (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
4955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4956     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
4957     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4958     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
4959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4960     arg3 
= (int) SWIG_AsInt(obj2
);  
4961     if (PyErr_Occurred()) SWIG_fail
; 
4962     arg4 
= (int) SWIG_AsInt(obj3
);  
4963     if (PyErr_Occurred()) SWIG_fail
; 
4965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4966         (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
4968         wxPyEndAllowThreads(__tstate
); 
4969         if (PyErr_Occurred()) SWIG_fail
; 
4971     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4978 static PyObject 
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4979     PyObject 
*resultobj
; 
4980     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
4981     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
4983     PyObject 
* obj0 
= 0 ; 
4984     PyObject 
* obj1 
= 0 ; 
4985     PyObject 
* obj2 
= 0 ; 
4987         (char *) "self",(char *) "attr",(char *) "row", NULL 
 
4990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4991     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
4992     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4993     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
4994     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4995     arg3 
= (int) SWIG_AsInt(obj2
);  
4996     if (PyErr_Occurred()) SWIG_fail
; 
4998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4999         (arg1
)->SetRowAttr(arg2
,arg3
); 
5001         wxPyEndAllowThreads(__tstate
); 
5002         if (PyErr_Occurred()) SWIG_fail
; 
5004     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5011 static PyObject 
*_wrap_GridCellAttrProvider_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5012     PyObject 
*resultobj
; 
5013     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
5014     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
5016     PyObject 
* obj0 
= 0 ; 
5017     PyObject 
* obj1 
= 0 ; 
5018     PyObject 
* obj2 
= 0 ; 
5020         (char *) "self",(char *) "attr",(char *) "col", NULL 
 
5023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5024     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
5025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5026     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
5027     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5028     arg3 
= (int) SWIG_AsInt(obj2
);  
5029     if (PyErr_Occurred()) SWIG_fail
; 
5031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5032         (arg1
)->SetColAttr(arg2
,arg3
); 
5034         wxPyEndAllowThreads(__tstate
); 
5035         if (PyErr_Occurred()) SWIG_fail
; 
5037     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5044 static PyObject 
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5045     PyObject 
*resultobj
; 
5046     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
5049     PyObject 
* obj0 
= 0 ; 
5050     PyObject 
* obj1 
= 0 ; 
5051     PyObject 
* obj2 
= 0 ; 
5053         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
5056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
5058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5059     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
5060     if (PyErr_Occurred()) SWIG_fail
; 
5061     arg3 
= (int) SWIG_AsInt(obj2
);  
5062     if (PyErr_Occurred()) SWIG_fail
; 
5064         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5065         (arg1
)->UpdateAttrRows(arg2
,arg3
); 
5067         wxPyEndAllowThreads(__tstate
); 
5068         if (PyErr_Occurred()) SWIG_fail
; 
5070     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5077 static PyObject 
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5078     PyObject 
*resultobj
; 
5079     wxGridCellAttrProvider 
*arg1 
= (wxGridCellAttrProvider 
*) 0 ; 
5082     PyObject 
* obj0 
= 0 ; 
5083     PyObject 
* obj1 
= 0 ; 
5084     PyObject 
* obj2 
= 0 ; 
5086         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
5089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5090     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
, 
5091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5092     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
5093     if (PyErr_Occurred()) SWIG_fail
; 
5094     arg3 
= (int) SWIG_AsInt(obj2
);  
5095     if (PyErr_Occurred()) SWIG_fail
; 
5097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5098         (arg1
)->UpdateAttrCols(arg2
,arg3
); 
5100         wxPyEndAllowThreads(__tstate
); 
5101         if (PyErr_Occurred()) SWIG_fail
; 
5103     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5110 static PyObject 
* GridCellAttrProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5112     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5113     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
); 
5115     return Py_BuildValue((char *)""); 
5117 static PyObject 
*_wrap_new_PyGridCellAttrProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5118     PyObject 
*resultobj
; 
5119     wxPyGridCellAttrProvider 
*result
; 
5124     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
; 
5126         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5127         result 
= (wxPyGridCellAttrProvider 
*)new wxPyGridCellAttrProvider(); 
5129         wxPyEndAllowThreads(__tstate
); 
5130         if (PyErr_Occurred()) SWIG_fail
; 
5132     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1); 
5139 static PyObject 
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5140     PyObject 
*resultobj
; 
5141     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5142     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5143     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
5144     PyObject 
* obj0 
= 0 ; 
5145     PyObject 
* obj1 
= 0 ; 
5146     PyObject 
* obj2 
= 0 ; 
5148         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
5151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5152     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5158         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
5160         wxPyEndAllowThreads(__tstate
); 
5161         if (PyErr_Occurred()) SWIG_fail
; 
5163     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5170 static PyObject 
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5171     PyObject 
*resultobj
; 
5172     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5176     wxGridCellAttr 
*result
; 
5177     PyObject 
* obj0 
= 0 ; 
5178     PyObject 
* obj1 
= 0 ; 
5179     PyObject 
* obj2 
= 0 ; 
5180     PyObject 
* obj3 
= 0 ; 
5182         (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
5185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5186     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5187     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5188     arg2 
= (int) SWIG_AsInt(obj1
);  
5189     if (PyErr_Occurred()) SWIG_fail
; 
5190     arg3 
= (int) SWIG_AsInt(obj2
);  
5191     if (PyErr_Occurred()) SWIG_fail
; 
5192     arg4 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);  
5193     if (PyErr_Occurred()) SWIG_fail
; 
5195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5196         result 
= (wxGridCellAttr 
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind 
)arg4
); 
5198         wxPyEndAllowThreads(__tstate
); 
5199         if (PyErr_Occurred()) SWIG_fail
; 
5202         resultobj 
= wxPyMake_wxGridCellAttr(result
, 0);  
5210 static PyObject 
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5211     PyObject 
*resultobj
; 
5212     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5213     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
5216     PyObject 
* obj0 
= 0 ; 
5217     PyObject 
* obj1 
= 0 ; 
5218     PyObject 
* obj2 
= 0 ; 
5219     PyObject 
* obj3 
= 0 ; 
5221         (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
5224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5225     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5226     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5227     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
5228     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5229     arg3 
= (int) SWIG_AsInt(obj2
);  
5230     if (PyErr_Occurred()) SWIG_fail
; 
5231     arg4 
= (int) SWIG_AsInt(obj3
);  
5232     if (PyErr_Occurred()) SWIG_fail
; 
5234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5235         (arg1
)->base_SetAttr(arg2
,arg3
,arg4
); 
5237         wxPyEndAllowThreads(__tstate
); 
5238         if (PyErr_Occurred()) SWIG_fail
; 
5240     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5247 static PyObject 
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5248     PyObject 
*resultobj
; 
5249     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5250     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
5252     PyObject 
* obj0 
= 0 ; 
5253     PyObject 
* obj1 
= 0 ; 
5254     PyObject 
* obj2 
= 0 ; 
5256         (char *) "self",(char *) "attr",(char *) "row", NULL 
 
5259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5262     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
5263     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5264     arg3 
= (int) SWIG_AsInt(obj2
);  
5265     if (PyErr_Occurred()) SWIG_fail
; 
5267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5268         (arg1
)->base_SetRowAttr(arg2
,arg3
); 
5270         wxPyEndAllowThreads(__tstate
); 
5271         if (PyErr_Occurred()) SWIG_fail
; 
5273     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5280 static PyObject 
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5281     PyObject 
*resultobj
; 
5282     wxPyGridCellAttrProvider 
*arg1 
= (wxPyGridCellAttrProvider 
*) 0 ; 
5283     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
5285     PyObject 
* obj0 
= 0 ; 
5286     PyObject 
* obj1 
= 0 ; 
5287     PyObject 
* obj2 
= 0 ; 
5289         (char *) "self",(char *) "attr",(char *) "col", NULL 
 
5292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5293     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
, 
5294     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5295     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
5296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5297     arg3 
= (int) SWIG_AsInt(obj2
);  
5298     if (PyErr_Occurred()) SWIG_fail
; 
5300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5301         (arg1
)->base_SetColAttr(arg2
,arg3
); 
5303         wxPyEndAllowThreads(__tstate
); 
5304         if (PyErr_Occurred()) SWIG_fail
; 
5306     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5313 static PyObject 
* PyGridCellAttrProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5315     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5316     SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
); 
5318     return Py_BuildValue((char *)""); 
5320 static PyObject 
*_wrap_GridTableBase__setOORInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5321     PyObject 
*resultobj
; 
5322     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5323     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5324     PyObject 
* obj0 
= 0 ; 
5325     PyObject 
* obj1 
= 0 ; 
5327         (char *) "self",(char *) "_self", NULL 
 
5330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
5331     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5332     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5335         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5336         wxGridTableBase__setOORInfo(arg1
,arg2
); 
5338         wxPyEndAllowThreads(__tstate
); 
5339         if (PyErr_Occurred()) SWIG_fail
; 
5341     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5348 static PyObject 
*_wrap_GridTableBase_SetAttrProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5349     PyObject 
*resultobj
; 
5350     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5351     wxGridCellAttrProvider 
*arg2 
= (wxGridCellAttrProvider 
*) 0 ; 
5352     PyObject 
* obj0 
= 0 ; 
5353     PyObject 
* obj1 
= 0 ; 
5355         (char *) "self",(char *) "attrProvider", NULL 
 
5358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
; 
5359     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5360     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5361     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
, 
5362     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5364         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5365         (arg1
)->SetAttrProvider(arg2
); 
5367         wxPyEndAllowThreads(__tstate
); 
5368         if (PyErr_Occurred()) SWIG_fail
; 
5370     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5377 static PyObject 
*_wrap_GridTableBase_GetAttrProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5378     PyObject 
*resultobj
; 
5379     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5380     wxGridCellAttrProvider 
*result
; 
5381     PyObject 
* obj0 
= 0 ; 
5383         (char *) "self", NULL 
 
5386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
; 
5387     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5388     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5391         result 
= (wxGridCellAttrProvider 
*)((wxGridTableBase 
const *)arg1
)->GetAttrProvider(); 
5393         wxPyEndAllowThreads(__tstate
); 
5394         if (PyErr_Occurred()) SWIG_fail
; 
5397         resultobj 
= wxPyMake_wxGridCellAttrProvider(result
, 0);  
5405 static PyObject 
*_wrap_GridTableBase_SetView(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5406     PyObject 
*resultobj
; 
5407     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5408     wxGrid 
*arg2 
= (wxGrid 
*) 0 ; 
5409     PyObject 
* obj0 
= 0 ; 
5410     PyObject 
* obj1 
= 0 ; 
5412         (char *) "self",(char *) "grid", NULL 
 
5415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
; 
5416     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5417     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5418     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
, 
5419     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5421         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5422         (arg1
)->SetView(arg2
); 
5424         wxPyEndAllowThreads(__tstate
); 
5425         if (PyErr_Occurred()) SWIG_fail
; 
5427     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5434 static PyObject 
*_wrap_GridTableBase_GetView(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5435     PyObject 
*resultobj
; 
5436     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5438     PyObject 
* obj0 
= 0 ; 
5440         (char *) "self", NULL 
 
5443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
; 
5444     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5445     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5448         result 
= (wxGrid 
*)((wxGridTableBase 
const *)arg1
)->GetView(); 
5450         wxPyEndAllowThreads(__tstate
); 
5451         if (PyErr_Occurred()) SWIG_fail
; 
5454         resultobj 
= wxPyMake_wxObject(result
, 0);  
5462 static PyObject 
*_wrap_GridTableBase_GetNumberRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5463     PyObject 
*resultobj
; 
5464     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5466     PyObject 
* obj0 
= 0 ; 
5468         (char *) "self", NULL 
 
5471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
; 
5472     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5473     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5476         result 
= (int)(arg1
)->GetNumberRows(); 
5478         wxPyEndAllowThreads(__tstate
); 
5479         if (PyErr_Occurred()) SWIG_fail
; 
5481     resultobj 
= SWIG_FromInt((int)result
); 
5488 static PyObject 
*_wrap_GridTableBase_GetNumberCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5489     PyObject 
*resultobj
; 
5490     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5492     PyObject 
* obj0 
= 0 ; 
5494         (char *) "self", NULL 
 
5497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
; 
5498     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5499     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5502         result 
= (int)(arg1
)->GetNumberCols(); 
5504         wxPyEndAllowThreads(__tstate
); 
5505         if (PyErr_Occurred()) SWIG_fail
; 
5507     resultobj 
= SWIG_FromInt((int)result
); 
5514 static PyObject 
*_wrap_GridTableBase_IsEmptyCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5515     PyObject 
*resultobj
; 
5516     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5520     PyObject 
* obj0 
= 0 ; 
5521     PyObject 
* obj1 
= 0 ; 
5522     PyObject 
* obj2 
= 0 ; 
5524         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5528     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5530     arg2 
= (int) SWIG_AsInt(obj1
);  
5531     if (PyErr_Occurred()) SWIG_fail
; 
5532     arg3 
= (int) SWIG_AsInt(obj2
);  
5533     if (PyErr_Occurred()) SWIG_fail
; 
5535         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5536         result 
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
); 
5538         wxPyEndAllowThreads(__tstate
); 
5539         if (PyErr_Occurred()) SWIG_fail
; 
5542         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5550 static PyObject 
*_wrap_GridTableBase_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5551     PyObject 
*resultobj
; 
5552     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5556     PyObject 
* obj0 
= 0 ; 
5557     PyObject 
* obj1 
= 0 ; 
5558     PyObject 
* obj2 
= 0 ; 
5560         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5563     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5564     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5565     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5566     arg2 
= (int) SWIG_AsInt(obj1
);  
5567     if (PyErr_Occurred()) SWIG_fail
; 
5568     arg3 
= (int) SWIG_AsInt(obj2
);  
5569     if (PyErr_Occurred()) SWIG_fail
; 
5571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5572         result 
= (arg1
)->GetValue(arg2
,arg3
); 
5574         wxPyEndAllowThreads(__tstate
); 
5575         if (PyErr_Occurred()) SWIG_fail
; 
5579         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5581         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5590 static PyObject 
*_wrap_GridTableBase_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5591     PyObject 
*resultobj
; 
5592     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5595     wxString 
*arg4 
= 0 ; 
5596     bool temp4 
= False 
; 
5597     PyObject 
* obj0 
= 0 ; 
5598     PyObject 
* obj1 
= 0 ; 
5599     PyObject 
* obj2 
= 0 ; 
5600     PyObject 
* obj3 
= 0 ; 
5602         (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
5605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5606     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5607     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5608     arg2 
= (int) SWIG_AsInt(obj1
);  
5609     if (PyErr_Occurred()) SWIG_fail
; 
5610     arg3 
= (int) SWIG_AsInt(obj2
);  
5611     if (PyErr_Occurred()) SWIG_fail
; 
5613         arg4 
= wxString_in_helper(obj3
); 
5614         if (arg4 
== NULL
) SWIG_fail
; 
5618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5619         (arg1
)->SetValue(arg2
,arg3
,(wxString 
const &)*arg4
); 
5621         wxPyEndAllowThreads(__tstate
); 
5622         if (PyErr_Occurred()) SWIG_fail
; 
5624     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5639 static PyObject 
*_wrap_GridTableBase_GetTypeName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5640     PyObject 
*resultobj
; 
5641     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5645     PyObject 
* obj0 
= 0 ; 
5646     PyObject 
* obj1 
= 0 ; 
5647     PyObject 
* obj2 
= 0 ; 
5649         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5653     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5654     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5655     arg2 
= (int) SWIG_AsInt(obj1
);  
5656     if (PyErr_Occurred()) SWIG_fail
; 
5657     arg3 
= (int) SWIG_AsInt(obj2
);  
5658     if (PyErr_Occurred()) SWIG_fail
; 
5660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5661         result 
= (arg1
)->GetTypeName(arg2
,arg3
); 
5663         wxPyEndAllowThreads(__tstate
); 
5664         if (PyErr_Occurred()) SWIG_fail
; 
5668         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5670         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5679 static PyObject 
*_wrap_GridTableBase_CanGetValueAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5680     PyObject 
*resultobj
; 
5681     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5684     wxString 
*arg4 
= 0 ; 
5686     bool temp4 
= False 
; 
5687     PyObject 
* obj0 
= 0 ; 
5688     PyObject 
* obj1 
= 0 ; 
5689     PyObject 
* obj2 
= 0 ; 
5690     PyObject 
* obj3 
= 0 ; 
5692         (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
5695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5696     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5697     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5698     arg2 
= (int) SWIG_AsInt(obj1
);  
5699     if (PyErr_Occurred()) SWIG_fail
; 
5700     arg3 
= (int) SWIG_AsInt(obj2
);  
5701     if (PyErr_Occurred()) SWIG_fail
; 
5703         arg4 
= wxString_in_helper(obj3
); 
5704         if (arg4 
== NULL
) SWIG_fail
; 
5708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5709         result 
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
5711         wxPyEndAllowThreads(__tstate
); 
5712         if (PyErr_Occurred()) SWIG_fail
; 
5715         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5731 static PyObject 
*_wrap_GridTableBase_CanSetValueAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5732     PyObject 
*resultobj
; 
5733     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5736     wxString 
*arg4 
= 0 ; 
5738     bool temp4 
= False 
; 
5739     PyObject 
* obj0 
= 0 ; 
5740     PyObject 
* obj1 
= 0 ; 
5741     PyObject 
* obj2 
= 0 ; 
5742     PyObject 
* obj3 
= 0 ; 
5744         (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
5747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5748     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5749     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5750     arg2 
= (int) SWIG_AsInt(obj1
);  
5751     if (PyErr_Occurred()) SWIG_fail
; 
5752     arg3 
= (int) SWIG_AsInt(obj2
);  
5753     if (PyErr_Occurred()) SWIG_fail
; 
5755         arg4 
= wxString_in_helper(obj3
); 
5756         if (arg4 
== NULL
) SWIG_fail
; 
5760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5761         result 
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
5763         wxPyEndAllowThreads(__tstate
); 
5764         if (PyErr_Occurred()) SWIG_fail
; 
5767         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5783 static PyObject 
*_wrap_GridTableBase_GetValueAsLong(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5784     PyObject 
*resultobj
; 
5785     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5789     PyObject 
* obj0 
= 0 ; 
5790     PyObject 
* obj1 
= 0 ; 
5791     PyObject 
* obj2 
= 0 ; 
5793         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5797     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5798     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5799     arg2 
= (int) SWIG_AsInt(obj1
);  
5800     if (PyErr_Occurred()) SWIG_fail
; 
5801     arg3 
= (int) SWIG_AsInt(obj2
);  
5802     if (PyErr_Occurred()) SWIG_fail
; 
5804         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5805         result 
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
); 
5807         wxPyEndAllowThreads(__tstate
); 
5808         if (PyErr_Occurred()) SWIG_fail
; 
5810     resultobj 
= SWIG_FromLong((long)result
); 
5817 static PyObject 
*_wrap_GridTableBase_GetValueAsDouble(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5818     PyObject 
*resultobj
; 
5819     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5823     PyObject 
* obj0 
= 0 ; 
5824     PyObject 
* obj1 
= 0 ; 
5825     PyObject 
* obj2 
= 0 ; 
5827         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5831     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5832     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5833     arg2 
= (int) SWIG_AsInt(obj1
);  
5834     if (PyErr_Occurred()) SWIG_fail
; 
5835     arg3 
= (int) SWIG_AsInt(obj2
);  
5836     if (PyErr_Occurred()) SWIG_fail
; 
5838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5839         result 
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
); 
5841         wxPyEndAllowThreads(__tstate
); 
5842         if (PyErr_Occurred()) SWIG_fail
; 
5844     resultobj 
= SWIG_FromDouble((double)result
); 
5851 static PyObject 
*_wrap_GridTableBase_GetValueAsBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5852     PyObject 
*resultobj
; 
5853     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5857     PyObject 
* obj0 
= 0 ; 
5858     PyObject 
* obj1 
= 0 ; 
5859     PyObject 
* obj2 
= 0 ; 
5861         (char *) "self",(char *) "row",(char *) "col", NULL 
 
5864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5865     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5866     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5867     arg2 
= (int) SWIG_AsInt(obj1
);  
5868     if (PyErr_Occurred()) SWIG_fail
; 
5869     arg3 
= (int) SWIG_AsInt(obj2
);  
5870     if (PyErr_Occurred()) SWIG_fail
; 
5872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5873         result 
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
); 
5875         wxPyEndAllowThreads(__tstate
); 
5876         if (PyErr_Occurred()) SWIG_fail
; 
5879         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5887 static PyObject 
*_wrap_GridTableBase_SetValueAsLong(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5888     PyObject 
*resultobj
; 
5889     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5893     PyObject 
* obj0 
= 0 ; 
5894     PyObject 
* obj1 
= 0 ; 
5895     PyObject 
* obj2 
= 0 ; 
5896     PyObject 
* obj3 
= 0 ; 
5898         (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
5901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5902     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5903     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5904     arg2 
= (int) SWIG_AsInt(obj1
);  
5905     if (PyErr_Occurred()) SWIG_fail
; 
5906     arg3 
= (int) SWIG_AsInt(obj2
);  
5907     if (PyErr_Occurred()) SWIG_fail
; 
5908     arg4 
= (long) SWIG_AsLong(obj3
);  
5909     if (PyErr_Occurred()) SWIG_fail
; 
5911         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5912         (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
); 
5914         wxPyEndAllowThreads(__tstate
); 
5915         if (PyErr_Occurred()) SWIG_fail
; 
5917     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5924 static PyObject 
*_wrap_GridTableBase_SetValueAsDouble(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5925     PyObject 
*resultobj
; 
5926     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5930     PyObject 
* obj0 
= 0 ; 
5931     PyObject 
* obj1 
= 0 ; 
5932     PyObject 
* obj2 
= 0 ; 
5933     PyObject 
* obj3 
= 0 ; 
5935         (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
5938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5939     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5940     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5941     arg2 
= (int) SWIG_AsInt(obj1
);  
5942     if (PyErr_Occurred()) SWIG_fail
; 
5943     arg3 
= (int) SWIG_AsInt(obj2
);  
5944     if (PyErr_Occurred()) SWIG_fail
; 
5945     arg4 
= (double) SWIG_AsDouble(obj3
);  
5946     if (PyErr_Occurred()) SWIG_fail
; 
5948         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5949         (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
); 
5951         wxPyEndAllowThreads(__tstate
); 
5952         if (PyErr_Occurred()) SWIG_fail
; 
5954     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5961 static PyObject 
*_wrap_GridTableBase_SetValueAsBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5962     PyObject 
*resultobj
; 
5963     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
5967     PyObject 
* obj0 
= 0 ; 
5968     PyObject 
* obj1 
= 0 ; 
5969     PyObject 
* obj2 
= 0 ; 
5970     PyObject 
* obj3 
= 0 ; 
5972         (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL 
 
5975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5976     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
5977     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5978     arg2 
= (int) SWIG_AsInt(obj1
);  
5979     if (PyErr_Occurred()) SWIG_fail
; 
5980     arg3 
= (int) SWIG_AsInt(obj2
);  
5981     if (PyErr_Occurred()) SWIG_fail
; 
5982     arg4 
= (bool) SWIG_AsBool(obj3
);  
5983     if (PyErr_Occurred()) SWIG_fail
; 
5985         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5986         (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
); 
5988         wxPyEndAllowThreads(__tstate
); 
5989         if (PyErr_Occurred()) SWIG_fail
; 
5991     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5998 static PyObject 
*_wrap_GridTableBase_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5999     PyObject 
*resultobj
; 
6000     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6001     PyObject 
* obj0 
= 0 ; 
6003         (char *) "self", NULL 
 
6006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
; 
6007     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6008     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6010         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6013         wxPyEndAllowThreads(__tstate
); 
6014         if (PyErr_Occurred()) SWIG_fail
; 
6016     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6023 static PyObject 
*_wrap_GridTableBase_InsertRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6024     PyObject 
*resultobj
; 
6025     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6026     size_t arg2 
= (size_t) 0 ; 
6027     size_t arg3 
= (size_t) 1 ; 
6029     PyObject 
* obj0 
= 0 ; 
6030     PyObject 
* obj1 
= 0 ; 
6031     PyObject 
* obj2 
= 0 ; 
6033         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
6036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6037     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6040         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6041         if (PyErr_Occurred()) SWIG_fail
; 
6044         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6045         if (PyErr_Occurred()) SWIG_fail
; 
6048         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6049         result 
= (bool)(arg1
)->InsertRows(arg2
,arg3
); 
6051         wxPyEndAllowThreads(__tstate
); 
6052         if (PyErr_Occurred()) SWIG_fail
; 
6055         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6063 static PyObject 
*_wrap_GridTableBase_AppendRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6064     PyObject 
*resultobj
; 
6065     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6066     size_t arg2 
= (size_t) 1 ; 
6068     PyObject 
* obj0 
= 0 ; 
6069     PyObject 
* obj1 
= 0 ; 
6071         (char *) "self",(char *) "numRows", NULL 
 
6074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
6075     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6076     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6078         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6079         if (PyErr_Occurred()) SWIG_fail
; 
6082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6083         result 
= (bool)(arg1
)->AppendRows(arg2
); 
6085         wxPyEndAllowThreads(__tstate
); 
6086         if (PyErr_Occurred()) SWIG_fail
; 
6089         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6097 static PyObject 
*_wrap_GridTableBase_DeleteRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6098     PyObject 
*resultobj
; 
6099     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6100     size_t arg2 
= (size_t) 0 ; 
6101     size_t arg3 
= (size_t) 1 ; 
6103     PyObject 
* obj0 
= 0 ; 
6104     PyObject 
* obj1 
= 0 ; 
6105     PyObject 
* obj2 
= 0 ; 
6107         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
6110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6111     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6112     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6114         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6115         if (PyErr_Occurred()) SWIG_fail
; 
6118         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6119         if (PyErr_Occurred()) SWIG_fail
; 
6122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6123         result 
= (bool)(arg1
)->DeleteRows(arg2
,arg3
); 
6125         wxPyEndAllowThreads(__tstate
); 
6126         if (PyErr_Occurred()) SWIG_fail
; 
6129         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6137 static PyObject 
*_wrap_GridTableBase_InsertCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6138     PyObject 
*resultobj
; 
6139     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6140     size_t arg2 
= (size_t) 0 ; 
6141     size_t arg3 
= (size_t) 1 ; 
6143     PyObject 
* obj0 
= 0 ; 
6144     PyObject 
* obj1 
= 0 ; 
6145     PyObject 
* obj2 
= 0 ; 
6147         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
6150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6154         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6155         if (PyErr_Occurred()) SWIG_fail
; 
6158         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6159         if (PyErr_Occurred()) SWIG_fail
; 
6162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6163         result 
= (bool)(arg1
)->InsertCols(arg2
,arg3
); 
6165         wxPyEndAllowThreads(__tstate
); 
6166         if (PyErr_Occurred()) SWIG_fail
; 
6169         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6177 static PyObject 
*_wrap_GridTableBase_AppendCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6178     PyObject 
*resultobj
; 
6179     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6180     size_t arg2 
= (size_t) 1 ; 
6182     PyObject 
* obj0 
= 0 ; 
6183     PyObject 
* obj1 
= 0 ; 
6185         (char *) "self",(char *) "numCols", NULL 
 
6188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
; 
6189     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6190     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6192         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6193         if (PyErr_Occurred()) SWIG_fail
; 
6196         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6197         result 
= (bool)(arg1
)->AppendCols(arg2
); 
6199         wxPyEndAllowThreads(__tstate
); 
6200         if (PyErr_Occurred()) SWIG_fail
; 
6203         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6211 static PyObject 
*_wrap_GridTableBase_DeleteCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6212     PyObject 
*resultobj
; 
6213     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6214     size_t arg2 
= (size_t) 0 ; 
6215     size_t arg3 
= (size_t) 1 ; 
6217     PyObject 
* obj0 
= 0 ; 
6218     PyObject 
* obj1 
= 0 ; 
6219     PyObject 
* obj2 
= 0 ; 
6221         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
6224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6225     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6226     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6228         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6229         if (PyErr_Occurred()) SWIG_fail
; 
6232         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6233         if (PyErr_Occurred()) SWIG_fail
; 
6236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6237         result 
= (bool)(arg1
)->DeleteCols(arg2
,arg3
); 
6239         wxPyEndAllowThreads(__tstate
); 
6240         if (PyErr_Occurred()) SWIG_fail
; 
6243         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6251 static PyObject 
*_wrap_GridTableBase_GetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6252     PyObject 
*resultobj
; 
6253     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6256     PyObject 
* obj0 
= 0 ; 
6257     PyObject 
* obj1 
= 0 ; 
6259         (char *) "self",(char *) "row", NULL 
 
6262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
6263     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6264     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6265     arg2 
= (int) SWIG_AsInt(obj1
);  
6266     if (PyErr_Occurred()) SWIG_fail
; 
6268         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6269         result 
= (arg1
)->GetRowLabelValue(arg2
); 
6271         wxPyEndAllowThreads(__tstate
); 
6272         if (PyErr_Occurred()) SWIG_fail
; 
6276         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6278         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6287 static PyObject 
*_wrap_GridTableBase_GetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6288     PyObject 
*resultobj
; 
6289     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6292     PyObject 
* obj0 
= 0 ; 
6293     PyObject 
* obj1 
= 0 ; 
6295         (char *) "self",(char *) "col", NULL 
 
6298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
6299     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6300     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6301     arg2 
= (int) SWIG_AsInt(obj1
);  
6302     if (PyErr_Occurred()) SWIG_fail
; 
6304         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6305         result 
= (arg1
)->GetColLabelValue(arg2
); 
6307         wxPyEndAllowThreads(__tstate
); 
6308         if (PyErr_Occurred()) SWIG_fail
; 
6312         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6314         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6323 static PyObject 
*_wrap_GridTableBase_SetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6324     PyObject 
*resultobj
; 
6325     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6327     wxString 
*arg3 
= 0 ; 
6328     bool temp3 
= False 
; 
6329     PyObject 
* obj0 
= 0 ; 
6330     PyObject 
* obj1 
= 0 ; 
6331     PyObject 
* obj2 
= 0 ; 
6333         (char *) "self",(char *) "row",(char *) "value", NULL 
 
6336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6337     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6338     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6339     arg2 
= (int) SWIG_AsInt(obj1
);  
6340     if (PyErr_Occurred()) SWIG_fail
; 
6342         arg3 
= wxString_in_helper(obj2
); 
6343         if (arg3 
== NULL
) SWIG_fail
; 
6347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6348         (arg1
)->SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
6350         wxPyEndAllowThreads(__tstate
); 
6351         if (PyErr_Occurred()) SWIG_fail
; 
6353     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6368 static PyObject 
*_wrap_GridTableBase_SetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6369     PyObject 
*resultobj
; 
6370     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6372     wxString 
*arg3 
= 0 ; 
6373     bool temp3 
= False 
; 
6374     PyObject 
* obj0 
= 0 ; 
6375     PyObject 
* obj1 
= 0 ; 
6376     PyObject 
* obj2 
= 0 ; 
6378         (char *) "self",(char *) "col",(char *) "value", NULL 
 
6381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6382     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6383     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6384     arg2 
= (int) SWIG_AsInt(obj1
);  
6385     if (PyErr_Occurred()) SWIG_fail
; 
6387         arg3 
= wxString_in_helper(obj2
); 
6388         if (arg3 
== NULL
) SWIG_fail
; 
6392         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6393         (arg1
)->SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
6395         wxPyEndAllowThreads(__tstate
); 
6396         if (PyErr_Occurred()) SWIG_fail
; 
6398     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6413 static PyObject 
*_wrap_GridTableBase_CanHaveAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6414     PyObject 
*resultobj
; 
6415     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6417     PyObject 
* obj0 
= 0 ; 
6419         (char *) "self", NULL 
 
6422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
; 
6423     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6424     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6426         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6427         result 
= (bool)(arg1
)->CanHaveAttributes(); 
6429         wxPyEndAllowThreads(__tstate
); 
6430         if (PyErr_Occurred()) SWIG_fail
; 
6433         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6441 static PyObject 
*_wrap_GridTableBase_GetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6442     PyObject 
*resultobj
; 
6443     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6447     wxGridCellAttr 
*result
; 
6448     PyObject 
* obj0 
= 0 ; 
6449     PyObject 
* obj1 
= 0 ; 
6450     PyObject 
* obj2 
= 0 ; 
6451     PyObject 
* obj3 
= 0 ; 
6453         (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
6456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6457     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6458     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6459     arg2 
= (int) SWIG_AsInt(obj1
);  
6460     if (PyErr_Occurred()) SWIG_fail
; 
6461     arg3 
= (int) SWIG_AsInt(obj2
);  
6462     if (PyErr_Occurred()) SWIG_fail
; 
6463     arg4 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);  
6464     if (PyErr_Occurred()) SWIG_fail
; 
6466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6467         result 
= (wxGridCellAttr 
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind 
)arg4
); 
6469         wxPyEndAllowThreads(__tstate
); 
6470         if (PyErr_Occurred()) SWIG_fail
; 
6473         resultobj 
= wxPyMake_wxGridCellAttr(result
, 0);  
6481 static PyObject 
*_wrap_GridTableBase_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6482     PyObject 
*resultobj
; 
6483     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6484     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
6487     PyObject 
* obj0 
= 0 ; 
6488     PyObject 
* obj1 
= 0 ; 
6489     PyObject 
* obj2 
= 0 ; 
6490     PyObject 
* obj3 
= 0 ; 
6492         (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
6495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6496     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6497     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6498     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
6499     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6500     arg3 
= (int) SWIG_AsInt(obj2
);  
6501     if (PyErr_Occurred()) SWIG_fail
; 
6502     arg4 
= (int) SWIG_AsInt(obj3
);  
6503     if (PyErr_Occurred()) SWIG_fail
; 
6505         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6506         (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
6508         wxPyEndAllowThreads(__tstate
); 
6509         if (PyErr_Occurred()) SWIG_fail
; 
6511     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6518 static PyObject 
*_wrap_GridTableBase_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6519     PyObject 
*resultobj
; 
6520     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6521     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
6523     PyObject 
* obj0 
= 0 ; 
6524     PyObject 
* obj1 
= 0 ; 
6525     PyObject 
* obj2 
= 0 ; 
6527         (char *) "self",(char *) "attr",(char *) "row", NULL 
 
6530     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6531     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6532     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6533     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
6534     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6535     arg3 
= (int) SWIG_AsInt(obj2
);  
6536     if (PyErr_Occurred()) SWIG_fail
; 
6538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6539         (arg1
)->SetRowAttr(arg2
,arg3
); 
6541         wxPyEndAllowThreads(__tstate
); 
6542         if (PyErr_Occurred()) SWIG_fail
; 
6544     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6551 static PyObject 
*_wrap_GridTableBase_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6552     PyObject 
*resultobj
; 
6553     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
6554     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
6556     PyObject 
* obj0 
= 0 ; 
6557     PyObject 
* obj1 
= 0 ; 
6558     PyObject 
* obj2 
= 0 ; 
6560         (char *) "self",(char *) "attr",(char *) "col", NULL 
 
6563     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6564     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
6565     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6566     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
6567     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6568     arg3 
= (int) SWIG_AsInt(obj2
);  
6569     if (PyErr_Occurred()) SWIG_fail
; 
6571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6572         (arg1
)->SetColAttr(arg2
,arg3
); 
6574         wxPyEndAllowThreads(__tstate
); 
6575         if (PyErr_Occurred()) SWIG_fail
; 
6577     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6584 static PyObject 
* GridTableBase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6586     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6587     SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
); 
6589     return Py_BuildValue((char *)""); 
6591 static PyObject 
*_wrap_new_PyGridTableBase(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6592     PyObject 
*resultobj
; 
6593     wxPyGridTableBase 
*result
; 
6598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
; 
6600         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6601         result 
= (wxPyGridTableBase 
*)new wxPyGridTableBase(); 
6603         wxPyEndAllowThreads(__tstate
); 
6604         if (PyErr_Occurred()) SWIG_fail
; 
6606     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1); 
6613 static PyObject 
*_wrap_PyGridTableBase__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6614     PyObject 
*resultobj
; 
6615     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6616     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6617     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6618     PyObject 
* obj0 
= 0 ; 
6619     PyObject 
* obj1 
= 0 ; 
6620     PyObject 
* obj2 
= 0 ; 
6622         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
6625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6626     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6627     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6632         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
6634         wxPyEndAllowThreads(__tstate
); 
6635         if (PyErr_Occurred()) SWIG_fail
; 
6637     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6644 static PyObject 
*_wrap_PyGridTableBase_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6645     PyObject 
*resultobj
; 
6646     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6647     PyObject 
* obj0 
= 0 ; 
6649         (char *) "self", NULL 
 
6652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
; 
6653     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6654     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6656         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6657         wxPyGridTableBase_Destroy(arg1
); 
6659         wxPyEndAllowThreads(__tstate
); 
6660         if (PyErr_Occurred()) SWIG_fail
; 
6662     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6669 static PyObject 
*_wrap_PyGridTableBase_base_GetTypeName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6670     PyObject 
*resultobj
; 
6671     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6675     PyObject 
* obj0 
= 0 ; 
6676     PyObject 
* obj1 
= 0 ; 
6677     PyObject 
* obj2 
= 0 ; 
6679         (char *) "self",(char *) "row",(char *) "col", NULL 
 
6682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6683     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6684     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6685     arg2 
= (int) SWIG_AsInt(obj1
);  
6686     if (PyErr_Occurred()) SWIG_fail
; 
6687     arg3 
= (int) SWIG_AsInt(obj2
);  
6688     if (PyErr_Occurred()) SWIG_fail
; 
6690         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6691         result 
= (arg1
)->base_GetTypeName(arg2
,arg3
); 
6693         wxPyEndAllowThreads(__tstate
); 
6694         if (PyErr_Occurred()) SWIG_fail
; 
6698         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6700         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6709 static PyObject 
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6710     PyObject 
*resultobj
; 
6711     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6714     wxString 
*arg4 
= 0 ; 
6716     bool temp4 
= False 
; 
6717     PyObject 
* obj0 
= 0 ; 
6718     PyObject 
* obj1 
= 0 ; 
6719     PyObject 
* obj2 
= 0 ; 
6720     PyObject 
* obj3 
= 0 ; 
6722         (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
6725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6726     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6727     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6728     arg2 
= (int) SWIG_AsInt(obj1
);  
6729     if (PyErr_Occurred()) SWIG_fail
; 
6730     arg3 
= (int) SWIG_AsInt(obj2
);  
6731     if (PyErr_Occurred()) SWIG_fail
; 
6733         arg4 
= wxString_in_helper(obj3
); 
6734         if (arg4 
== NULL
) SWIG_fail
; 
6738         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6739         result 
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
6741         wxPyEndAllowThreads(__tstate
); 
6742         if (PyErr_Occurred()) SWIG_fail
; 
6745         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6761 static PyObject 
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6762     PyObject 
*resultobj
; 
6763     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6766     wxString 
*arg4 
= 0 ; 
6768     bool temp4 
= False 
; 
6769     PyObject 
* obj0 
= 0 ; 
6770     PyObject 
* obj1 
= 0 ; 
6771     PyObject 
* obj2 
= 0 ; 
6772     PyObject 
* obj3 
= 0 ; 
6774         (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL 
 
6777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6778     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6779     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6780     arg2 
= (int) SWIG_AsInt(obj1
);  
6781     if (PyErr_Occurred()) SWIG_fail
; 
6782     arg3 
= (int) SWIG_AsInt(obj2
);  
6783     if (PyErr_Occurred()) SWIG_fail
; 
6785         arg4 
= wxString_in_helper(obj3
); 
6786         if (arg4 
== NULL
) SWIG_fail
; 
6790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6791         result 
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString 
const &)*arg4
); 
6793         wxPyEndAllowThreads(__tstate
); 
6794         if (PyErr_Occurred()) SWIG_fail
; 
6797         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6813 static PyObject 
*_wrap_PyGridTableBase_base_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6814     PyObject 
*resultobj
; 
6815     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6816     PyObject 
* obj0 
= 0 ; 
6818         (char *) "self", NULL 
 
6821     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
; 
6822     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6823     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6825         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6826         (arg1
)->base_Clear(); 
6828         wxPyEndAllowThreads(__tstate
); 
6829         if (PyErr_Occurred()) SWIG_fail
; 
6831     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6838 static PyObject 
*_wrap_PyGridTableBase_base_InsertRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6839     PyObject 
*resultobj
; 
6840     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6841     size_t arg2 
= (size_t) 0 ; 
6842     size_t arg3 
= (size_t) 1 ; 
6844     PyObject 
* obj0 
= 0 ; 
6845     PyObject 
* obj1 
= 0 ; 
6846     PyObject 
* obj2 
= 0 ; 
6848         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
6851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6852     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6853     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6855         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6856         if (PyErr_Occurred()) SWIG_fail
; 
6859         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6860         if (PyErr_Occurred()) SWIG_fail
; 
6863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6864         result 
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
); 
6866         wxPyEndAllowThreads(__tstate
); 
6867         if (PyErr_Occurred()) SWIG_fail
; 
6870         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6878 static PyObject 
*_wrap_PyGridTableBase_base_AppendRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6879     PyObject 
*resultobj
; 
6880     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6881     size_t arg2 
= (size_t) 1 ; 
6883     PyObject 
* obj0 
= 0 ; 
6884     PyObject 
* obj1 
= 0 ; 
6886         (char *) "self",(char *) "numRows", NULL 
 
6889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
6890     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6891     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6893         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6894         if (PyErr_Occurred()) SWIG_fail
; 
6897         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6898         result 
= (bool)(arg1
)->base_AppendRows(arg2
); 
6900         wxPyEndAllowThreads(__tstate
); 
6901         if (PyErr_Occurred()) SWIG_fail
; 
6904         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6912 static PyObject 
*_wrap_PyGridTableBase_base_DeleteRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6913     PyObject 
*resultobj
; 
6914     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6915     size_t arg2 
= (size_t) 0 ; 
6916     size_t arg3 
= (size_t) 1 ; 
6918     PyObject 
* obj0 
= 0 ; 
6919     PyObject 
* obj1 
= 0 ; 
6920     PyObject 
* obj2 
= 0 ; 
6922         (char *) "self",(char *) "pos",(char *) "numRows", NULL 
 
6925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6926     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6927     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6929         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6930         if (PyErr_Occurred()) SWIG_fail
; 
6933         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6934         if (PyErr_Occurred()) SWIG_fail
; 
6937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6938         result 
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
); 
6940         wxPyEndAllowThreads(__tstate
); 
6941         if (PyErr_Occurred()) SWIG_fail
; 
6944         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6952 static PyObject 
*_wrap_PyGridTableBase_base_InsertCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6953     PyObject 
*resultobj
; 
6954     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6955     size_t arg2 
= (size_t) 0 ; 
6956     size_t arg3 
= (size_t) 1 ; 
6958     PyObject 
* obj0 
= 0 ; 
6959     PyObject 
* obj1 
= 0 ; 
6960     PyObject 
* obj2 
= 0 ; 
6962         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
6965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6966     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
6967     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6969         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6970         if (PyErr_Occurred()) SWIG_fail
; 
6973         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
6974         if (PyErr_Occurred()) SWIG_fail
; 
6977         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6978         result 
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
); 
6980         wxPyEndAllowThreads(__tstate
); 
6981         if (PyErr_Occurred()) SWIG_fail
; 
6984         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6992 static PyObject 
*_wrap_PyGridTableBase_base_AppendCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6993     PyObject 
*resultobj
; 
6994     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
6995     size_t arg2 
= (size_t) 1 ; 
6997     PyObject 
* obj0 
= 0 ; 
6998     PyObject 
* obj1 
= 0 ; 
7000         (char *) "self",(char *) "numCols", NULL 
 
7003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
; 
7004     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7005     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7007         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
7008         if (PyErr_Occurred()) SWIG_fail
; 
7011         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7012         result 
= (bool)(arg1
)->base_AppendCols(arg2
); 
7014         wxPyEndAllowThreads(__tstate
); 
7015         if (PyErr_Occurred()) SWIG_fail
; 
7018         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7026 static PyObject 
*_wrap_PyGridTableBase_base_DeleteCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7027     PyObject 
*resultobj
; 
7028     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7029     size_t arg2 
= (size_t) 0 ; 
7030     size_t arg3 
= (size_t) 1 ; 
7032     PyObject 
* obj0 
= 0 ; 
7033     PyObject 
* obj1 
= 0 ; 
7034     PyObject 
* obj2 
= 0 ; 
7036         (char *) "self",(char *) "pos",(char *) "numCols", NULL 
 
7039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7040     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7041     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7043         arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
7044         if (PyErr_Occurred()) SWIG_fail
; 
7047         arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
7048         if (PyErr_Occurred()) SWIG_fail
; 
7051         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7052         result 
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
); 
7054         wxPyEndAllowThreads(__tstate
); 
7055         if (PyErr_Occurred()) SWIG_fail
; 
7058         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7066 static PyObject 
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7067     PyObject 
*resultobj
; 
7068     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7071     PyObject 
* obj0 
= 0 ; 
7072     PyObject 
* obj1 
= 0 ; 
7074         (char *) "self",(char *) "row", NULL 
 
7077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
7078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7080     arg2 
= (int) SWIG_AsInt(obj1
);  
7081     if (PyErr_Occurred()) SWIG_fail
; 
7083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7084         result 
= (arg1
)->base_GetRowLabelValue(arg2
); 
7086         wxPyEndAllowThreads(__tstate
); 
7087         if (PyErr_Occurred()) SWIG_fail
; 
7091         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7093         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7102 static PyObject 
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7103     PyObject 
*resultobj
; 
7104     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7107     PyObject 
* obj0 
= 0 ; 
7108     PyObject 
* obj1 
= 0 ; 
7110         (char *) "self",(char *) "col", NULL 
 
7113     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
7114     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7115     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7116     arg2 
= (int) SWIG_AsInt(obj1
);  
7117     if (PyErr_Occurred()) SWIG_fail
; 
7119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7120         result 
= (arg1
)->base_GetColLabelValue(arg2
); 
7122         wxPyEndAllowThreads(__tstate
); 
7123         if (PyErr_Occurred()) SWIG_fail
; 
7127         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7129         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7138 static PyObject 
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7139     PyObject 
*resultobj
; 
7140     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7142     wxString 
*arg3 
= 0 ; 
7143     bool temp3 
= False 
; 
7144     PyObject 
* obj0 
= 0 ; 
7145     PyObject 
* obj1 
= 0 ; 
7146     PyObject 
* obj2 
= 0 ; 
7148         (char *) "self",(char *) "row",(char *) "value", NULL 
 
7151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7152     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7154     arg2 
= (int) SWIG_AsInt(obj1
);  
7155     if (PyErr_Occurred()) SWIG_fail
; 
7157         arg3 
= wxString_in_helper(obj2
); 
7158         if (arg3 
== NULL
) SWIG_fail
; 
7162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7163         (arg1
)->base_SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
7165         wxPyEndAllowThreads(__tstate
); 
7166         if (PyErr_Occurred()) SWIG_fail
; 
7168     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7183 static PyObject 
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7184     PyObject 
*resultobj
; 
7185     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7187     wxString 
*arg3 
= 0 ; 
7188     bool temp3 
= False 
; 
7189     PyObject 
* obj0 
= 0 ; 
7190     PyObject 
* obj1 
= 0 ; 
7191     PyObject 
* obj2 
= 0 ; 
7193         (char *) "self",(char *) "col",(char *) "value", NULL 
 
7196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7197     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7198     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7199     arg2 
= (int) SWIG_AsInt(obj1
);  
7200     if (PyErr_Occurred()) SWIG_fail
; 
7202         arg3 
= wxString_in_helper(obj2
); 
7203         if (arg3 
== NULL
) SWIG_fail
; 
7207         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7208         (arg1
)->base_SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
7210         wxPyEndAllowThreads(__tstate
); 
7211         if (PyErr_Occurred()) SWIG_fail
; 
7213     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7228 static PyObject 
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7229     PyObject 
*resultobj
; 
7230     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7232     PyObject 
* obj0 
= 0 ; 
7234         (char *) "self", NULL 
 
7237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
; 
7238     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7239     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7242         result 
= (bool)(arg1
)->base_CanHaveAttributes(); 
7244         wxPyEndAllowThreads(__tstate
); 
7245         if (PyErr_Occurred()) SWIG_fail
; 
7248         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7256 static PyObject 
*_wrap_PyGridTableBase_base_GetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7257     PyObject 
*resultobj
; 
7258     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7262     wxGridCellAttr 
*result
; 
7263     PyObject 
* obj0 
= 0 ; 
7264     PyObject 
* obj1 
= 0 ; 
7265     PyObject 
* obj2 
= 0 ; 
7266     PyObject 
* obj3 
= 0 ; 
7268         (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL 
 
7271     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7272     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7273     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7274     arg2 
= (int) SWIG_AsInt(obj1
);  
7275     if (PyErr_Occurred()) SWIG_fail
; 
7276     arg3 
= (int) SWIG_AsInt(obj2
);  
7277     if (PyErr_Occurred()) SWIG_fail
; 
7278     arg4 
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);  
7279     if (PyErr_Occurred()) SWIG_fail
; 
7281         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7282         result 
= (wxGridCellAttr 
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind 
)arg4
); 
7284         wxPyEndAllowThreads(__tstate
); 
7285         if (PyErr_Occurred()) SWIG_fail
; 
7288         resultobj 
= wxPyMake_wxGridCellAttr(result
, 0);  
7296 static PyObject 
*_wrap_PyGridTableBase_base_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7297     PyObject 
*resultobj
; 
7298     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7299     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7302     PyObject 
* obj0 
= 0 ; 
7303     PyObject 
* obj1 
= 0 ; 
7304     PyObject 
* obj2 
= 0 ; 
7305     PyObject 
* obj3 
= 0 ; 
7307         (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL 
 
7310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7311     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7312     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7313     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
7314     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7315     arg3 
= (int) SWIG_AsInt(obj2
);  
7316     if (PyErr_Occurred()) SWIG_fail
; 
7317     arg4 
= (int) SWIG_AsInt(obj3
);  
7318     if (PyErr_Occurred()) SWIG_fail
; 
7320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7321         (arg1
)->base_SetAttr(arg2
,arg3
,arg4
); 
7323         wxPyEndAllowThreads(__tstate
); 
7324         if (PyErr_Occurred()) SWIG_fail
; 
7326     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7333 static PyObject 
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7334     PyObject 
*resultobj
; 
7335     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7336     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7338     PyObject 
* obj0 
= 0 ; 
7339     PyObject 
* obj1 
= 0 ; 
7340     PyObject 
* obj2 
= 0 ; 
7342         (char *) "self",(char *) "attr",(char *) "row", NULL 
 
7345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7346     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7347     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7348     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
7349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7350     arg3 
= (int) SWIG_AsInt(obj2
);  
7351     if (PyErr_Occurred()) SWIG_fail
; 
7353         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7354         (arg1
)->base_SetRowAttr(arg2
,arg3
); 
7356         wxPyEndAllowThreads(__tstate
); 
7357         if (PyErr_Occurred()) SWIG_fail
; 
7359     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7366 static PyObject 
*_wrap_PyGridTableBase_base_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7367     PyObject 
*resultobj
; 
7368     wxPyGridTableBase 
*arg1 
= (wxPyGridTableBase 
*) 0 ; 
7369     wxGridCellAttr 
*arg2 
= (wxGridCellAttr 
*) 0 ; 
7371     PyObject 
* obj0 
= 0 ; 
7372     PyObject 
* obj1 
= 0 ; 
7373     PyObject 
* obj2 
= 0 ; 
7375         (char *) "self",(char *) "attr",(char *) "col", NULL 
 
7378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7379     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
, 
7380     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7381     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
, 
7382     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7383     arg3 
= (int) SWIG_AsInt(obj2
);  
7384     if (PyErr_Occurred()) SWIG_fail
; 
7386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7387         (arg1
)->base_SetColAttr(arg2
,arg3
); 
7389         wxPyEndAllowThreads(__tstate
); 
7390         if (PyErr_Occurred()) SWIG_fail
; 
7392     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7399 static PyObject 
* PyGridTableBase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7401     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7402     SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
); 
7404     return Py_BuildValue((char *)""); 
7406 static PyObject 
*_wrap_new_GridStringTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7407     PyObject 
*resultobj
; 
7408     int arg1 
= (int) 0 ; 
7409     int arg2 
= (int) 0 ; 
7410     wxGridStringTable 
*result
; 
7411     PyObject 
* obj0 
= 0 ; 
7412     PyObject 
* obj1 
= 0 ; 
7414         (char *) "numRows",(char *) "numCols", NULL 
 
7417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
; 
7419         arg1 
= (int) SWIG_AsInt(obj0
);  
7420         if (PyErr_Occurred()) SWIG_fail
; 
7423         arg2 
= (int) SWIG_AsInt(obj1
);  
7424         if (PyErr_Occurred()) SWIG_fail
; 
7427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7428         result 
= (wxGridStringTable 
*)new wxGridStringTable(arg1
,arg2
); 
7430         wxPyEndAllowThreads(__tstate
); 
7431         if (PyErr_Occurred()) SWIG_fail
; 
7433     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1); 
7440 static PyObject 
* GridStringTable_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7442     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7443     SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
); 
7445     return Py_BuildValue((char *)""); 
7447 static PyObject 
*_wrap_new_GridTableMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7448     PyObject 
*resultobj
; 
7449     wxGridTableBase 
*arg1 
= (wxGridTableBase 
*) 0 ; 
7451     int arg3 
= (int) -1 ; 
7452     int arg4 
= (int) -1 ; 
7453     wxGridTableMessage 
*result
; 
7454     PyObject 
* obj0 
= 0 ; 
7455     PyObject 
* obj1 
= 0 ; 
7456     PyObject 
* obj2 
= 0 ; 
7457     PyObject 
* obj3 
= 0 ; 
7459         (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL 
 
7462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7463     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
, 
7464     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7465     arg2 
= (int) SWIG_AsInt(obj1
);  
7466     if (PyErr_Occurred()) SWIG_fail
; 
7468         arg3 
= (int) SWIG_AsInt(obj2
);  
7469         if (PyErr_Occurred()) SWIG_fail
; 
7472         arg4 
= (int) SWIG_AsInt(obj3
);  
7473         if (PyErr_Occurred()) SWIG_fail
; 
7476         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7477         result 
= (wxGridTableMessage 
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
); 
7479         wxPyEndAllowThreads(__tstate
); 
7480         if (PyErr_Occurred()) SWIG_fail
; 
7482     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1); 
7489 static PyObject 
*_wrap_delete_GridTableMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7490     PyObject 
*resultobj
; 
7491     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7492     PyObject 
* obj0 
= 0 ; 
7494         (char *) "self", NULL 
 
7497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
; 
7498     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7499     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7504         wxPyEndAllowThreads(__tstate
); 
7505         if (PyErr_Occurred()) SWIG_fail
; 
7507     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7514 static PyObject 
*_wrap_GridTableMessage_SetTableObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7515     PyObject 
*resultobj
; 
7516     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7517     wxGridTableBase 
*arg2 
= (wxGridTableBase 
*) 0 ; 
7518     PyObject 
* obj0 
= 0 ; 
7519     PyObject 
* obj1 
= 0 ; 
7521         (char *) "self",(char *) "table", NULL 
 
7524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
7525     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7527     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
, 
7528     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7530         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7531         (arg1
)->SetTableObject(arg2
); 
7533         wxPyEndAllowThreads(__tstate
); 
7534         if (PyErr_Occurred()) SWIG_fail
; 
7536     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7543 static PyObject 
*_wrap_GridTableMessage_GetTableObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7544     PyObject 
*resultobj
; 
7545     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7546     wxGridTableBase 
*result
; 
7547     PyObject 
* obj0 
= 0 ; 
7549         (char *) "self", NULL 
 
7552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
; 
7553     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7554     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7557         result 
= (wxGridTableBase 
*)((wxGridTableMessage 
const *)arg1
)->GetTableObject(); 
7559         wxPyEndAllowThreads(__tstate
); 
7560         if (PyErr_Occurred()) SWIG_fail
; 
7563         resultobj 
= wxPyMake_wxGridTableBase(result
, 0);  
7571 static PyObject 
*_wrap_GridTableMessage_SetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7572     PyObject 
*resultobj
; 
7573     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7575     PyObject 
* obj0 
= 0 ; 
7576     PyObject 
* obj1 
= 0 ; 
7578         (char *) "self",(char *) "id", NULL 
 
7581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
7582     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7583     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7584     arg2 
= (int) SWIG_AsInt(obj1
);  
7585     if (PyErr_Occurred()) SWIG_fail
; 
7587         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7588         (arg1
)->SetId(arg2
); 
7590         wxPyEndAllowThreads(__tstate
); 
7591         if (PyErr_Occurred()) SWIG_fail
; 
7593     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7600 static PyObject 
*_wrap_GridTableMessage_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7601     PyObject 
*resultobj
; 
7602     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7604     PyObject 
* obj0 
= 0 ; 
7606         (char *) "self", NULL 
 
7609     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
; 
7610     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7611     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7614         result 
= (int)(arg1
)->GetId(); 
7616         wxPyEndAllowThreads(__tstate
); 
7617         if (PyErr_Occurred()) SWIG_fail
; 
7619     resultobj 
= SWIG_FromInt((int)result
); 
7626 static PyObject 
*_wrap_GridTableMessage_SetCommandInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7627     PyObject 
*resultobj
; 
7628     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7630     PyObject 
* obj0 
= 0 ; 
7631     PyObject 
* obj1 
= 0 ; 
7633         (char *) "self",(char *) "comInt1", NULL 
 
7636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
; 
7637     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7638     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7639     arg2 
= (int) SWIG_AsInt(obj1
);  
7640     if (PyErr_Occurred()) SWIG_fail
; 
7642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7643         (arg1
)->SetCommandInt(arg2
); 
7645         wxPyEndAllowThreads(__tstate
); 
7646         if (PyErr_Occurred()) SWIG_fail
; 
7648     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7655 static PyObject 
*_wrap_GridTableMessage_GetCommandInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7656     PyObject 
*resultobj
; 
7657     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7659     PyObject 
* obj0 
= 0 ; 
7661         (char *) "self", NULL 
 
7664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
; 
7665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7669         result 
= (int)(arg1
)->GetCommandInt(); 
7671         wxPyEndAllowThreads(__tstate
); 
7672         if (PyErr_Occurred()) SWIG_fail
; 
7674     resultobj 
= SWIG_FromInt((int)result
); 
7681 static PyObject 
*_wrap_GridTableMessage_SetCommandInt2(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7682     PyObject 
*resultobj
; 
7683     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7685     PyObject 
* obj0 
= 0 ; 
7686     PyObject 
* obj1 
= 0 ; 
7688         (char *) "self",(char *) "comInt2", NULL 
 
7691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
; 
7692     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7693     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7694     arg2 
= (int) SWIG_AsInt(obj1
);  
7695     if (PyErr_Occurred()) SWIG_fail
; 
7697         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7698         (arg1
)->SetCommandInt2(arg2
); 
7700         wxPyEndAllowThreads(__tstate
); 
7701         if (PyErr_Occurred()) SWIG_fail
; 
7703     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7710 static PyObject 
*_wrap_GridTableMessage_GetCommandInt2(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7711     PyObject 
*resultobj
; 
7712     wxGridTableMessage 
*arg1 
= (wxGridTableMessage 
*) 0 ; 
7714     PyObject 
* obj0 
= 0 ; 
7716         (char *) "self", NULL 
 
7719     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
; 
7720     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
, 
7721     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7723         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7724         result 
= (int)(arg1
)->GetCommandInt2(); 
7726         wxPyEndAllowThreads(__tstate
); 
7727         if (PyErr_Occurred()) SWIG_fail
; 
7729     resultobj 
= SWIG_FromInt((int)result
); 
7736 static PyObject 
* GridTableMessage_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7738     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7739     SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
); 
7741     return Py_BuildValue((char *)""); 
7743 static PyObject 
*_wrap_new_GridCellCoords(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7744     PyObject 
*resultobj
; 
7745     int arg1 
= (int) -1 ; 
7746     int arg2 
= (int) -1 ; 
7747     wxGridCellCoords 
*result
; 
7748     PyObject 
* obj0 
= 0 ; 
7749     PyObject 
* obj1 
= 0 ; 
7751         (char *) "r",(char *) "c", NULL 
 
7754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
; 
7756         arg1 
= (int) SWIG_AsInt(obj0
);  
7757         if (PyErr_Occurred()) SWIG_fail
; 
7760         arg2 
= (int) SWIG_AsInt(obj1
);  
7761         if (PyErr_Occurred()) SWIG_fail
; 
7764         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7765         result 
= (wxGridCellCoords 
*)new wxGridCellCoords(arg1
,arg2
); 
7767         wxPyEndAllowThreads(__tstate
); 
7768         if (PyErr_Occurred()) SWIG_fail
; 
7770     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1); 
7777 static PyObject 
*_wrap_delete_GridCellCoords(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7778     PyObject 
*resultobj
; 
7779     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7780     PyObject 
* obj0 
= 0 ; 
7782         (char *) "self", NULL 
 
7785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
; 
7786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7789         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7792         wxPyEndAllowThreads(__tstate
); 
7793         if (PyErr_Occurred()) SWIG_fail
; 
7795     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7802 static PyObject 
*_wrap_GridCellCoords_GetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7803     PyObject 
*resultobj
; 
7804     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7806     PyObject 
* obj0 
= 0 ; 
7808         (char *) "self", NULL 
 
7811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
; 
7812     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7816         result 
= (int)((wxGridCellCoords 
const *)arg1
)->GetRow(); 
7818         wxPyEndAllowThreads(__tstate
); 
7819         if (PyErr_Occurred()) SWIG_fail
; 
7821     resultobj 
= SWIG_FromInt((int)result
); 
7828 static PyObject 
*_wrap_GridCellCoords_SetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7829     PyObject 
*resultobj
; 
7830     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7832     PyObject 
* obj0 
= 0 ; 
7833     PyObject 
* obj1 
= 0 ; 
7835         (char *) "self",(char *) "n", NULL 
 
7838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
7839     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7840     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7841     arg2 
= (int) SWIG_AsInt(obj1
);  
7842     if (PyErr_Occurred()) SWIG_fail
; 
7844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7845         (arg1
)->SetRow(arg2
); 
7847         wxPyEndAllowThreads(__tstate
); 
7848         if (PyErr_Occurred()) SWIG_fail
; 
7850     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7857 static PyObject 
*_wrap_GridCellCoords_GetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7858     PyObject 
*resultobj
; 
7859     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7861     PyObject 
* obj0 
= 0 ; 
7863         (char *) "self", NULL 
 
7866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
; 
7867     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7868     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7870         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7871         result 
= (int)((wxGridCellCoords 
const *)arg1
)->GetCol(); 
7873         wxPyEndAllowThreads(__tstate
); 
7874         if (PyErr_Occurred()) SWIG_fail
; 
7876     resultobj 
= SWIG_FromInt((int)result
); 
7883 static PyObject 
*_wrap_GridCellCoords_SetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7884     PyObject 
*resultobj
; 
7885     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7887     PyObject 
* obj0 
= 0 ; 
7888     PyObject 
* obj1 
= 0 ; 
7890         (char *) "self",(char *) "n", NULL 
 
7893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
7894     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7895     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7896     arg2 
= (int) SWIG_AsInt(obj1
);  
7897     if (PyErr_Occurred()) SWIG_fail
; 
7899         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7900         (arg1
)->SetCol(arg2
); 
7902         wxPyEndAllowThreads(__tstate
); 
7903         if (PyErr_Occurred()) SWIG_fail
; 
7905     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7912 static PyObject 
*_wrap_GridCellCoords_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7913     PyObject 
*resultobj
; 
7914     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7917     PyObject 
* obj0 
= 0 ; 
7918     PyObject 
* obj1 
= 0 ; 
7919     PyObject 
* obj2 
= 0 ; 
7921         (char *) "self",(char *) "row",(char *) "col", NULL 
 
7924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7925     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7926     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7927     arg2 
= (int) SWIG_AsInt(obj1
);  
7928     if (PyErr_Occurred()) SWIG_fail
; 
7929     arg3 
= (int) SWIG_AsInt(obj2
);  
7930     if (PyErr_Occurred()) SWIG_fail
; 
7932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7933         (arg1
)->Set(arg2
,arg3
); 
7935         wxPyEndAllowThreads(__tstate
); 
7936         if (PyErr_Occurred()) SWIG_fail
; 
7938     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7945 static PyObject 
*_wrap_GridCellCoords___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7946     PyObject 
*resultobj
; 
7947     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7948     wxGridCellCoords 
*arg2 
= 0 ; 
7950     wxGridCellCoords temp2 
; 
7951     PyObject 
* obj0 
= 0 ; 
7952     PyObject 
* obj1 
= 0 ; 
7954         (char *) "self",(char *) "other", NULL 
 
7957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7958     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7962         if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
7965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7966         result 
= (bool)((wxGridCellCoords 
const *)arg1
)->operator ==((wxGridCellCoords 
const &)*arg2
); 
7968         wxPyEndAllowThreads(__tstate
); 
7969         if (PyErr_Occurred()) SWIG_fail
; 
7972         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7980 static PyObject 
*_wrap_GridCellCoords___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7981     PyObject 
*resultobj
; 
7982     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
7983     wxGridCellCoords 
*arg2 
= 0 ; 
7985     wxGridCellCoords temp2 
; 
7986     PyObject 
* obj0 
= 0 ; 
7987     PyObject 
* obj1 
= 0 ; 
7989         (char *) "self",(char *) "other", NULL 
 
7992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7993     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
7994     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7997         if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
8000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8001         result 
= (bool)((wxGridCellCoords 
const *)arg1
)->operator !=((wxGridCellCoords 
const &)*arg2
); 
8003         wxPyEndAllowThreads(__tstate
); 
8004         if (PyErr_Occurred()) SWIG_fail
; 
8007         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8015 static PyObject 
*_wrap_GridCellCoords_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8016     PyObject 
*resultobj
; 
8017     wxGridCellCoords 
*arg1 
= (wxGridCellCoords 
*) 0 ; 
8019     PyObject 
* obj0 
= 0 ; 
8021         (char *) "self", NULL 
 
8024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
; 
8025     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
, 
8026     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8029         result 
= (PyObject 
*)wxGridCellCoords_Get(arg1
); 
8031         wxPyEndAllowThreads(__tstate
); 
8032         if (PyErr_Occurred()) SWIG_fail
; 
8041 static PyObject 
* GridCellCoords_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8043     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8044     SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
); 
8046     return Py_BuildValue((char *)""); 
8048 static PyObject 
*_wrap_new_Grid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8049     PyObject 
*resultobj
; 
8050     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
8051     int arg2 
= (int) -1 ; 
8052     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
8053     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
8054     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
8055     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
8056     long arg5 
= (long) wxWANTS_CHARS 
; 
8057     wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
8058     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
8062     bool temp6 
= False 
; 
8063     PyObject 
* obj0 
= 0 ; 
8064     PyObject 
* obj1 
= 0 ; 
8065     PyObject 
* obj2 
= 0 ; 
8066     PyObject 
* obj3 
= 0 ; 
8067     PyObject 
* obj4 
= 0 ; 
8068     PyObject 
* obj5 
= 0 ; 
8070         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
8073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
8074     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
8075     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8077         arg2 
= (int) SWIG_AsInt(obj1
);  
8078         if (PyErr_Occurred()) SWIG_fail
; 
8083             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
8089             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
8093         arg5 
= (long) SWIG_AsLong(obj4
);  
8094         if (PyErr_Occurred()) SWIG_fail
; 
8098             arg6 
= wxString_in_helper(obj5
); 
8099             if (arg6 
== NULL
) SWIG_fail
; 
8104         if (!wxPyCheckForApp()) SWIG_fail
; 
8105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8106         result 
= (wxGrid 
*)new wxGrid(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
8108         wxPyEndAllowThreads(__tstate
); 
8109         if (PyErr_Occurred()) SWIG_fail
; 
8112         resultobj 
= wxPyMake_wxObject(result
, 1);  
8128 static PyObject 
*_wrap_new_PreGrid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8129     PyObject 
*resultobj
; 
8135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
; 
8137         if (!wxPyCheckForApp()) SWIG_fail
; 
8138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8139         result 
= (wxGrid 
*)new wxGrid(); 
8141         wxPyEndAllowThreads(__tstate
); 
8142         if (PyErr_Occurred()) SWIG_fail
; 
8145         resultobj 
= wxPyMake_wxObject(result
, 1);  
8153 static PyObject 
*_wrap_Grid_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8154     PyObject 
*resultobj
; 
8155     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8156     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8157     int arg3 
= (int) -1 ; 
8158     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
8159     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
8160     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
8161     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
8162     long arg6 
= (long) wxWANTS_CHARS 
; 
8163     wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
8164     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
8168     bool temp7 
= False 
; 
8169     PyObject 
* obj0 
= 0 ; 
8170     PyObject 
* obj1 
= 0 ; 
8171     PyObject 
* obj2 
= 0 ; 
8172     PyObject 
* obj3 
= 0 ; 
8173     PyObject 
* obj4 
= 0 ; 
8174     PyObject 
* obj5 
= 0 ; 
8175     PyObject 
* obj6 
= 0 ; 
8177         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
8180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
8181     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8182     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8183     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
8184     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8186         arg3 
= (int) SWIG_AsInt(obj2
);  
8187         if (PyErr_Occurred()) SWIG_fail
; 
8192             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
8198             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
8202         arg6 
= (long) SWIG_AsLong(obj5
);  
8203         if (PyErr_Occurred()) SWIG_fail
; 
8207             arg7 
= wxString_in_helper(obj6
); 
8208             if (arg7 
== NULL
) SWIG_fail
; 
8213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8214         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
8216         wxPyEndAllowThreads(__tstate
); 
8217         if (PyErr_Occurred()) SWIG_fail
; 
8220         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8236 static PyObject 
*_wrap_Grid_CreateGrid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8237     PyObject 
*resultobj
; 
8238     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8241     WXGRIDSELECTIONMODES arg4 
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells 
; 
8243     PyObject 
* obj0 
= 0 ; 
8244     PyObject 
* obj1 
= 0 ; 
8245     PyObject 
* obj2 
= 0 ; 
8246     PyObject 
* obj3 
= 0 ; 
8248         (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL 
 
8251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8252     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8253     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8254     arg2 
= (int) SWIG_AsInt(obj1
);  
8255     if (PyErr_Occurred()) SWIG_fail
; 
8256     arg3 
= (int) SWIG_AsInt(obj2
);  
8257     if (PyErr_Occurred()) SWIG_fail
; 
8259         arg4 
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);  
8260         if (PyErr_Occurred()) SWIG_fail
; 
8263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8264         result 
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
); 
8266         wxPyEndAllowThreads(__tstate
); 
8267         if (PyErr_Occurred()) SWIG_fail
; 
8270         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8278 static PyObject 
*_wrap_Grid_SetSelectionMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8279     PyObject 
*resultobj
; 
8280     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8281     WXGRIDSELECTIONMODES arg2 
; 
8282     PyObject 
* obj0 
= 0 ; 
8283     PyObject 
* obj1 
= 0 ; 
8285         (char *) "self",(char *) "selmode", NULL 
 
8288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
8289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8291     arg2 
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj1
);  
8292     if (PyErr_Occurred()) SWIG_fail
; 
8294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8295         (arg1
)->SetSelectionMode(arg2
); 
8297         wxPyEndAllowThreads(__tstate
); 
8298         if (PyErr_Occurred()) SWIG_fail
; 
8300     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8307 static PyObject 
*_wrap_Grid_GetSelectionMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8308     PyObject 
*resultobj
; 
8309     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8310     WXGRIDSELECTIONMODES result
; 
8311     PyObject 
* obj0 
= 0 ; 
8313         (char *) "self", NULL 
 
8316     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
; 
8317     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8318     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8321         result 
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode(); 
8323         wxPyEndAllowThreads(__tstate
); 
8324         if (PyErr_Occurred()) SWIG_fail
; 
8326     resultobj 
= SWIG_FromInt((int)result
); 
8333 static PyObject 
*_wrap_Grid_GetNumberRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8334     PyObject 
*resultobj
; 
8335     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8337     PyObject 
* obj0 
= 0 ; 
8339         (char *) "self", NULL 
 
8342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
; 
8343     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8344     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8347         result 
= (int)(arg1
)->GetNumberRows(); 
8349         wxPyEndAllowThreads(__tstate
); 
8350         if (PyErr_Occurred()) SWIG_fail
; 
8352     resultobj 
= SWIG_FromInt((int)result
); 
8359 static PyObject 
*_wrap_Grid_GetNumberCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8360     PyObject 
*resultobj
; 
8361     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8363     PyObject 
* obj0 
= 0 ; 
8365         (char *) "self", NULL 
 
8368     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
; 
8369     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8370     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8372         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8373         result 
= (int)(arg1
)->GetNumberCols(); 
8375         wxPyEndAllowThreads(__tstate
); 
8376         if (PyErr_Occurred()) SWIG_fail
; 
8378     resultobj 
= SWIG_FromInt((int)result
); 
8385 static PyObject 
*_wrap_Grid_ProcessTableMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8386     PyObject 
*resultobj
; 
8387     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8388     wxGridTableMessage 
*arg2 
= 0 ; 
8390     PyObject 
* obj0 
= 0 ; 
8391     PyObject 
* obj1 
= 0 ; 
8393         (char *) "self","arg2", NULL 
 
8396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
; 
8397     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8398     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8399     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
, 
8400     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8403         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8408         result 
= (bool)(arg1
)->ProcessTableMessage(*arg2
); 
8410         wxPyEndAllowThreads(__tstate
); 
8411         if (PyErr_Occurred()) SWIG_fail
; 
8414         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8422 static PyObject 
*_wrap_Grid_GetTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8423     PyObject 
*resultobj
; 
8424     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8425     wxGridTableBase 
*result
; 
8426     PyObject 
* obj0 
= 0 ; 
8428         (char *) "self", NULL 
 
8431     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
; 
8432     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8433     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8435         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8436         result 
= (wxGridTableBase 
*)((wxGrid 
const *)arg1
)->GetTable(); 
8438         wxPyEndAllowThreads(__tstate
); 
8439         if (PyErr_Occurred()) SWIG_fail
; 
8442         resultobj 
= wxPyMake_wxGridTableBase(result
, 0);  
8450 static PyObject 
*_wrap_Grid_SetTable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8451     PyObject 
*resultobj
; 
8452     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8453     wxGridTableBase 
*arg2 
= (wxGridTableBase 
*) 0 ; 
8454     bool arg3 
= (bool) False 
; 
8455     WXGRIDSELECTIONMODES arg4 
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells 
; 
8457     PyObject 
* obj0 
= 0 ; 
8458     PyObject 
* obj1 
= 0 ; 
8459     PyObject 
* obj2 
= 0 ; 
8460     PyObject 
* obj3 
= 0 ; 
8462         (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL 
 
8465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",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
; 
8468     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
, 
8469     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8471         arg3 
= (bool) SWIG_AsBool(obj2
);  
8472         if (PyErr_Occurred()) SWIG_fail
; 
8475         arg4 
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);  
8476         if (PyErr_Occurred()) SWIG_fail
; 
8479         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8480         result 
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
); 
8482         wxPyEndAllowThreads(__tstate
); 
8483         if (PyErr_Occurred()) SWIG_fail
; 
8486         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8494 static PyObject 
*_wrap_Grid_ClearGrid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8495     PyObject 
*resultobj
; 
8496     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8497     PyObject 
* obj0 
= 0 ; 
8499         (char *) "self", NULL 
 
8502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
; 
8503     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8504     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8507         (arg1
)->ClearGrid(); 
8509         wxPyEndAllowThreads(__tstate
); 
8510         if (PyErr_Occurred()) SWIG_fail
; 
8512     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8519 static PyObject 
*_wrap_Grid_InsertRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8520     PyObject 
*resultobj
; 
8521     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8522     int arg2 
= (int) 0 ; 
8523     int arg3 
= (int) 1 ; 
8524     bool arg4 
= (bool) True 
; 
8526     PyObject 
* obj0 
= 0 ; 
8527     PyObject 
* obj1 
= 0 ; 
8528     PyObject 
* obj2 
= 0 ; 
8529     PyObject 
* obj3 
= 0 ; 
8531         (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL 
 
8534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8535     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8536     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8538         arg2 
= (int) SWIG_AsInt(obj1
);  
8539         if (PyErr_Occurred()) SWIG_fail
; 
8542         arg3 
= (int) SWIG_AsInt(obj2
);  
8543         if (PyErr_Occurred()) SWIG_fail
; 
8546         arg4 
= (bool) SWIG_AsBool(obj3
);  
8547         if (PyErr_Occurred()) SWIG_fail
; 
8550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8551         result 
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
); 
8553         wxPyEndAllowThreads(__tstate
); 
8554         if (PyErr_Occurred()) SWIG_fail
; 
8557         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8565 static PyObject 
*_wrap_Grid_AppendRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8566     PyObject 
*resultobj
; 
8567     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8568     int arg2 
= (int) 1 ; 
8569     bool arg3 
= (bool) True 
; 
8571     PyObject 
* obj0 
= 0 ; 
8572     PyObject 
* obj1 
= 0 ; 
8573     PyObject 
* obj2 
= 0 ; 
8575         (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL 
 
8578     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8579     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8580     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8582         arg2 
= (int) SWIG_AsInt(obj1
);  
8583         if (PyErr_Occurred()) SWIG_fail
; 
8586         arg3 
= (bool) SWIG_AsBool(obj2
);  
8587         if (PyErr_Occurred()) SWIG_fail
; 
8590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8591         result 
= (bool)(arg1
)->AppendRows(arg2
,arg3
); 
8593         wxPyEndAllowThreads(__tstate
); 
8594         if (PyErr_Occurred()) SWIG_fail
; 
8597         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8605 static PyObject 
*_wrap_Grid_DeleteRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8606     PyObject 
*resultobj
; 
8607     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8608     int arg2 
= (int) 0 ; 
8609     int arg3 
= (int) 1 ; 
8610     bool arg4 
= (bool) True 
; 
8612     PyObject 
* obj0 
= 0 ; 
8613     PyObject 
* obj1 
= 0 ; 
8614     PyObject 
* obj2 
= 0 ; 
8615     PyObject 
* obj3 
= 0 ; 
8617         (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL 
 
8620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8621     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8624         arg2 
= (int) SWIG_AsInt(obj1
);  
8625         if (PyErr_Occurred()) SWIG_fail
; 
8628         arg3 
= (int) SWIG_AsInt(obj2
);  
8629         if (PyErr_Occurred()) SWIG_fail
; 
8632         arg4 
= (bool) SWIG_AsBool(obj3
);  
8633         if (PyErr_Occurred()) SWIG_fail
; 
8636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8637         result 
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
); 
8639         wxPyEndAllowThreads(__tstate
); 
8640         if (PyErr_Occurred()) SWIG_fail
; 
8643         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8651 static PyObject 
*_wrap_Grid_InsertCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8652     PyObject 
*resultobj
; 
8653     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8654     int arg2 
= (int) 0 ; 
8655     int arg3 
= (int) 1 ; 
8656     bool arg4 
= (bool) True 
; 
8658     PyObject 
* obj0 
= 0 ; 
8659     PyObject 
* obj1 
= 0 ; 
8660     PyObject 
* obj2 
= 0 ; 
8661     PyObject 
* obj3 
= 0 ; 
8663         (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL 
 
8666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8667     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8668     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8670         arg2 
= (int) SWIG_AsInt(obj1
);  
8671         if (PyErr_Occurred()) SWIG_fail
; 
8674         arg3 
= (int) SWIG_AsInt(obj2
);  
8675         if (PyErr_Occurred()) SWIG_fail
; 
8678         arg4 
= (bool) SWIG_AsBool(obj3
);  
8679         if (PyErr_Occurred()) SWIG_fail
; 
8682         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8683         result 
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
); 
8685         wxPyEndAllowThreads(__tstate
); 
8686         if (PyErr_Occurred()) SWIG_fail
; 
8689         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8697 static PyObject 
*_wrap_Grid_AppendCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8698     PyObject 
*resultobj
; 
8699     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8700     int arg2 
= (int) 1 ; 
8701     bool arg3 
= (bool) True 
; 
8703     PyObject 
* obj0 
= 0 ; 
8704     PyObject 
* obj1 
= 0 ; 
8705     PyObject 
* obj2 
= 0 ; 
8707         (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL 
 
8710     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8711     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8712     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8714         arg2 
= (int) SWIG_AsInt(obj1
);  
8715         if (PyErr_Occurred()) SWIG_fail
; 
8718         arg3 
= (bool) SWIG_AsBool(obj2
);  
8719         if (PyErr_Occurred()) SWIG_fail
; 
8722         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8723         result 
= (bool)(arg1
)->AppendCols(arg2
,arg3
); 
8725         wxPyEndAllowThreads(__tstate
); 
8726         if (PyErr_Occurred()) SWIG_fail
; 
8729         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8737 static PyObject 
*_wrap_Grid_DeleteCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8738     PyObject 
*resultobj
; 
8739     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8740     int arg2 
= (int) 0 ; 
8741     int arg3 
= (int) 1 ; 
8742     bool arg4 
= (bool) True 
; 
8744     PyObject 
* obj0 
= 0 ; 
8745     PyObject 
* obj1 
= 0 ; 
8746     PyObject 
* obj2 
= 0 ; 
8747     PyObject 
* obj3 
= 0 ; 
8749         (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL 
 
8752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8753     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8754     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8756         arg2 
= (int) SWIG_AsInt(obj1
);  
8757         if (PyErr_Occurred()) SWIG_fail
; 
8760         arg3 
= (int) SWIG_AsInt(obj2
);  
8761         if (PyErr_Occurred()) SWIG_fail
; 
8764         arg4 
= (bool) SWIG_AsBool(obj3
);  
8765         if (PyErr_Occurred()) SWIG_fail
; 
8768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8769         result 
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
); 
8771         wxPyEndAllowThreads(__tstate
); 
8772         if (PyErr_Occurred()) SWIG_fail
; 
8775         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8783 static PyObject 
*_wrap_Grid_DrawCellHighlight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8784     PyObject 
*resultobj
; 
8785     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8787     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
8788     PyObject 
* obj0 
= 0 ; 
8789     PyObject 
* obj1 
= 0 ; 
8790     PyObject 
* obj2 
= 0 ; 
8792         (char *) "self",(char *) "dc",(char *) "attr", NULL 
 
8795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8796     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8797     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8798     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
8799     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8802         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8805     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
8806     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8809         (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr 
const *)arg3
); 
8811         wxPyEndAllowThreads(__tstate
); 
8812         if (PyErr_Occurred()) SWIG_fail
; 
8814     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8821 static PyObject 
*_wrap_Grid_DrawTextRectangle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8822     PyObject 
*resultobj
; 
8823     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8825     wxString 
*arg3 
= 0 ; 
8827     int arg5 
= (int) wxLEFT 
; 
8828     int arg6 
= (int) wxTOP 
; 
8829     int arg7 
= (int) wxHORIZONTAL 
; 
8830     bool temp3 
= False 
; 
8832     PyObject 
* obj0 
= 0 ; 
8833     PyObject 
* obj1 
= 0 ; 
8834     PyObject 
* obj2 
= 0 ; 
8835     PyObject 
* obj3 
= 0 ; 
8836     PyObject 
* obj4 
= 0 ; 
8837     PyObject 
* obj5 
= 0 ; 
8838     PyObject 
* obj6 
= 0 ; 
8840         (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL 
 
8843     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
8844     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8845     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8846     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
8847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8850         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8854         arg3 
= wxString_in_helper(obj2
); 
8855         if (arg3 
== NULL
) SWIG_fail
; 
8860         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
8863         arg5 
= (int) SWIG_AsInt(obj4
);  
8864         if (PyErr_Occurred()) SWIG_fail
; 
8867         arg6 
= (int) SWIG_AsInt(obj5
);  
8868         if (PyErr_Occurred()) SWIG_fail
; 
8871         arg7 
= (int) SWIG_AsInt(obj6
);  
8872         if (PyErr_Occurred()) SWIG_fail
; 
8875         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8876         (arg1
)->DrawTextRectangle(*arg2
,(wxString 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
,arg7
); 
8878         wxPyEndAllowThreads(__tstate
); 
8879         if (PyErr_Occurred()) SWIG_fail
; 
8881     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8896 static PyObject 
*_wrap_Grid_GetTextBoxSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8897     PyObject 
*resultobj
; 
8898     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8900     wxArrayString 
*arg3 
= 0 ; 
8901     long *arg4 
= (long *) 0 ; 
8902     long *arg5 
= (long *) 0 ; 
8903     bool temp3 
= False 
; 
8906     PyObject 
* obj0 
= 0 ; 
8907     PyObject 
* obj1 
= 0 ; 
8908     PyObject 
* obj2 
= 0 ; 
8910         (char *) "self",(char *) "dc",(char *) "lines", NULL 
 
8915     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8916     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8917     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8918     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
8919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8922         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8926         if (! PySequence_Check(obj2
)) { 
8927             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
8930         arg3 
= new wxArrayString
; 
8932         int i
, len
=PySequence_Length(obj2
); 
8933         for (i
=0; i
<len
; i
++) { 
8934             PyObject
* item 
= PySequence_GetItem(obj2
, i
); 
8936             PyObject
* str  
= PyObject_Unicode(item
); 
8938             PyObject
* str  
= PyObject_Str(item
); 
8940             if (PyErr_Occurred())  SWIG_fail
; 
8941             arg3
->Add(Py2wxString(str
)); 
8947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8948         (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
); 
8950         wxPyEndAllowThreads(__tstate
); 
8951         if (PyErr_Occurred()) SWIG_fail
; 
8953     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8955         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
8956         resultobj 
= t_output_helper(resultobj
,o
); 
8959         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
8960         resultobj 
= t_output_helper(resultobj
,o
); 
8963         if (temp3
) delete arg3
; 
8968         if (temp3
) delete arg3
; 
8974 static PyObject 
*_wrap_Grid_BeginBatch(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8975     PyObject 
*resultobj
; 
8976     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
8977     PyObject 
* obj0 
= 0 ; 
8979         (char *) "self", NULL 
 
8982     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
; 
8983     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
8984     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8986         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8987         (arg1
)->BeginBatch(); 
8989         wxPyEndAllowThreads(__tstate
); 
8990         if (PyErr_Occurred()) SWIG_fail
; 
8992     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8999 static PyObject 
*_wrap_Grid_EndBatch(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9000     PyObject 
*resultobj
; 
9001     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9002     PyObject 
* obj0 
= 0 ; 
9004         (char *) "self", NULL 
 
9007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
; 
9008     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9011         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9014         wxPyEndAllowThreads(__tstate
); 
9015         if (PyErr_Occurred()) SWIG_fail
; 
9017     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9024 static PyObject 
*_wrap_Grid_GetBatchCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9025     PyObject 
*resultobj
; 
9026     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9028     PyObject 
* obj0 
= 0 ; 
9030         (char *) "self", NULL 
 
9033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
; 
9034     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9035     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9038         result 
= (int)(arg1
)->GetBatchCount(); 
9040         wxPyEndAllowThreads(__tstate
); 
9041         if (PyErr_Occurred()) SWIG_fail
; 
9043     resultobj 
= SWIG_FromInt((int)result
); 
9050 static PyObject 
*_wrap_Grid_ForceRefresh(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9051     PyObject 
*resultobj
; 
9052     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9053     PyObject 
* obj0 
= 0 ; 
9055         (char *) "self", NULL 
 
9058     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
; 
9059     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9060     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9062         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9063         (arg1
)->ForceRefresh(); 
9065         wxPyEndAllowThreads(__tstate
); 
9066         if (PyErr_Occurred()) SWIG_fail
; 
9068     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9075 static PyObject 
*_wrap_Grid_IsEditable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9076     PyObject 
*resultobj
; 
9077     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9079     PyObject 
* obj0 
= 0 ; 
9081         (char *) "self", NULL 
 
9084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
; 
9085     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9086     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9089         result 
= (bool)(arg1
)->IsEditable(); 
9091         wxPyEndAllowThreads(__tstate
); 
9092         if (PyErr_Occurred()) SWIG_fail
; 
9095         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9103 static PyObject 
*_wrap_Grid_EnableEditing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9104     PyObject 
*resultobj
; 
9105     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9107     PyObject 
* obj0 
= 0 ; 
9108     PyObject 
* obj1 
= 0 ; 
9110         (char *) "self",(char *) "edit", NULL 
 
9113     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
; 
9114     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9115     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9116     arg2 
= (bool) SWIG_AsBool(obj1
);  
9117     if (PyErr_Occurred()) SWIG_fail
; 
9119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9120         (arg1
)->EnableEditing(arg2
); 
9122         wxPyEndAllowThreads(__tstate
); 
9123         if (PyErr_Occurred()) SWIG_fail
; 
9125     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9132 static PyObject 
*_wrap_Grid_EnableCellEditControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9133     PyObject 
*resultobj
; 
9134     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9135     bool arg2 
= (bool) True 
; 
9136     PyObject 
* obj0 
= 0 ; 
9137     PyObject 
* obj1 
= 0 ; 
9139         (char *) "self",(char *) "enable", NULL 
 
9142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
9143     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9144     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9146         arg2 
= (bool) SWIG_AsBool(obj1
);  
9147         if (PyErr_Occurred()) SWIG_fail
; 
9150         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9151         (arg1
)->EnableCellEditControl(arg2
); 
9153         wxPyEndAllowThreads(__tstate
); 
9154         if (PyErr_Occurred()) SWIG_fail
; 
9156     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9163 static PyObject 
*_wrap_Grid_DisableCellEditControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9164     PyObject 
*resultobj
; 
9165     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9166     PyObject 
* obj0 
= 0 ; 
9168         (char *) "self", NULL 
 
9171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
; 
9172     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9173     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9176         (arg1
)->DisableCellEditControl(); 
9178         wxPyEndAllowThreads(__tstate
); 
9179         if (PyErr_Occurred()) SWIG_fail
; 
9181     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9188 static PyObject 
*_wrap_Grid_CanEnableCellControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9189     PyObject 
*resultobj
; 
9190     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9192     PyObject 
* obj0 
= 0 ; 
9194         (char *) "self", NULL 
 
9197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
; 
9198     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9199     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9202         result 
= (bool)((wxGrid 
const *)arg1
)->CanEnableCellControl(); 
9204         wxPyEndAllowThreads(__tstate
); 
9205         if (PyErr_Occurred()) SWIG_fail
; 
9208         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9216 static PyObject 
*_wrap_Grid_IsCellEditControlEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9217     PyObject 
*resultobj
; 
9218     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9220     PyObject 
* obj0 
= 0 ; 
9222         (char *) "self", NULL 
 
9225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
; 
9226     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9227     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9229         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9230         result 
= (bool)((wxGrid 
const *)arg1
)->IsCellEditControlEnabled(); 
9232         wxPyEndAllowThreads(__tstate
); 
9233         if (PyErr_Occurred()) SWIG_fail
; 
9236         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9244 static PyObject 
*_wrap_Grid_IsCellEditControlShown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9245     PyObject 
*resultobj
; 
9246     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9248     PyObject 
* obj0 
= 0 ; 
9250         (char *) "self", NULL 
 
9253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
; 
9254     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9255     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9257         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9258         result 
= (bool)((wxGrid 
const *)arg1
)->IsCellEditControlShown(); 
9260         wxPyEndAllowThreads(__tstate
); 
9261         if (PyErr_Occurred()) SWIG_fail
; 
9264         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9272 static PyObject 
*_wrap_Grid_IsCurrentCellReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9273     PyObject 
*resultobj
; 
9274     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9276     PyObject 
* obj0 
= 0 ; 
9278         (char *) "self", NULL 
 
9281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
; 
9282     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9283     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9286         result 
= (bool)((wxGrid 
const *)arg1
)->IsCurrentCellReadOnly(); 
9288         wxPyEndAllowThreads(__tstate
); 
9289         if (PyErr_Occurred()) SWIG_fail
; 
9292         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9300 static PyObject 
*_wrap_Grid_ShowCellEditControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9301     PyObject 
*resultobj
; 
9302     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9303     PyObject 
* obj0 
= 0 ; 
9305         (char *) "self", NULL 
 
9308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
; 
9309     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9310     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9313         (arg1
)->ShowCellEditControl(); 
9315         wxPyEndAllowThreads(__tstate
); 
9316         if (PyErr_Occurred()) SWIG_fail
; 
9318     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9325 static PyObject 
*_wrap_Grid_HideCellEditControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9326     PyObject 
*resultobj
; 
9327     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9328     PyObject 
* obj0 
= 0 ; 
9330         (char *) "self", NULL 
 
9333     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
; 
9334     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9335     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9338         (arg1
)->HideCellEditControl(); 
9340         wxPyEndAllowThreads(__tstate
); 
9341         if (PyErr_Occurred()) SWIG_fail
; 
9343     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9350 static PyObject 
*_wrap_Grid_SaveEditControlValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9351     PyObject 
*resultobj
; 
9352     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9353     PyObject 
* obj0 
= 0 ; 
9355         (char *) "self", NULL 
 
9358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
; 
9359     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9360     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9362         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9363         (arg1
)->SaveEditControlValue(); 
9365         wxPyEndAllowThreads(__tstate
); 
9366         if (PyErr_Occurred()) SWIG_fail
; 
9368     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9375 static PyObject 
*_wrap_Grid_XYToCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9376     PyObject 
*resultobj
; 
9377     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9380     wxGridCellCoords result
; 
9381     PyObject 
* obj0 
= 0 ; 
9382     PyObject 
* obj1 
= 0 ; 
9383     PyObject 
* obj2 
= 0 ; 
9385         (char *) "self",(char *) "x",(char *) "y", NULL 
 
9388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9389     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9390     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9391     arg2 
= (int) SWIG_AsInt(obj1
);  
9392     if (PyErr_Occurred()) SWIG_fail
; 
9393     arg3 
= (int) SWIG_AsInt(obj2
);  
9394     if (PyErr_Occurred()) SWIG_fail
; 
9396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9397         result 
= wxGrid_XYToCell(arg1
,arg2
,arg3
); 
9399         wxPyEndAllowThreads(__tstate
); 
9400         if (PyErr_Occurred()) SWIG_fail
; 
9403         wxGridCellCoords 
* resultptr
; 
9404         resultptr 
= new wxGridCellCoords((wxGridCellCoords 
&) result
); 
9405         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1); 
9413 static PyObject 
*_wrap_Grid_YToRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9414     PyObject 
*resultobj
; 
9415     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9418     PyObject 
* obj0 
= 0 ; 
9419     PyObject 
* obj1 
= 0 ; 
9421         (char *) "self",(char *) "y", NULL 
 
9424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
9425     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9426     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9427     arg2 
= (int) SWIG_AsInt(obj1
);  
9428     if (PyErr_Occurred()) SWIG_fail
; 
9430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9431         result 
= (int)(arg1
)->YToRow(arg2
); 
9433         wxPyEndAllowThreads(__tstate
); 
9434         if (PyErr_Occurred()) SWIG_fail
; 
9436     resultobj 
= SWIG_FromInt((int)result
); 
9443 static PyObject 
*_wrap_Grid_XToCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9444     PyObject 
*resultobj
; 
9445     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9448     PyObject 
* obj0 
= 0 ; 
9449     PyObject 
* obj1 
= 0 ; 
9451         (char *) "self",(char *) "x", NULL 
 
9454     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
9455     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9456     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9457     arg2 
= (int) SWIG_AsInt(obj1
);  
9458     if (PyErr_Occurred()) SWIG_fail
; 
9460         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9461         result 
= (int)(arg1
)->XToCol(arg2
); 
9463         wxPyEndAllowThreads(__tstate
); 
9464         if (PyErr_Occurred()) SWIG_fail
; 
9466     resultobj 
= SWIG_FromInt((int)result
); 
9473 static PyObject 
*_wrap_Grid_YToEdgeOfRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9474     PyObject 
*resultobj
; 
9475     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9478     PyObject 
* obj0 
= 0 ; 
9479     PyObject 
* obj1 
= 0 ; 
9481         (char *) "self",(char *) "y", NULL 
 
9484     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
9485     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9486     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9487     arg2 
= (int) SWIG_AsInt(obj1
);  
9488     if (PyErr_Occurred()) SWIG_fail
; 
9490         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9491         result 
= (int)(arg1
)->YToEdgeOfRow(arg2
); 
9493         wxPyEndAllowThreads(__tstate
); 
9494         if (PyErr_Occurred()) SWIG_fail
; 
9496     resultobj 
= SWIG_FromInt((int)result
); 
9503 static PyObject 
*_wrap_Grid_XToEdgeOfCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9504     PyObject 
*resultobj
; 
9505     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9508     PyObject 
* obj0 
= 0 ; 
9509     PyObject 
* obj1 
= 0 ; 
9511         (char *) "self",(char *) "x", NULL 
 
9514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
9515     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9517     arg2 
= (int) SWIG_AsInt(obj1
);  
9518     if (PyErr_Occurred()) SWIG_fail
; 
9520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9521         result 
= (int)(arg1
)->XToEdgeOfCol(arg2
); 
9523         wxPyEndAllowThreads(__tstate
); 
9524         if (PyErr_Occurred()) SWIG_fail
; 
9526     resultobj 
= SWIG_FromInt((int)result
); 
9533 static PyObject 
*_wrap_Grid_CellToRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9534     PyObject 
*resultobj
; 
9535     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9539     PyObject 
* obj0 
= 0 ; 
9540     PyObject 
* obj1 
= 0 ; 
9541     PyObject 
* obj2 
= 0 ; 
9543         (char *) "self",(char *) "row",(char *) "col", NULL 
 
9546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9547     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9548     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9549     arg2 
= (int) SWIG_AsInt(obj1
);  
9550     if (PyErr_Occurred()) SWIG_fail
; 
9551     arg3 
= (int) SWIG_AsInt(obj2
);  
9552     if (PyErr_Occurred()) SWIG_fail
; 
9554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9555         result 
= (arg1
)->CellToRect(arg2
,arg3
); 
9557         wxPyEndAllowThreads(__tstate
); 
9558         if (PyErr_Occurred()) SWIG_fail
; 
9562         resultptr 
= new wxRect((wxRect 
&) result
); 
9563         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
9571 static PyObject 
*_wrap_Grid_GetGridCursorRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9572     PyObject 
*resultobj
; 
9573     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9575     PyObject 
* obj0 
= 0 ; 
9577         (char *) "self", NULL 
 
9580     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
; 
9581     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9582     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9585         result 
= (int)(arg1
)->GetGridCursorRow(); 
9587         wxPyEndAllowThreads(__tstate
); 
9588         if (PyErr_Occurred()) SWIG_fail
; 
9590     resultobj 
= SWIG_FromInt((int)result
); 
9597 static PyObject 
*_wrap_Grid_GetGridCursorCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9598     PyObject 
*resultobj
; 
9599     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9601     PyObject 
* obj0 
= 0 ; 
9603         (char *) "self", NULL 
 
9606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
; 
9607     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9608     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9611         result 
= (int)(arg1
)->GetGridCursorCol(); 
9613         wxPyEndAllowThreads(__tstate
); 
9614         if (PyErr_Occurred()) SWIG_fail
; 
9616     resultobj 
= SWIG_FromInt((int)result
); 
9623 static PyObject 
*_wrap_Grid_IsVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9624     PyObject 
*resultobj
; 
9625     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9628     bool arg4 
= (bool) True 
; 
9630     PyObject 
* obj0 
= 0 ; 
9631     PyObject 
* obj1 
= 0 ; 
9632     PyObject 
* obj2 
= 0 ; 
9633     PyObject 
* obj3 
= 0 ; 
9635         (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL 
 
9638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
9639     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9640     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9641     arg2 
= (int) SWIG_AsInt(obj1
);  
9642     if (PyErr_Occurred()) SWIG_fail
; 
9643     arg3 
= (int) SWIG_AsInt(obj2
);  
9644     if (PyErr_Occurred()) SWIG_fail
; 
9646         arg4 
= (bool) SWIG_AsBool(obj3
);  
9647         if (PyErr_Occurred()) SWIG_fail
; 
9650         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9651         result 
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
); 
9653         wxPyEndAllowThreads(__tstate
); 
9654         if (PyErr_Occurred()) SWIG_fail
; 
9657         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9665 static PyObject 
*_wrap_Grid_MakeCellVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9666     PyObject 
*resultobj
; 
9667     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9670     PyObject 
* obj0 
= 0 ; 
9671     PyObject 
* obj1 
= 0 ; 
9672     PyObject 
* obj2 
= 0 ; 
9674         (char *) "self",(char *) "row",(char *) "col", NULL 
 
9677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9678     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9679     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9680     arg2 
= (int) SWIG_AsInt(obj1
);  
9681     if (PyErr_Occurred()) SWIG_fail
; 
9682     arg3 
= (int) SWIG_AsInt(obj2
);  
9683     if (PyErr_Occurred()) SWIG_fail
; 
9685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9686         (arg1
)->MakeCellVisible(arg2
,arg3
); 
9688         wxPyEndAllowThreads(__tstate
); 
9689         if (PyErr_Occurred()) SWIG_fail
; 
9691     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9698 static PyObject 
*_wrap_Grid_SetGridCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9699     PyObject 
*resultobj
; 
9700     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9703     PyObject 
* obj0 
= 0 ; 
9704     PyObject 
* obj1 
= 0 ; 
9705     PyObject 
* obj2 
= 0 ; 
9707         (char *) "self",(char *) "row",(char *) "col", NULL 
 
9710     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9711     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9712     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9713     arg2 
= (int) SWIG_AsInt(obj1
);  
9714     if (PyErr_Occurred()) SWIG_fail
; 
9715     arg3 
= (int) SWIG_AsInt(obj2
);  
9716     if (PyErr_Occurred()) SWIG_fail
; 
9718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9719         (arg1
)->SetGridCursor(arg2
,arg3
); 
9721         wxPyEndAllowThreads(__tstate
); 
9722         if (PyErr_Occurred()) SWIG_fail
; 
9724     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9731 static PyObject 
*_wrap_Grid_MoveCursorUp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9732     PyObject 
*resultobj
; 
9733     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9736     PyObject 
* obj0 
= 0 ; 
9737     PyObject 
* obj1 
= 0 ; 
9739         (char *) "self",(char *) "expandSelection", NULL 
 
9742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
; 
9743     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9745     arg2 
= (bool) SWIG_AsBool(obj1
);  
9746     if (PyErr_Occurred()) SWIG_fail
; 
9748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9749         result 
= (bool)(arg1
)->MoveCursorUp(arg2
); 
9751         wxPyEndAllowThreads(__tstate
); 
9752         if (PyErr_Occurred()) SWIG_fail
; 
9755         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9763 static PyObject 
*_wrap_Grid_MoveCursorDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9764     PyObject 
*resultobj
; 
9765     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9768     PyObject 
* obj0 
= 0 ; 
9769     PyObject 
* obj1 
= 0 ; 
9771         (char *) "self",(char *) "expandSelection", NULL 
 
9774     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
9775     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9776     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9777     arg2 
= (bool) SWIG_AsBool(obj1
);  
9778     if (PyErr_Occurred()) SWIG_fail
; 
9780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9781         result 
= (bool)(arg1
)->MoveCursorDown(arg2
); 
9783         wxPyEndAllowThreads(__tstate
); 
9784         if (PyErr_Occurred()) SWIG_fail
; 
9787         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9795 static PyObject 
*_wrap_Grid_MoveCursorLeft(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9796     PyObject 
*resultobj
; 
9797     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9800     PyObject 
* obj0 
= 0 ; 
9801     PyObject 
* obj1 
= 0 ; 
9803         (char *) "self",(char *) "expandSelection", NULL 
 
9806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
; 
9807     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9808     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9809     arg2 
= (bool) SWIG_AsBool(obj1
);  
9810     if (PyErr_Occurred()) SWIG_fail
; 
9812         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9813         result 
= (bool)(arg1
)->MoveCursorLeft(arg2
); 
9815         wxPyEndAllowThreads(__tstate
); 
9816         if (PyErr_Occurred()) SWIG_fail
; 
9819         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9827 static PyObject 
*_wrap_Grid_MoveCursorRight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9828     PyObject 
*resultobj
; 
9829     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9832     PyObject 
* obj0 
= 0 ; 
9833     PyObject 
* obj1 
= 0 ; 
9835         (char *) "self",(char *) "expandSelection", NULL 
 
9838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
; 
9839     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9840     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9841     arg2 
= (bool) SWIG_AsBool(obj1
);  
9842     if (PyErr_Occurred()) SWIG_fail
; 
9844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9845         result 
= (bool)(arg1
)->MoveCursorRight(arg2
); 
9847         wxPyEndAllowThreads(__tstate
); 
9848         if (PyErr_Occurred()) SWIG_fail
; 
9851         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9859 static PyObject 
*_wrap_Grid_MovePageDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9860     PyObject 
*resultobj
; 
9861     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9863     PyObject 
* obj0 
= 0 ; 
9865         (char *) "self", NULL 
 
9868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
; 
9869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9873         result 
= (bool)(arg1
)->MovePageDown(); 
9875         wxPyEndAllowThreads(__tstate
); 
9876         if (PyErr_Occurred()) SWIG_fail
; 
9879         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9887 static PyObject 
*_wrap_Grid_MovePageUp(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_MovePageUp",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 
= (bool)(arg1
)->MovePageUp(); 
9903         wxPyEndAllowThreads(__tstate
); 
9904         if (PyErr_Occurred()) SWIG_fail
; 
9907         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9915 static PyObject 
*_wrap_Grid_MoveCursorUpBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9916     PyObject 
*resultobj
; 
9917     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9920     PyObject 
* obj0 
= 0 ; 
9921     PyObject 
* obj1 
= 0 ; 
9923         (char *) "self",(char *) "expandSelection", NULL 
 
9926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
; 
9927     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9928     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9929     arg2 
= (bool) SWIG_AsBool(obj1
);  
9930     if (PyErr_Occurred()) SWIG_fail
; 
9932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9933         result 
= (bool)(arg1
)->MoveCursorUpBlock(arg2
); 
9935         wxPyEndAllowThreads(__tstate
); 
9936         if (PyErr_Occurred()) SWIG_fail
; 
9939         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9947 static PyObject 
*_wrap_Grid_MoveCursorDownBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9948     PyObject 
*resultobj
; 
9949     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9952     PyObject 
* obj0 
= 0 ; 
9953     PyObject 
* obj1 
= 0 ; 
9955         (char *) "self",(char *) "expandSelection", NULL 
 
9958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
; 
9959     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9960     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9961     arg2 
= (bool) SWIG_AsBool(obj1
);  
9962     if (PyErr_Occurred()) SWIG_fail
; 
9964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9965         result 
= (bool)(arg1
)->MoveCursorDownBlock(arg2
); 
9967         wxPyEndAllowThreads(__tstate
); 
9968         if (PyErr_Occurred()) SWIG_fail
; 
9971         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9979 static PyObject 
*_wrap_Grid_MoveCursorLeftBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9980     PyObject 
*resultobj
; 
9981     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
9984     PyObject 
* obj0 
= 0 ; 
9985     PyObject 
* obj1 
= 0 ; 
9987         (char *) "self",(char *) "expandSelection", NULL 
 
9990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
; 
9991     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
9992     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9993     arg2 
= (bool) SWIG_AsBool(obj1
);  
9994     if (PyErr_Occurred()) SWIG_fail
; 
9996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9997         result 
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
); 
9999         wxPyEndAllowThreads(__tstate
); 
10000         if (PyErr_Occurred()) SWIG_fail
; 
10003         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10011 static PyObject 
*_wrap_Grid_MoveCursorRightBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10012     PyObject 
*resultobj
; 
10013     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10016     PyObject 
* obj0 
= 0 ; 
10017     PyObject 
* obj1 
= 0 ; 
10018     char *kwnames
[] = { 
10019         (char *) "self",(char *) "expandSelection", NULL 
 
10022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
; 
10023     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10024     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10025     arg2 
= (bool) SWIG_AsBool(obj1
);  
10026     if (PyErr_Occurred()) SWIG_fail
; 
10028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10029         result 
= (bool)(arg1
)->MoveCursorRightBlock(arg2
); 
10031         wxPyEndAllowThreads(__tstate
); 
10032         if (PyErr_Occurred()) SWIG_fail
; 
10035         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10043 static PyObject 
*_wrap_Grid_GetDefaultRowLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10044     PyObject 
*resultobj
; 
10045     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10047     PyObject 
* obj0 
= 0 ; 
10048     char *kwnames
[] = { 
10049         (char *) "self", NULL 
 
10052     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
; 
10053     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10054     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10057         result 
= (int)(arg1
)->GetDefaultRowLabelSize(); 
10059         wxPyEndAllowThreads(__tstate
); 
10060         if (PyErr_Occurred()) SWIG_fail
; 
10062     resultobj 
= SWIG_FromInt((int)result
); 
10069 static PyObject 
*_wrap_Grid_GetRowLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10070     PyObject 
*resultobj
; 
10071     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10073     PyObject 
* obj0 
= 0 ; 
10074     char *kwnames
[] = { 
10075         (char *) "self", NULL 
 
10078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
; 
10079     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10080     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10083         result 
= (int)(arg1
)->GetRowLabelSize(); 
10085         wxPyEndAllowThreads(__tstate
); 
10086         if (PyErr_Occurred()) SWIG_fail
; 
10088     resultobj 
= SWIG_FromInt((int)result
); 
10095 static PyObject 
*_wrap_Grid_GetDefaultColLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10096     PyObject 
*resultobj
; 
10097     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10099     PyObject 
* obj0 
= 0 ; 
10100     char *kwnames
[] = { 
10101         (char *) "self", NULL 
 
10104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
; 
10105     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10106     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10109         result 
= (int)(arg1
)->GetDefaultColLabelSize(); 
10111         wxPyEndAllowThreads(__tstate
); 
10112         if (PyErr_Occurred()) SWIG_fail
; 
10114     resultobj 
= SWIG_FromInt((int)result
); 
10121 static PyObject 
*_wrap_Grid_GetColLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10122     PyObject 
*resultobj
; 
10123     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10125     PyObject 
* obj0 
= 0 ; 
10126     char *kwnames
[] = { 
10127         (char *) "self", NULL 
 
10130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
; 
10131     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10132     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10135         result 
= (int)(arg1
)->GetColLabelSize(); 
10137         wxPyEndAllowThreads(__tstate
); 
10138         if (PyErr_Occurred()) SWIG_fail
; 
10140     resultobj 
= SWIG_FromInt((int)result
); 
10147 static PyObject 
*_wrap_Grid_GetLabelBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10148     PyObject 
*resultobj
; 
10149     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10151     PyObject 
* obj0 
= 0 ; 
10152     char *kwnames
[] = { 
10153         (char *) "self", NULL 
 
10156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
; 
10157     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10158     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10161         result 
= (arg1
)->GetLabelBackgroundColour(); 
10163         wxPyEndAllowThreads(__tstate
); 
10164         if (PyErr_Occurred()) SWIG_fail
; 
10167         wxColour 
* resultptr
; 
10168         resultptr 
= new wxColour((wxColour 
&) result
); 
10169         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10177 static PyObject 
*_wrap_Grid_GetLabelTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10178     PyObject 
*resultobj
; 
10179     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10181     PyObject 
* obj0 
= 0 ; 
10182     char *kwnames
[] = { 
10183         (char *) "self", NULL 
 
10186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
; 
10187     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10188     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10190         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10191         result 
= (arg1
)->GetLabelTextColour(); 
10193         wxPyEndAllowThreads(__tstate
); 
10194         if (PyErr_Occurred()) SWIG_fail
; 
10197         wxColour 
* resultptr
; 
10198         resultptr 
= new wxColour((wxColour 
&) result
); 
10199         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10207 static PyObject 
*_wrap_Grid_GetLabelFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10208     PyObject 
*resultobj
; 
10209     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10211     PyObject 
* obj0 
= 0 ; 
10212     char *kwnames
[] = { 
10213         (char *) "self", NULL 
 
10216     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
; 
10217     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10218     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10220         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10221         result 
= (arg1
)->GetLabelFont(); 
10223         wxPyEndAllowThreads(__tstate
); 
10224         if (PyErr_Occurred()) SWIG_fail
; 
10227         wxFont 
* resultptr
; 
10228         resultptr 
= new wxFont((wxFont 
&) result
); 
10229         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
10237 static PyObject 
*_wrap_Grid_GetRowLabelAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10238     PyObject 
*resultobj
; 
10239     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10240     int *arg2 
= (int *) 0 ; 
10241     int *arg3 
= (int *) 0 ; 
10244     PyObject 
* obj0 
= 0 ; 
10245     char *kwnames
[] = { 
10246         (char *) "self", NULL 
 
10251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
; 
10252     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10253     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10256         (arg1
)->GetRowLabelAlignment(arg2
,arg3
); 
10258         wxPyEndAllowThreads(__tstate
); 
10259         if (PyErr_Occurred()) SWIG_fail
; 
10261     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10263         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
10264         resultobj 
= t_output_helper(resultobj
,o
); 
10267         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
10268         resultobj 
= t_output_helper(resultobj
,o
); 
10276 static PyObject 
*_wrap_Grid_GetColLabelAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10277     PyObject 
*resultobj
; 
10278     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10279     int *arg2 
= (int *) 0 ; 
10280     int *arg3 
= (int *) 0 ; 
10283     PyObject 
* obj0 
= 0 ; 
10284     char *kwnames
[] = { 
10285         (char *) "self", NULL 
 
10290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
; 
10291     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10292     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10295         (arg1
)->GetColLabelAlignment(arg2
,arg3
); 
10297         wxPyEndAllowThreads(__tstate
); 
10298         if (PyErr_Occurred()) SWIG_fail
; 
10300     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10302         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
10303         resultobj 
= t_output_helper(resultobj
,o
); 
10306         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
10307         resultobj 
= t_output_helper(resultobj
,o
); 
10315 static PyObject 
*_wrap_Grid_GetColLabelTextOrientation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10316     PyObject 
*resultobj
; 
10317     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10319     PyObject 
* obj0 
= 0 ; 
10320     char *kwnames
[] = { 
10321         (char *) "self", NULL 
 
10324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
; 
10325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10329         result 
= (int)(arg1
)->GetColLabelTextOrientation(); 
10331         wxPyEndAllowThreads(__tstate
); 
10332         if (PyErr_Occurred()) SWIG_fail
; 
10334     resultobj 
= SWIG_FromInt((int)result
); 
10341 static PyObject 
*_wrap_Grid_GetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10342     PyObject 
*resultobj
; 
10343     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10346     PyObject 
* obj0 
= 0 ; 
10347     PyObject 
* obj1 
= 0 ; 
10348     char *kwnames
[] = { 
10349         (char *) "self",(char *) "row", NULL 
 
10352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
10353     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10354     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10355     arg2 
= (int) SWIG_AsInt(obj1
);  
10356     if (PyErr_Occurred()) SWIG_fail
; 
10358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10359         result 
= (arg1
)->GetRowLabelValue(arg2
); 
10361         wxPyEndAllowThreads(__tstate
); 
10362         if (PyErr_Occurred()) SWIG_fail
; 
10366         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10368         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10377 static PyObject 
*_wrap_Grid_GetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10378     PyObject 
*resultobj
; 
10379     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10382     PyObject 
* obj0 
= 0 ; 
10383     PyObject 
* obj1 
= 0 ; 
10384     char *kwnames
[] = { 
10385         (char *) "self",(char *) "col", NULL 
 
10388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
10389     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10390     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10391     arg2 
= (int) SWIG_AsInt(obj1
);  
10392     if (PyErr_Occurred()) SWIG_fail
; 
10394         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10395         result 
= (arg1
)->GetColLabelValue(arg2
); 
10397         wxPyEndAllowThreads(__tstate
); 
10398         if (PyErr_Occurred()) SWIG_fail
; 
10402         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10404         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10413 static PyObject 
*_wrap_Grid_GetGridLineColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10414     PyObject 
*resultobj
; 
10415     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10417     PyObject 
* obj0 
= 0 ; 
10418     char *kwnames
[] = { 
10419         (char *) "self", NULL 
 
10422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
; 
10423     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10424     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10426         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10427         result 
= (arg1
)->GetGridLineColour(); 
10429         wxPyEndAllowThreads(__tstate
); 
10430         if (PyErr_Occurred()) SWIG_fail
; 
10433         wxColour 
* resultptr
; 
10434         resultptr 
= new wxColour((wxColour 
&) result
); 
10435         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10443 static PyObject 
*_wrap_Grid_GetCellHighlightColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10444     PyObject 
*resultobj
; 
10445     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10447     PyObject 
* obj0 
= 0 ; 
10448     char *kwnames
[] = { 
10449         (char *) "self", NULL 
 
10452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
; 
10453     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10454     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10457         result 
= (arg1
)->GetCellHighlightColour(); 
10459         wxPyEndAllowThreads(__tstate
); 
10460         if (PyErr_Occurred()) SWIG_fail
; 
10463         wxColour 
* resultptr
; 
10464         resultptr 
= new wxColour((wxColour 
&) result
); 
10465         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
10473 static PyObject 
*_wrap_Grid_GetCellHighlightPenWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10474     PyObject 
*resultobj
; 
10475     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10477     PyObject 
* obj0 
= 0 ; 
10478     char *kwnames
[] = { 
10479         (char *) "self", NULL 
 
10482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
; 
10483     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10487         result 
= (int)(arg1
)->GetCellHighlightPenWidth(); 
10489         wxPyEndAllowThreads(__tstate
); 
10490         if (PyErr_Occurred()) SWIG_fail
; 
10492     resultobj 
= SWIG_FromInt((int)result
); 
10499 static PyObject 
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10500     PyObject 
*resultobj
; 
10501     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10503     PyObject 
* obj0 
= 0 ; 
10504     char *kwnames
[] = { 
10505         (char *) "self", NULL 
 
10508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
; 
10509     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10510     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10513         result 
= (int)(arg1
)->GetCellHighlightROPenWidth(); 
10515         wxPyEndAllowThreads(__tstate
); 
10516         if (PyErr_Occurred()) SWIG_fail
; 
10518     resultobj 
= SWIG_FromInt((int)result
); 
10525 static PyObject 
*_wrap_Grid_SetRowLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10526     PyObject 
*resultobj
; 
10527     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10529     PyObject 
* obj0 
= 0 ; 
10530     PyObject 
* obj1 
= 0 ; 
10531     char *kwnames
[] = { 
10532         (char *) "self",(char *) "width", NULL 
 
10535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10536     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10537     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10538     arg2 
= (int) SWIG_AsInt(obj1
);  
10539     if (PyErr_Occurred()) SWIG_fail
; 
10541         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10542         (arg1
)->SetRowLabelSize(arg2
); 
10544         wxPyEndAllowThreads(__tstate
); 
10545         if (PyErr_Occurred()) SWIG_fail
; 
10547     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10554 static PyObject 
*_wrap_Grid_SetColLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10555     PyObject 
*resultobj
; 
10556     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10558     PyObject 
* obj0 
= 0 ; 
10559     PyObject 
* obj1 
= 0 ; 
10560     char *kwnames
[] = { 
10561         (char *) "self",(char *) "height", NULL 
 
10564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10565     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10566     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10567     arg2 
= (int) SWIG_AsInt(obj1
);  
10568     if (PyErr_Occurred()) SWIG_fail
; 
10570         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10571         (arg1
)->SetColLabelSize(arg2
); 
10573         wxPyEndAllowThreads(__tstate
); 
10574         if (PyErr_Occurred()) SWIG_fail
; 
10576     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10583 static PyObject 
*_wrap_Grid_SetLabelBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10584     PyObject 
*resultobj
; 
10585     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10586     wxColour 
*arg2 
= 0 ; 
10588     PyObject 
* obj0 
= 0 ; 
10589     PyObject 
* obj1 
= 0 ; 
10590     char *kwnames
[] = { 
10591         (char *) "self","arg2", NULL 
 
10594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
10595     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10596     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10599         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10602         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10603         (arg1
)->SetLabelBackgroundColour((wxColour 
const &)*arg2
); 
10605         wxPyEndAllowThreads(__tstate
); 
10606         if (PyErr_Occurred()) SWIG_fail
; 
10608     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10615 static PyObject 
*_wrap_Grid_SetLabelTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10616     PyObject 
*resultobj
; 
10617     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10618     wxColour 
*arg2 
= 0 ; 
10620     PyObject 
* obj0 
= 0 ; 
10621     PyObject 
* obj1 
= 0 ; 
10622     char *kwnames
[] = { 
10623         (char *) "self","arg2", NULL 
 
10626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
10627     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10631         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10635         (arg1
)->SetLabelTextColour((wxColour 
const &)*arg2
); 
10637         wxPyEndAllowThreads(__tstate
); 
10638         if (PyErr_Occurred()) SWIG_fail
; 
10640     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10647 static PyObject 
*_wrap_Grid_SetLabelFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10648     PyObject 
*resultobj
; 
10649     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10651     PyObject 
* obj0 
= 0 ; 
10652     PyObject 
* obj1 
= 0 ; 
10653     char *kwnames
[] = { 
10654         (char *) "self","arg2", NULL 
 
10657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
10658     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10660     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
10661     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
10663     if (arg2 
== NULL
) { 
10664         PyErr_SetString(PyExc_TypeError
,"null reference"); 
10668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10669         (arg1
)->SetLabelFont((wxFont 
const &)*arg2
); 
10671         wxPyEndAllowThreads(__tstate
); 
10672         if (PyErr_Occurred()) SWIG_fail
; 
10674     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10681 static PyObject 
*_wrap_Grid_SetRowLabelAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10682     PyObject 
*resultobj
; 
10683     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10686     PyObject 
* obj0 
= 0 ; 
10687     PyObject 
* obj1 
= 0 ; 
10688     PyObject 
* obj2 
= 0 ; 
10689     char *kwnames
[] = { 
10690         (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
10693     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10694     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10695     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10696     arg2 
= (int) SWIG_AsInt(obj1
);  
10697     if (PyErr_Occurred()) SWIG_fail
; 
10698     arg3 
= (int) SWIG_AsInt(obj2
);  
10699     if (PyErr_Occurred()) SWIG_fail
; 
10701         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10702         (arg1
)->SetRowLabelAlignment(arg2
,arg3
); 
10704         wxPyEndAllowThreads(__tstate
); 
10705         if (PyErr_Occurred()) SWIG_fail
; 
10707     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10714 static PyObject 
*_wrap_Grid_SetColLabelAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10715     PyObject 
*resultobj
; 
10716     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10719     PyObject 
* obj0 
= 0 ; 
10720     PyObject 
* obj1 
= 0 ; 
10721     PyObject 
* obj2 
= 0 ; 
10722     char *kwnames
[] = { 
10723         (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
10726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10727     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10728     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10729     arg2 
= (int) SWIG_AsInt(obj1
);  
10730     if (PyErr_Occurred()) SWIG_fail
; 
10731     arg3 
= (int) SWIG_AsInt(obj2
);  
10732     if (PyErr_Occurred()) SWIG_fail
; 
10734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10735         (arg1
)->SetColLabelAlignment(arg2
,arg3
); 
10737         wxPyEndAllowThreads(__tstate
); 
10738         if (PyErr_Occurred()) SWIG_fail
; 
10740     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10747 static PyObject 
*_wrap_Grid_SetColLabelTextOrientation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10748     PyObject 
*resultobj
; 
10749     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10751     PyObject 
* obj0 
= 0 ; 
10752     PyObject 
* obj1 
= 0 ; 
10753     char *kwnames
[] = { 
10754         (char *) "self",(char *) "textOrientation", NULL 
 
10757     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
; 
10758     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10760     arg2 
= (int) SWIG_AsInt(obj1
);  
10761     if (PyErr_Occurred()) SWIG_fail
; 
10763         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10764         (arg1
)->SetColLabelTextOrientation(arg2
); 
10766         wxPyEndAllowThreads(__tstate
); 
10767         if (PyErr_Occurred()) SWIG_fail
; 
10769     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10776 static PyObject 
*_wrap_Grid_SetRowLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10777     PyObject 
*resultobj
; 
10778     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10780     wxString 
*arg3 
= 0 ; 
10781     bool temp3 
= False 
; 
10782     PyObject 
* obj0 
= 0 ; 
10783     PyObject 
* obj1 
= 0 ; 
10784     PyObject 
* obj2 
= 0 ; 
10785     char *kwnames
[] = { 
10786         (char *) "self",(char *) "row","arg3", NULL 
 
10789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10790     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10791     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10792     arg2 
= (int) SWIG_AsInt(obj1
);  
10793     if (PyErr_Occurred()) SWIG_fail
; 
10795         arg3 
= wxString_in_helper(obj2
); 
10796         if (arg3 
== NULL
) SWIG_fail
; 
10800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10801         (arg1
)->SetRowLabelValue(arg2
,(wxString 
const &)*arg3
); 
10803         wxPyEndAllowThreads(__tstate
); 
10804         if (PyErr_Occurred()) SWIG_fail
; 
10806     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10821 static PyObject 
*_wrap_Grid_SetColLabelValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10822     PyObject 
*resultobj
; 
10823     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10825     wxString 
*arg3 
= 0 ; 
10826     bool temp3 
= False 
; 
10827     PyObject 
* obj0 
= 0 ; 
10828     PyObject 
* obj1 
= 0 ; 
10829     PyObject 
* obj2 
= 0 ; 
10830     char *kwnames
[] = { 
10831         (char *) "self",(char *) "col","arg3", NULL 
 
10834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10837     arg2 
= (int) SWIG_AsInt(obj1
);  
10838     if (PyErr_Occurred()) SWIG_fail
; 
10840         arg3 
= wxString_in_helper(obj2
); 
10841         if (arg3 
== NULL
) SWIG_fail
; 
10845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10846         (arg1
)->SetColLabelValue(arg2
,(wxString 
const &)*arg3
); 
10848         wxPyEndAllowThreads(__tstate
); 
10849         if (PyErr_Occurred()) SWIG_fail
; 
10851     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10866 static PyObject 
*_wrap_Grid_SetGridLineColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10867     PyObject 
*resultobj
; 
10868     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10869     wxColour 
*arg2 
= 0 ; 
10871     PyObject 
* obj0 
= 0 ; 
10872     PyObject 
* obj1 
= 0 ; 
10873     char *kwnames
[] = { 
10874         (char *) "self","arg2", NULL 
 
10877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
10878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10882         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10886         (arg1
)->SetGridLineColour((wxColour 
const &)*arg2
); 
10888         wxPyEndAllowThreads(__tstate
); 
10889         if (PyErr_Occurred()) SWIG_fail
; 
10891     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10898 static PyObject 
*_wrap_Grid_SetCellHighlightColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10899     PyObject 
*resultobj
; 
10900     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10901     wxColour 
*arg2 
= 0 ; 
10903     PyObject 
* obj0 
= 0 ; 
10904     PyObject 
* obj1 
= 0 ; 
10905     char *kwnames
[] = { 
10906         (char *) "self","arg2", NULL 
 
10909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
10910     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10911     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10914         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10917         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10918         (arg1
)->SetCellHighlightColour((wxColour 
const &)*arg2
); 
10920         wxPyEndAllowThreads(__tstate
); 
10921         if (PyErr_Occurred()) SWIG_fail
; 
10923     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10930 static PyObject 
*_wrap_Grid_SetCellHighlightPenWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10931     PyObject 
*resultobj
; 
10932     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10934     PyObject 
* obj0 
= 0 ; 
10935     PyObject 
* obj1 
= 0 ; 
10936     char *kwnames
[] = { 
10937         (char *) "self",(char *) "width", NULL 
 
10940     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
10941     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10942     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10943     arg2 
= (int) SWIG_AsInt(obj1
);  
10944     if (PyErr_Occurred()) SWIG_fail
; 
10946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10947         (arg1
)->SetCellHighlightPenWidth(arg2
); 
10949         wxPyEndAllowThreads(__tstate
); 
10950         if (PyErr_Occurred()) SWIG_fail
; 
10952     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10959 static PyObject 
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10960     PyObject 
*resultobj
; 
10961     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10963     PyObject 
* obj0 
= 0 ; 
10964     PyObject 
* obj1 
= 0 ; 
10965     char *kwnames
[] = { 
10966         (char *) "self",(char *) "width", NULL 
 
10969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
10970     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
10971     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10972     arg2 
= (int) SWIG_AsInt(obj1
);  
10973     if (PyErr_Occurred()) SWIG_fail
; 
10975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10976         (arg1
)->SetCellHighlightROPenWidth(arg2
); 
10978         wxPyEndAllowThreads(__tstate
); 
10979         if (PyErr_Occurred()) SWIG_fail
; 
10981     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10988 static PyObject 
*_wrap_Grid_EnableDragRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10989     PyObject 
*resultobj
; 
10990     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
10991     bool arg2 
= (bool) True 
; 
10992     PyObject 
* obj0 
= 0 ; 
10993     PyObject 
* obj1 
= 0 ; 
10994     char *kwnames
[] = { 
10995         (char *) "self",(char *) "enable", NULL 
 
10998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10999     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11002         arg2 
= (bool) SWIG_AsBool(obj1
);  
11003         if (PyErr_Occurred()) SWIG_fail
; 
11006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11007         (arg1
)->EnableDragRowSize(arg2
); 
11009         wxPyEndAllowThreads(__tstate
); 
11010         if (PyErr_Occurred()) SWIG_fail
; 
11012     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11019 static PyObject 
*_wrap_Grid_DisableDragRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11020     PyObject 
*resultobj
; 
11021     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11022     PyObject 
* obj0 
= 0 ; 
11023     char *kwnames
[] = { 
11024         (char *) "self", NULL 
 
11027     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
; 
11028     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11029     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11032         (arg1
)->DisableDragRowSize(); 
11034         wxPyEndAllowThreads(__tstate
); 
11035         if (PyErr_Occurred()) SWIG_fail
; 
11037     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11044 static PyObject 
*_wrap_Grid_CanDragRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11045     PyObject 
*resultobj
; 
11046     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11048     PyObject 
* obj0 
= 0 ; 
11049     char *kwnames
[] = { 
11050         (char *) "self", NULL 
 
11053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
; 
11054     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11055     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11057         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11058         result 
= (bool)(arg1
)->CanDragRowSize(); 
11060         wxPyEndAllowThreads(__tstate
); 
11061         if (PyErr_Occurred()) SWIG_fail
; 
11064         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11072 static PyObject 
*_wrap_Grid_EnableDragColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11073     PyObject 
*resultobj
; 
11074     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11075     bool arg2 
= (bool) True 
; 
11076     PyObject 
* obj0 
= 0 ; 
11077     PyObject 
* obj1 
= 0 ; 
11078     char *kwnames
[] = { 
11079         (char *) "self",(char *) "enable", NULL 
 
11082     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
11083     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11084     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11086         arg2 
= (bool) SWIG_AsBool(obj1
);  
11087         if (PyErr_Occurred()) SWIG_fail
; 
11090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11091         (arg1
)->EnableDragColSize(arg2
); 
11093         wxPyEndAllowThreads(__tstate
); 
11094         if (PyErr_Occurred()) SWIG_fail
; 
11096     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11103 static PyObject 
*_wrap_Grid_DisableDragColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11104     PyObject 
*resultobj
; 
11105     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11106     PyObject 
* obj0 
= 0 ; 
11107     char *kwnames
[] = { 
11108         (char *) "self", NULL 
 
11111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
; 
11112     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11113     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11115         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11116         (arg1
)->DisableDragColSize(); 
11118         wxPyEndAllowThreads(__tstate
); 
11119         if (PyErr_Occurred()) SWIG_fail
; 
11121     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11128 static PyObject 
*_wrap_Grid_CanDragColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11129     PyObject 
*resultobj
; 
11130     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11132     PyObject 
* obj0 
= 0 ; 
11133     char *kwnames
[] = { 
11134         (char *) "self", NULL 
 
11137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
; 
11138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11141         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11142         result 
= (bool)(arg1
)->CanDragColSize(); 
11144         wxPyEndAllowThreads(__tstate
); 
11145         if (PyErr_Occurred()) SWIG_fail
; 
11148         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11156 static PyObject 
*_wrap_Grid_EnableDragGridSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11157     PyObject 
*resultobj
; 
11158     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11159     bool arg2 
= (bool) True 
; 
11160     PyObject 
* obj0 
= 0 ; 
11161     PyObject 
* obj1 
= 0 ; 
11162     char *kwnames
[] = { 
11163         (char *) "self",(char *) "enable", NULL 
 
11166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
11167     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11170         arg2 
= (bool) SWIG_AsBool(obj1
);  
11171         if (PyErr_Occurred()) SWIG_fail
; 
11174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11175         (arg1
)->EnableDragGridSize(arg2
); 
11177         wxPyEndAllowThreads(__tstate
); 
11178         if (PyErr_Occurred()) SWIG_fail
; 
11180     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11187 static PyObject 
*_wrap_Grid_DisableDragGridSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11188     PyObject 
*resultobj
; 
11189     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11190     PyObject 
* obj0 
= 0 ; 
11191     char *kwnames
[] = { 
11192         (char *) "self", NULL 
 
11195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
; 
11196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11200         (arg1
)->DisableDragGridSize(); 
11202         wxPyEndAllowThreads(__tstate
); 
11203         if (PyErr_Occurred()) SWIG_fail
; 
11205     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11212 static PyObject 
*_wrap_Grid_CanDragGridSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11213     PyObject 
*resultobj
; 
11214     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11216     PyObject 
* obj0 
= 0 ; 
11217     char *kwnames
[] = { 
11218         (char *) "self", NULL 
 
11221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
; 
11222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11226         result 
= (bool)(arg1
)->CanDragGridSize(); 
11228         wxPyEndAllowThreads(__tstate
); 
11229         if (PyErr_Occurred()) SWIG_fail
; 
11232         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11240 static PyObject 
*_wrap_Grid_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11241     PyObject 
*resultobj
; 
11242     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11245     wxGridCellAttr 
*arg4 
= (wxGridCellAttr 
*) 0 ; 
11246     PyObject 
* obj0 
= 0 ; 
11247     PyObject 
* obj1 
= 0 ; 
11248     PyObject 
* obj2 
= 0 ; 
11249     PyObject 
* obj3 
= 0 ; 
11250     char *kwnames
[] = { 
11251         (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL 
 
11254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11255     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11256     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11257     arg2 
= (int) SWIG_AsInt(obj1
);  
11258     if (PyErr_Occurred()) SWIG_fail
; 
11259     arg3 
= (int) SWIG_AsInt(obj2
);  
11260     if (PyErr_Occurred()) SWIG_fail
; 
11261     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
, 
11262     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11264         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11265         (arg1
)->SetAttr(arg2
,arg3
,arg4
); 
11267         wxPyEndAllowThreads(__tstate
); 
11268         if (PyErr_Occurred()) SWIG_fail
; 
11270     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11277 static PyObject 
*_wrap_Grid_SetRowAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11278     PyObject 
*resultobj
; 
11279     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11281     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
11282     PyObject 
* obj0 
= 0 ; 
11283     PyObject 
* obj1 
= 0 ; 
11284     PyObject 
* obj2 
= 0 ; 
11285     char *kwnames
[] = { 
11286         (char *) "self",(char *) "row",(char *) "attr", NULL 
 
11289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11290     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11292     arg2 
= (int) SWIG_AsInt(obj1
);  
11293     if (PyErr_Occurred()) SWIG_fail
; 
11294     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
11295     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11298         (arg1
)->SetRowAttr(arg2
,arg3
); 
11300         wxPyEndAllowThreads(__tstate
); 
11301         if (PyErr_Occurred()) SWIG_fail
; 
11303     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11310 static PyObject 
*_wrap_Grid_SetColAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11311     PyObject 
*resultobj
; 
11312     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11314     wxGridCellAttr 
*arg3 
= (wxGridCellAttr 
*) 0 ; 
11315     PyObject 
* obj0 
= 0 ; 
11316     PyObject 
* obj1 
= 0 ; 
11317     PyObject 
* obj2 
= 0 ; 
11318     char *kwnames
[] = { 
11319         (char *) "self",(char *) "col",(char *) "attr", NULL 
 
11322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11323     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11325     arg2 
= (int) SWIG_AsInt(obj1
);  
11326     if (PyErr_Occurred()) SWIG_fail
; 
11327     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
, 
11328     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11331         (arg1
)->SetColAttr(arg2
,arg3
); 
11333         wxPyEndAllowThreads(__tstate
); 
11334         if (PyErr_Occurred()) SWIG_fail
; 
11336     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11343 static PyObject 
*_wrap_Grid_SetColFormatBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11344     PyObject 
*resultobj
; 
11345     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11347     PyObject 
* obj0 
= 0 ; 
11348     PyObject 
* obj1 
= 0 ; 
11349     char *kwnames
[] = { 
11350         (char *) "self",(char *) "col", NULL 
 
11353     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
; 
11354     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11355     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11356     arg2 
= (int) SWIG_AsInt(obj1
);  
11357     if (PyErr_Occurred()) SWIG_fail
; 
11359         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11360         (arg1
)->SetColFormatBool(arg2
); 
11362         wxPyEndAllowThreads(__tstate
); 
11363         if (PyErr_Occurred()) SWIG_fail
; 
11365     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11372 static PyObject 
*_wrap_Grid_SetColFormatNumber(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11373     PyObject 
*resultobj
; 
11374     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11376     PyObject 
* obj0 
= 0 ; 
11377     PyObject 
* obj1 
= 0 ; 
11378     char *kwnames
[] = { 
11379         (char *) "self",(char *) "col", NULL 
 
11382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
; 
11383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11385     arg2 
= (int) SWIG_AsInt(obj1
);  
11386     if (PyErr_Occurred()) SWIG_fail
; 
11388         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11389         (arg1
)->SetColFormatNumber(arg2
); 
11391         wxPyEndAllowThreads(__tstate
); 
11392         if (PyErr_Occurred()) SWIG_fail
; 
11394     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11401 static PyObject 
*_wrap_Grid_SetColFormatFloat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11402     PyObject 
*resultobj
; 
11403     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11405     int arg3 
= (int) -1 ; 
11406     int arg4 
= (int) -1 ; 
11407     PyObject 
* obj0 
= 0 ; 
11408     PyObject 
* obj1 
= 0 ; 
11409     PyObject 
* obj2 
= 0 ; 
11410     PyObject 
* obj3 
= 0 ; 
11411     char *kwnames
[] = { 
11412         (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL 
 
11415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11416     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11417     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11418     arg2 
= (int) SWIG_AsInt(obj1
);  
11419     if (PyErr_Occurred()) SWIG_fail
; 
11421         arg3 
= (int) SWIG_AsInt(obj2
);  
11422         if (PyErr_Occurred()) SWIG_fail
; 
11425         arg4 
= (int) SWIG_AsInt(obj3
);  
11426         if (PyErr_Occurred()) SWIG_fail
; 
11429         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11430         (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
); 
11432         wxPyEndAllowThreads(__tstate
); 
11433         if (PyErr_Occurred()) SWIG_fail
; 
11435     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11442 static PyObject 
*_wrap_Grid_SetColFormatCustom(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11443     PyObject 
*resultobj
; 
11444     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11446     wxString 
*arg3 
= 0 ; 
11447     bool temp3 
= False 
; 
11448     PyObject 
* obj0 
= 0 ; 
11449     PyObject 
* obj1 
= 0 ; 
11450     PyObject 
* obj2 
= 0 ; 
11451     char *kwnames
[] = { 
11452         (char *) "self",(char *) "col",(char *) "typeName", NULL 
 
11455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11456     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11457     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11458     arg2 
= (int) SWIG_AsInt(obj1
);  
11459     if (PyErr_Occurred()) SWIG_fail
; 
11461         arg3 
= wxString_in_helper(obj2
); 
11462         if (arg3 
== NULL
) SWIG_fail
; 
11466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11467         (arg1
)->SetColFormatCustom(arg2
,(wxString 
const &)*arg3
); 
11469         wxPyEndAllowThreads(__tstate
); 
11470         if (PyErr_Occurred()) SWIG_fail
; 
11472     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11487 static PyObject 
*_wrap_Grid_EnableGridLines(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11488     PyObject 
*resultobj
; 
11489     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11490     bool arg2 
= (bool) True 
; 
11491     PyObject 
* obj0 
= 0 ; 
11492     PyObject 
* obj1 
= 0 ; 
11493     char *kwnames
[] = { 
11494         (char *) "self",(char *) "enable", NULL 
 
11497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
; 
11498     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11499     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11501         arg2 
= (bool) SWIG_AsBool(obj1
);  
11502         if (PyErr_Occurred()) SWIG_fail
; 
11505         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11506         (arg1
)->EnableGridLines(arg2
); 
11508         wxPyEndAllowThreads(__tstate
); 
11509         if (PyErr_Occurred()) SWIG_fail
; 
11511     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11518 static PyObject 
*_wrap_Grid_GridLinesEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11519     PyObject 
*resultobj
; 
11520     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11522     PyObject 
* obj0 
= 0 ; 
11523     char *kwnames
[] = { 
11524         (char *) "self", NULL 
 
11527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
; 
11528     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11531         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11532         result 
= (bool)(arg1
)->GridLinesEnabled(); 
11534         wxPyEndAllowThreads(__tstate
); 
11535         if (PyErr_Occurred()) SWIG_fail
; 
11538         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11546 static PyObject 
*_wrap_Grid_GetDefaultRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11547     PyObject 
*resultobj
; 
11548     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11550     PyObject 
* obj0 
= 0 ; 
11551     char *kwnames
[] = { 
11552         (char *) "self", NULL 
 
11555     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
; 
11556     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11557     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11560         result 
= (int)(arg1
)->GetDefaultRowSize(); 
11562         wxPyEndAllowThreads(__tstate
); 
11563         if (PyErr_Occurred()) SWIG_fail
; 
11565     resultobj 
= SWIG_FromInt((int)result
); 
11572 static PyObject 
*_wrap_Grid_GetRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11573     PyObject 
*resultobj
; 
11574     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11577     PyObject 
* obj0 
= 0 ; 
11578     PyObject 
* obj1 
= 0 ; 
11579     char *kwnames
[] = { 
11580         (char *) "self",(char *) "row", NULL 
 
11583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
11584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11586     arg2 
= (int) SWIG_AsInt(obj1
);  
11587     if (PyErr_Occurred()) SWIG_fail
; 
11589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11590         result 
= (int)(arg1
)->GetRowSize(arg2
); 
11592         wxPyEndAllowThreads(__tstate
); 
11593         if (PyErr_Occurred()) SWIG_fail
; 
11595     resultobj 
= SWIG_FromInt((int)result
); 
11602 static PyObject 
*_wrap_Grid_GetDefaultColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11603     PyObject 
*resultobj
; 
11604     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11606     PyObject 
* obj0 
= 0 ; 
11607     char *kwnames
[] = { 
11608         (char *) "self", NULL 
 
11611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
; 
11612     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11613     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11615         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11616         result 
= (int)(arg1
)->GetDefaultColSize(); 
11618         wxPyEndAllowThreads(__tstate
); 
11619         if (PyErr_Occurred()) SWIG_fail
; 
11621     resultobj 
= SWIG_FromInt((int)result
); 
11628 static PyObject 
*_wrap_Grid_GetColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11629     PyObject 
*resultobj
; 
11630     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11633     PyObject 
* obj0 
= 0 ; 
11634     PyObject 
* obj1 
= 0 ; 
11635     char *kwnames
[] = { 
11636         (char *) "self",(char *) "col", NULL 
 
11639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
11640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11642     arg2 
= (int) SWIG_AsInt(obj1
);  
11643     if (PyErr_Occurred()) SWIG_fail
; 
11645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11646         result 
= (int)(arg1
)->GetColSize(arg2
); 
11648         wxPyEndAllowThreads(__tstate
); 
11649         if (PyErr_Occurred()) SWIG_fail
; 
11651     resultobj 
= SWIG_FromInt((int)result
); 
11658 static PyObject 
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11659     PyObject 
*resultobj
; 
11660     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11662     PyObject 
* obj0 
= 0 ; 
11663     char *kwnames
[] = { 
11664         (char *) "self", NULL 
 
11667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
; 
11668     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11669     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11671         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11672         result 
= (arg1
)->GetDefaultCellBackgroundColour(); 
11674         wxPyEndAllowThreads(__tstate
); 
11675         if (PyErr_Occurred()) SWIG_fail
; 
11678         wxColour 
* resultptr
; 
11679         resultptr 
= new wxColour((wxColour 
&) result
); 
11680         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11688 static PyObject 
*_wrap_Grid_GetCellBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11689     PyObject 
*resultobj
; 
11690     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11694     PyObject 
* obj0 
= 0 ; 
11695     PyObject 
* obj1 
= 0 ; 
11696     PyObject 
* obj2 
= 0 ; 
11697     char *kwnames
[] = { 
11698         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11702     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11704     arg2 
= (int) SWIG_AsInt(obj1
);  
11705     if (PyErr_Occurred()) SWIG_fail
; 
11706     arg3 
= (int) SWIG_AsInt(obj2
);  
11707     if (PyErr_Occurred()) SWIG_fail
; 
11709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11710         result 
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
); 
11712         wxPyEndAllowThreads(__tstate
); 
11713         if (PyErr_Occurred()) SWIG_fail
; 
11716         wxColour 
* resultptr
; 
11717         resultptr 
= new wxColour((wxColour 
&) result
); 
11718         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11726 static PyObject 
*_wrap_Grid_GetDefaultCellTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11727     PyObject 
*resultobj
; 
11728     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11730     PyObject 
* obj0 
= 0 ; 
11731     char *kwnames
[] = { 
11732         (char *) "self", NULL 
 
11735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
; 
11736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11740         result 
= (arg1
)->GetDefaultCellTextColour(); 
11742         wxPyEndAllowThreads(__tstate
); 
11743         if (PyErr_Occurred()) SWIG_fail
; 
11746         wxColour 
* resultptr
; 
11747         resultptr 
= new wxColour((wxColour 
&) result
); 
11748         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11756 static PyObject 
*_wrap_Grid_GetCellTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11757     PyObject 
*resultobj
; 
11758     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11762     PyObject 
* obj0 
= 0 ; 
11763     PyObject 
* obj1 
= 0 ; 
11764     PyObject 
* obj2 
= 0 ; 
11765     char *kwnames
[] = { 
11766         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11770     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11771     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11772     arg2 
= (int) SWIG_AsInt(obj1
);  
11773     if (PyErr_Occurred()) SWIG_fail
; 
11774     arg3 
= (int) SWIG_AsInt(obj2
);  
11775     if (PyErr_Occurred()) SWIG_fail
; 
11777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11778         result 
= (arg1
)->GetCellTextColour(arg2
,arg3
); 
11780         wxPyEndAllowThreads(__tstate
); 
11781         if (PyErr_Occurred()) SWIG_fail
; 
11784         wxColour 
* resultptr
; 
11785         resultptr 
= new wxColour((wxColour 
&) result
); 
11786         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
11794 static PyObject 
*_wrap_Grid_GetDefaultCellFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11795     PyObject 
*resultobj
; 
11796     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11798     PyObject 
* obj0 
= 0 ; 
11799     char *kwnames
[] = { 
11800         (char *) "self", NULL 
 
11803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
; 
11804     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11805     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11808         result 
= (arg1
)->GetDefaultCellFont(); 
11810         wxPyEndAllowThreads(__tstate
); 
11811         if (PyErr_Occurred()) SWIG_fail
; 
11814         wxFont 
* resultptr
; 
11815         resultptr 
= new wxFont((wxFont 
&) result
); 
11816         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
11824 static PyObject 
*_wrap_Grid_GetCellFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11825     PyObject 
*resultobj
; 
11826     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11830     PyObject 
* obj0 
= 0 ; 
11831     PyObject 
* obj1 
= 0 ; 
11832     PyObject 
* obj2 
= 0 ; 
11833     char *kwnames
[] = { 
11834         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11838     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11839     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11840     arg2 
= (int) SWIG_AsInt(obj1
);  
11841     if (PyErr_Occurred()) SWIG_fail
; 
11842     arg3 
= (int) SWIG_AsInt(obj2
);  
11843     if (PyErr_Occurred()) SWIG_fail
; 
11845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11846         result 
= (arg1
)->GetCellFont(arg2
,arg3
); 
11848         wxPyEndAllowThreads(__tstate
); 
11849         if (PyErr_Occurred()) SWIG_fail
; 
11852         wxFont 
* resultptr
; 
11853         resultptr 
= new wxFont((wxFont 
&) result
); 
11854         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
11862 static PyObject 
*_wrap_Grid_GetDefaultCellAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11863     PyObject 
*resultobj
; 
11864     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11865     int *arg2 
= (int *) 0 ; 
11866     int *arg3 
= (int *) 0 ; 
11869     PyObject 
* obj0 
= 0 ; 
11870     char *kwnames
[] = { 
11871         (char *) "self", NULL 
 
11876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
; 
11877     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11881         (arg1
)->GetDefaultCellAlignment(arg2
,arg3
); 
11883         wxPyEndAllowThreads(__tstate
); 
11884         if (PyErr_Occurred()) SWIG_fail
; 
11886     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11888         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
11889         resultobj 
= t_output_helper(resultobj
,o
); 
11892         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
11893         resultobj 
= t_output_helper(resultobj
,o
); 
11901 static PyObject 
*_wrap_Grid_GetCellAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11902     PyObject 
*resultobj
; 
11903     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11906     int *arg4 
= (int *) 0 ; 
11907     int *arg5 
= (int *) 0 ; 
11910     PyObject 
* obj0 
= 0 ; 
11911     PyObject 
* obj1 
= 0 ; 
11912     PyObject 
* obj2 
= 0 ; 
11913     char *kwnames
[] = { 
11914         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11920     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11921     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11922     arg2 
= (int) SWIG_AsInt(obj1
);  
11923     if (PyErr_Occurred()) SWIG_fail
; 
11924     arg3 
= (int) SWIG_AsInt(obj2
);  
11925     if (PyErr_Occurred()) SWIG_fail
; 
11927         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11928         (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
); 
11930         wxPyEndAllowThreads(__tstate
); 
11931         if (PyErr_Occurred()) SWIG_fail
; 
11933     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11935         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
11936         resultobj 
= t_output_helper(resultobj
,o
); 
11939         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
11940         resultobj 
= t_output_helper(resultobj
,o
); 
11948 static PyObject 
*_wrap_Grid_GetDefaultCellOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11949     PyObject 
*resultobj
; 
11950     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11952     PyObject 
* obj0 
= 0 ; 
11953     char *kwnames
[] = { 
11954         (char *) "self", NULL 
 
11957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
; 
11958     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11962         result 
= (bool)(arg1
)->GetDefaultCellOverflow(); 
11964         wxPyEndAllowThreads(__tstate
); 
11965         if (PyErr_Occurred()) SWIG_fail
; 
11968         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11976 static PyObject 
*_wrap_Grid_GetCellOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11977     PyObject 
*resultobj
; 
11978     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
11982     PyObject 
* obj0 
= 0 ; 
11983     PyObject 
* obj1 
= 0 ; 
11984     PyObject 
* obj2 
= 0 ; 
11985     char *kwnames
[] = { 
11986         (char *) "self",(char *) "row",(char *) "col", NULL 
 
11989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11990     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
11991     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11992     arg2 
= (int) SWIG_AsInt(obj1
);  
11993     if (PyErr_Occurred()) SWIG_fail
; 
11994     arg3 
= (int) SWIG_AsInt(obj2
);  
11995     if (PyErr_Occurred()) SWIG_fail
; 
11997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11998         result 
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
); 
12000         wxPyEndAllowThreads(__tstate
); 
12001         if (PyErr_Occurred()) SWIG_fail
; 
12004         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12012 static PyObject 
*_wrap_Grid_GetCellSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12013     PyObject 
*resultobj
; 
12014     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12017     int *arg4 
= (int *) 0 ; 
12018     int *arg5 
= (int *) 0 ; 
12021     PyObject 
* obj0 
= 0 ; 
12022     PyObject 
* obj1 
= 0 ; 
12023     PyObject 
* obj2 
= 0 ; 
12024     char *kwnames
[] = { 
12025         (char *) "self",(char *) "row",(char *) "col", NULL 
 
12030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12031     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12032     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12033     arg2 
= (int) SWIG_AsInt(obj1
);  
12034     if (PyErr_Occurred()) SWIG_fail
; 
12035     arg3 
= (int) SWIG_AsInt(obj2
);  
12036     if (PyErr_Occurred()) SWIG_fail
; 
12038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12039         (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
); 
12041         wxPyEndAllowThreads(__tstate
); 
12042         if (PyErr_Occurred()) SWIG_fail
; 
12044     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12046         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
12047         resultobj 
= t_output_helper(resultobj
,o
); 
12050         PyObject 
*o 
= PyInt_FromLong((long) (*arg5
)); 
12051         resultobj 
= t_output_helper(resultobj
,o
); 
12059 static PyObject 
*_wrap_Grid_SetDefaultRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12060     PyObject 
*resultobj
; 
12061     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12063     bool arg3 
= (bool) False 
; 
12064     PyObject 
* obj0 
= 0 ; 
12065     PyObject 
* obj1 
= 0 ; 
12066     PyObject 
* obj2 
= 0 ; 
12067     char *kwnames
[] = { 
12068         (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL 
 
12071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12072     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12073     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12074     arg2 
= (int) SWIG_AsInt(obj1
);  
12075     if (PyErr_Occurred()) SWIG_fail
; 
12077         arg3 
= (bool) SWIG_AsBool(obj2
);  
12078         if (PyErr_Occurred()) SWIG_fail
; 
12081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12082         (arg1
)->SetDefaultRowSize(arg2
,arg3
); 
12084         wxPyEndAllowThreads(__tstate
); 
12085         if (PyErr_Occurred()) SWIG_fail
; 
12087     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12094 static PyObject 
*_wrap_Grid_SetRowSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12095     PyObject 
*resultobj
; 
12096     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12099     PyObject 
* obj0 
= 0 ; 
12100     PyObject 
* obj1 
= 0 ; 
12101     PyObject 
* obj2 
= 0 ; 
12102     char *kwnames
[] = { 
12103         (char *) "self",(char *) "row",(char *) "height", NULL 
 
12106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12107     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12108     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12109     arg2 
= (int) SWIG_AsInt(obj1
);  
12110     if (PyErr_Occurred()) SWIG_fail
; 
12111     arg3 
= (int) SWIG_AsInt(obj2
);  
12112     if (PyErr_Occurred()) SWIG_fail
; 
12114         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12115         (arg1
)->SetRowSize(arg2
,arg3
); 
12117         wxPyEndAllowThreads(__tstate
); 
12118         if (PyErr_Occurred()) SWIG_fail
; 
12120     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12127 static PyObject 
*_wrap_Grid_SetDefaultColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12128     PyObject 
*resultobj
; 
12129     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12131     bool arg3 
= (bool) False 
; 
12132     PyObject 
* obj0 
= 0 ; 
12133     PyObject 
* obj1 
= 0 ; 
12134     PyObject 
* obj2 
= 0 ; 
12135     char *kwnames
[] = { 
12136         (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL 
 
12139     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12140     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12141     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12142     arg2 
= (int) SWIG_AsInt(obj1
);  
12143     if (PyErr_Occurred()) SWIG_fail
; 
12145         arg3 
= (bool) SWIG_AsBool(obj2
);  
12146         if (PyErr_Occurred()) SWIG_fail
; 
12149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12150         (arg1
)->SetDefaultColSize(arg2
,arg3
); 
12152         wxPyEndAllowThreads(__tstate
); 
12153         if (PyErr_Occurred()) SWIG_fail
; 
12155     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12162 static PyObject 
*_wrap_Grid_SetColSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12163     PyObject 
*resultobj
; 
12164     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12167     PyObject 
* obj0 
= 0 ; 
12168     PyObject 
* obj1 
= 0 ; 
12169     PyObject 
* obj2 
= 0 ; 
12170     char *kwnames
[] = { 
12171         (char *) "self",(char *) "col",(char *) "width", NULL 
 
12174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12175     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12177     arg2 
= (int) SWIG_AsInt(obj1
);  
12178     if (PyErr_Occurred()) SWIG_fail
; 
12179     arg3 
= (int) SWIG_AsInt(obj2
);  
12180     if (PyErr_Occurred()) SWIG_fail
; 
12182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12183         (arg1
)->SetColSize(arg2
,arg3
); 
12185         wxPyEndAllowThreads(__tstate
); 
12186         if (PyErr_Occurred()) SWIG_fail
; 
12188     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12195 static PyObject 
*_wrap_Grid_AutoSizeColumn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12196     PyObject 
*resultobj
; 
12197     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12199     bool arg3 
= (bool) True 
; 
12200     PyObject 
* obj0 
= 0 ; 
12201     PyObject 
* obj1 
= 0 ; 
12202     PyObject 
* obj2 
= 0 ; 
12203     char *kwnames
[] = { 
12204         (char *) "self",(char *) "col",(char *) "setAsMin", NULL 
 
12207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12208     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12209     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12210     arg2 
= (int) SWIG_AsInt(obj1
);  
12211     if (PyErr_Occurred()) SWIG_fail
; 
12213         arg3 
= (bool) SWIG_AsBool(obj2
);  
12214         if (PyErr_Occurred()) SWIG_fail
; 
12217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12218         (arg1
)->AutoSizeColumn(arg2
,arg3
); 
12220         wxPyEndAllowThreads(__tstate
); 
12221         if (PyErr_Occurred()) SWIG_fail
; 
12223     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12230 static PyObject 
*_wrap_Grid_AutoSizeRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12231     PyObject 
*resultobj
; 
12232     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12234     bool arg3 
= (bool) True 
; 
12235     PyObject 
* obj0 
= 0 ; 
12236     PyObject 
* obj1 
= 0 ; 
12237     PyObject 
* obj2 
= 0 ; 
12238     char *kwnames
[] = { 
12239         (char *) "self",(char *) "row",(char *) "setAsMin", NULL 
 
12242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12243     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12244     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12245     arg2 
= (int) SWIG_AsInt(obj1
);  
12246     if (PyErr_Occurred()) SWIG_fail
; 
12248         arg3 
= (bool) SWIG_AsBool(obj2
);  
12249         if (PyErr_Occurred()) SWIG_fail
; 
12252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12253         (arg1
)->AutoSizeRow(arg2
,arg3
); 
12255         wxPyEndAllowThreads(__tstate
); 
12256         if (PyErr_Occurred()) SWIG_fail
; 
12258     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12265 static PyObject 
*_wrap_Grid_AutoSizeColumns(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12266     PyObject 
*resultobj
; 
12267     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12268     bool arg2 
= (bool) True 
; 
12269     PyObject 
* obj0 
= 0 ; 
12270     PyObject 
* obj1 
= 0 ; 
12271     char *kwnames
[] = { 
12272         (char *) "self",(char *) "setAsMin", NULL 
 
12275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
; 
12276     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12277     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12279         arg2 
= (bool) SWIG_AsBool(obj1
);  
12280         if (PyErr_Occurred()) SWIG_fail
; 
12283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12284         (arg1
)->AutoSizeColumns(arg2
); 
12286         wxPyEndAllowThreads(__tstate
); 
12287         if (PyErr_Occurred()) SWIG_fail
; 
12289     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12296 static PyObject 
*_wrap_Grid_AutoSizeRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12297     PyObject 
*resultobj
; 
12298     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12299     bool arg2 
= (bool) True 
; 
12300     PyObject 
* obj0 
= 0 ; 
12301     PyObject 
* obj1 
= 0 ; 
12302     char *kwnames
[] = { 
12303         (char *) "self",(char *) "setAsMin", NULL 
 
12306     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
12307     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12308     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12310         arg2 
= (bool) SWIG_AsBool(obj1
);  
12311         if (PyErr_Occurred()) SWIG_fail
; 
12314         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12315         (arg1
)->AutoSizeRows(arg2
); 
12317         wxPyEndAllowThreads(__tstate
); 
12318         if (PyErr_Occurred()) SWIG_fail
; 
12320     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12327 static PyObject 
*_wrap_Grid_AutoSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12328     PyObject 
*resultobj
; 
12329     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12330     PyObject 
* obj0 
= 0 ; 
12331     char *kwnames
[] = { 
12332         (char *) "self", NULL 
 
12335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
; 
12336     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12337     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12340         (arg1
)->AutoSize(); 
12342         wxPyEndAllowThreads(__tstate
); 
12343         if (PyErr_Occurred()) SWIG_fail
; 
12345     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12352 static PyObject 
*_wrap_Grid_AutoSizeRowLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12353     PyObject 
*resultobj
; 
12354     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12356     PyObject 
* obj0 
= 0 ; 
12357     PyObject 
* obj1 
= 0 ; 
12358     char *kwnames
[] = { 
12359         (char *) "self",(char *) "row", NULL 
 
12362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
12363     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12364     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12365     arg2 
= (int) SWIG_AsInt(obj1
);  
12366     if (PyErr_Occurred()) SWIG_fail
; 
12368         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12369         (arg1
)->AutoSizeRowLabelSize(arg2
); 
12371         wxPyEndAllowThreads(__tstate
); 
12372         if (PyErr_Occurred()) SWIG_fail
; 
12374     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12381 static PyObject 
*_wrap_Grid_AutoSizeColLabelSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12382     PyObject 
*resultobj
; 
12383     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12385     PyObject 
* obj0 
= 0 ; 
12386     PyObject 
* obj1 
= 0 ; 
12387     char *kwnames
[] = { 
12388         (char *) "self",(char *) "col", NULL 
 
12391     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
12392     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12393     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12394     arg2 
= (int) SWIG_AsInt(obj1
);  
12395     if (PyErr_Occurred()) SWIG_fail
; 
12397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12398         (arg1
)->AutoSizeColLabelSize(arg2
); 
12400         wxPyEndAllowThreads(__tstate
); 
12401         if (PyErr_Occurred()) SWIG_fail
; 
12403     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12410 static PyObject 
*_wrap_Grid_SetColMinimalWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12411     PyObject 
*resultobj
; 
12412     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12415     PyObject 
* obj0 
= 0 ; 
12416     PyObject 
* obj1 
= 0 ; 
12417     PyObject 
* obj2 
= 0 ; 
12418     char *kwnames
[] = { 
12419         (char *) "self",(char *) "col",(char *) "width", NULL 
 
12422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12423     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12424     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12425     arg2 
= (int) SWIG_AsInt(obj1
);  
12426     if (PyErr_Occurred()) SWIG_fail
; 
12427     arg3 
= (int) SWIG_AsInt(obj2
);  
12428     if (PyErr_Occurred()) SWIG_fail
; 
12430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12431         (arg1
)->SetColMinimalWidth(arg2
,arg3
); 
12433         wxPyEndAllowThreads(__tstate
); 
12434         if (PyErr_Occurred()) SWIG_fail
; 
12436     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12443 static PyObject 
*_wrap_Grid_SetRowMinimalHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12444     PyObject 
*resultobj
; 
12445     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12448     PyObject 
* obj0 
= 0 ; 
12449     PyObject 
* obj1 
= 0 ; 
12450     PyObject 
* obj2 
= 0 ; 
12451     char *kwnames
[] = { 
12452         (char *) "self",(char *) "row",(char *) "width", NULL 
 
12455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12456     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12457     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12458     arg2 
= (int) SWIG_AsInt(obj1
);  
12459     if (PyErr_Occurred()) SWIG_fail
; 
12460     arg3 
= (int) SWIG_AsInt(obj2
);  
12461     if (PyErr_Occurred()) SWIG_fail
; 
12463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12464         (arg1
)->SetRowMinimalHeight(arg2
,arg3
); 
12466         wxPyEndAllowThreads(__tstate
); 
12467         if (PyErr_Occurred()) SWIG_fail
; 
12469     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12476 static PyObject 
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12477     PyObject 
*resultobj
; 
12478     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12480     PyObject 
* obj0 
= 0 ; 
12481     PyObject 
* obj1 
= 0 ; 
12482     char *kwnames
[] = { 
12483         (char *) "self",(char *) "width", NULL 
 
12486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
12487     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12489     arg2 
= (int) SWIG_AsInt(obj1
);  
12490     if (PyErr_Occurred()) SWIG_fail
; 
12492         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12493         (arg1
)->SetColMinimalAcceptableWidth(arg2
); 
12495         wxPyEndAllowThreads(__tstate
); 
12496         if (PyErr_Occurred()) SWIG_fail
; 
12498     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12505 static PyObject 
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12506     PyObject 
*resultobj
; 
12507     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12509     PyObject 
* obj0 
= 0 ; 
12510     PyObject 
* obj1 
= 0 ; 
12511     char *kwnames
[] = { 
12512         (char *) "self",(char *) "width", NULL 
 
12515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
12516     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12517     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12518     arg2 
= (int) SWIG_AsInt(obj1
);  
12519     if (PyErr_Occurred()) SWIG_fail
; 
12521         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12522         (arg1
)->SetRowMinimalAcceptableHeight(arg2
); 
12524         wxPyEndAllowThreads(__tstate
); 
12525         if (PyErr_Occurred()) SWIG_fail
; 
12527     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12534 static PyObject 
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12535     PyObject 
*resultobj
; 
12536     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12538     PyObject 
* obj0 
= 0 ; 
12539     char *kwnames
[] = { 
12540         (char *) "self", NULL 
 
12543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
; 
12544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12548         result 
= (int)((wxGrid 
const *)arg1
)->GetColMinimalAcceptableWidth(); 
12550         wxPyEndAllowThreads(__tstate
); 
12551         if (PyErr_Occurred()) SWIG_fail
; 
12553     resultobj 
= SWIG_FromInt((int)result
); 
12560 static PyObject 
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12561     PyObject 
*resultobj
; 
12562     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12564     PyObject 
* obj0 
= 0 ; 
12565     char *kwnames
[] = { 
12566         (char *) "self", NULL 
 
12569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
; 
12570     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12571     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12573         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12574         result 
= (int)((wxGrid 
const *)arg1
)->GetRowMinimalAcceptableHeight(); 
12576         wxPyEndAllowThreads(__tstate
); 
12577         if (PyErr_Occurred()) SWIG_fail
; 
12579     resultobj 
= SWIG_FromInt((int)result
); 
12586 static PyObject 
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12587     PyObject 
*resultobj
; 
12588     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12589     wxColour 
*arg2 
= 0 ; 
12591     PyObject 
* obj0 
= 0 ; 
12592     PyObject 
* obj1 
= 0 ; 
12593     char *kwnames
[] = { 
12594         (char *) "self","arg2", NULL 
 
12597     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
12598     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12599     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12602         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
12605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12606         (arg1
)->SetDefaultCellBackgroundColour((wxColour 
const &)*arg2
); 
12608         wxPyEndAllowThreads(__tstate
); 
12609         if (PyErr_Occurred()) SWIG_fail
; 
12611     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12618 static PyObject 
*_wrap_Grid_SetCellBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12619     PyObject 
*resultobj
; 
12620     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12623     wxColour 
*arg4 
= 0 ; 
12625     PyObject 
* obj0 
= 0 ; 
12626     PyObject 
* obj1 
= 0 ; 
12627     PyObject 
* obj2 
= 0 ; 
12628     PyObject 
* obj3 
= 0 ; 
12629     char *kwnames
[] = { 
12630         (char *) "self",(char *) "row",(char *) "col","arg4", NULL 
 
12633     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12634     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12635     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12636     arg2 
= (int) SWIG_AsInt(obj1
);  
12637     if (PyErr_Occurred()) SWIG_fail
; 
12638     arg3 
= (int) SWIG_AsInt(obj2
);  
12639     if (PyErr_Occurred()) SWIG_fail
; 
12642         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
12645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12646         (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour 
const &)*arg4
); 
12648         wxPyEndAllowThreads(__tstate
); 
12649         if (PyErr_Occurred()) SWIG_fail
; 
12651     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12658 static PyObject 
*_wrap_Grid_SetDefaultCellTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12659     PyObject 
*resultobj
; 
12660     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12661     wxColour 
*arg2 
= 0 ; 
12663     PyObject 
* obj0 
= 0 ; 
12664     PyObject 
* obj1 
= 0 ; 
12665     char *kwnames
[] = { 
12666         (char *) "self","arg2", NULL 
 
12669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
12670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12674         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
12677         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12678         (arg1
)->SetDefaultCellTextColour((wxColour 
const &)*arg2
); 
12680         wxPyEndAllowThreads(__tstate
); 
12681         if (PyErr_Occurred()) SWIG_fail
; 
12683     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12690 static PyObject 
*_wrap_Grid_SetCellTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12691     PyObject 
*resultobj
; 
12692     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12695     wxColour 
*arg4 
= 0 ; 
12697     PyObject 
* obj0 
= 0 ; 
12698     PyObject 
* obj1 
= 0 ; 
12699     PyObject 
* obj2 
= 0 ; 
12700     PyObject 
* obj3 
= 0 ; 
12701     char *kwnames
[] = { 
12702         (char *) "self",(char *) "row",(char *) "col","arg4", NULL 
 
12705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12706     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12707     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12708     arg2 
= (int) SWIG_AsInt(obj1
);  
12709     if (PyErr_Occurred()) SWIG_fail
; 
12710     arg3 
= (int) SWIG_AsInt(obj2
);  
12711     if (PyErr_Occurred()) SWIG_fail
; 
12714         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
12717         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12718         (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour 
const &)*arg4
); 
12720         wxPyEndAllowThreads(__tstate
); 
12721         if (PyErr_Occurred()) SWIG_fail
; 
12723     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12730 static PyObject 
*_wrap_Grid_SetDefaultCellFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12731     PyObject 
*resultobj
; 
12732     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12734     PyObject 
* obj0 
= 0 ; 
12735     PyObject 
* obj1 
= 0 ; 
12736     char *kwnames
[] = { 
12737         (char *) "self","arg2", NULL 
 
12740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
12741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12743     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
12744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12746     if (arg2 
== NULL
) { 
12747         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12751         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12752         (arg1
)->SetDefaultCellFont((wxFont 
const &)*arg2
); 
12754         wxPyEndAllowThreads(__tstate
); 
12755         if (PyErr_Occurred()) SWIG_fail
; 
12757     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12764 static PyObject 
*_wrap_Grid_SetCellFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12765     PyObject 
*resultobj
; 
12766     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12770     PyObject 
* obj0 
= 0 ; 
12771     PyObject 
* obj1 
= 0 ; 
12772     PyObject 
* obj2 
= 0 ; 
12773     PyObject 
* obj3 
= 0 ; 
12774     char *kwnames
[] = { 
12775         (char *) "self",(char *) "row",(char *) "col","arg4", NULL 
 
12778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12779     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12780     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12781     arg2 
= (int) SWIG_AsInt(obj1
);  
12782     if (PyErr_Occurred()) SWIG_fail
; 
12783     arg3 
= (int) SWIG_AsInt(obj2
);  
12784     if (PyErr_Occurred()) SWIG_fail
; 
12785     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
, 
12786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12788     if (arg4 
== NULL
) { 
12789         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12794         (arg1
)->SetCellFont(arg2
,arg3
,(wxFont 
const &)*arg4
); 
12796         wxPyEndAllowThreads(__tstate
); 
12797         if (PyErr_Occurred()) SWIG_fail
; 
12799     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12806 static PyObject 
*_wrap_Grid_SetDefaultCellAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12807     PyObject 
*resultobj
; 
12808     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12811     PyObject 
* obj0 
= 0 ; 
12812     PyObject 
* obj1 
= 0 ; 
12813     PyObject 
* obj2 
= 0 ; 
12814     char *kwnames
[] = { 
12815         (char *) "self",(char *) "horiz",(char *) "vert", NULL 
 
12818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12819     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12820     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12821     arg2 
= (int) SWIG_AsInt(obj1
);  
12822     if (PyErr_Occurred()) SWIG_fail
; 
12823     arg3 
= (int) SWIG_AsInt(obj2
);  
12824     if (PyErr_Occurred()) SWIG_fail
; 
12826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12827         (arg1
)->SetDefaultCellAlignment(arg2
,arg3
); 
12829         wxPyEndAllowThreads(__tstate
); 
12830         if (PyErr_Occurred()) SWIG_fail
; 
12832     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12839 static PyObject 
*_wrap_Grid_SetCellAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12840     PyObject 
*resultobj
; 
12841     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12846     PyObject 
* obj0 
= 0 ; 
12847     PyObject 
* obj1 
= 0 ; 
12848     PyObject 
* obj2 
= 0 ; 
12849     PyObject 
* obj3 
= 0 ; 
12850     PyObject 
* obj4 
= 0 ; 
12851     char *kwnames
[] = { 
12852         (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL 
 
12855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12856     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12857     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12858     arg2 
= (int) SWIG_AsInt(obj1
);  
12859     if (PyErr_Occurred()) SWIG_fail
; 
12860     arg3 
= (int) SWIG_AsInt(obj2
);  
12861     if (PyErr_Occurred()) SWIG_fail
; 
12862     arg4 
= (int) SWIG_AsInt(obj3
);  
12863     if (PyErr_Occurred()) SWIG_fail
; 
12864     arg5 
= (int) SWIG_AsInt(obj4
);  
12865     if (PyErr_Occurred()) SWIG_fail
; 
12867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12868         (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
); 
12870         wxPyEndAllowThreads(__tstate
); 
12871         if (PyErr_Occurred()) SWIG_fail
; 
12873     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12880 static PyObject 
*_wrap_Grid_SetDefaultCellOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12881     PyObject 
*resultobj
; 
12882     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12884     PyObject 
* obj0 
= 0 ; 
12885     PyObject 
* obj1 
= 0 ; 
12886     char *kwnames
[] = { 
12887         (char *) "self",(char *) "allow", NULL 
 
12890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
; 
12891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12893     arg2 
= (bool) SWIG_AsBool(obj1
);  
12894     if (PyErr_Occurred()) SWIG_fail
; 
12896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12897         (arg1
)->SetDefaultCellOverflow(arg2
); 
12899         wxPyEndAllowThreads(__tstate
); 
12900         if (PyErr_Occurred()) SWIG_fail
; 
12902     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12909 static PyObject 
*_wrap_Grid_SetCellOverflow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12910     PyObject 
*resultobj
; 
12911     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12915     PyObject 
* obj0 
= 0 ; 
12916     PyObject 
* obj1 
= 0 ; 
12917     PyObject 
* obj2 
= 0 ; 
12918     PyObject 
* obj3 
= 0 ; 
12919     char *kwnames
[] = { 
12920         (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL 
 
12923     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12924     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12925     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12926     arg2 
= (int) SWIG_AsInt(obj1
);  
12927     if (PyErr_Occurred()) SWIG_fail
; 
12928     arg3 
= (int) SWIG_AsInt(obj2
);  
12929     if (PyErr_Occurred()) SWIG_fail
; 
12930     arg4 
= (bool) SWIG_AsBool(obj3
);  
12931     if (PyErr_Occurred()) SWIG_fail
; 
12933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12934         (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
); 
12936         wxPyEndAllowThreads(__tstate
); 
12937         if (PyErr_Occurred()) SWIG_fail
; 
12939     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12946 static PyObject 
*_wrap_Grid_SetCellSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12947     PyObject 
*resultobj
; 
12948     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12953     PyObject 
* obj0 
= 0 ; 
12954     PyObject 
* obj1 
= 0 ; 
12955     PyObject 
* obj2 
= 0 ; 
12956     PyObject 
* obj3 
= 0 ; 
12957     PyObject 
* obj4 
= 0 ; 
12958     char *kwnames
[] = { 
12959         (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL 
 
12962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12963     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12964     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12965     arg2 
= (int) SWIG_AsInt(obj1
);  
12966     if (PyErr_Occurred()) SWIG_fail
; 
12967     arg3 
= (int) SWIG_AsInt(obj2
);  
12968     if (PyErr_Occurred()) SWIG_fail
; 
12969     arg4 
= (int) SWIG_AsInt(obj3
);  
12970     if (PyErr_Occurred()) SWIG_fail
; 
12971     arg5 
= (int) SWIG_AsInt(obj4
);  
12972     if (PyErr_Occurred()) SWIG_fail
; 
12974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12975         (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
); 
12977         wxPyEndAllowThreads(__tstate
); 
12978         if (PyErr_Occurred()) SWIG_fail
; 
12980     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12987 static PyObject 
*_wrap_Grid_SetDefaultRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12988     PyObject 
*resultobj
; 
12989     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
12990     wxGridCellRenderer 
*arg2 
= (wxGridCellRenderer 
*) 0 ; 
12991     PyObject 
* obj0 
= 0 ; 
12992     PyObject 
* obj1 
= 0 ; 
12993     char *kwnames
[] = { 
12994         (char *) "self",(char *) "renderer", NULL 
 
12997     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
; 
12998     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
12999     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13000     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
, 
13001     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13004         (arg1
)->SetDefaultRenderer(arg2
); 
13006         wxPyEndAllowThreads(__tstate
); 
13007         if (PyErr_Occurred()) SWIG_fail
; 
13009     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13016 static PyObject 
*_wrap_Grid_SetCellRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13017     PyObject 
*resultobj
; 
13018     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13021     wxGridCellRenderer 
*arg4 
= (wxGridCellRenderer 
*) 0 ; 
13022     PyObject 
* obj0 
= 0 ; 
13023     PyObject 
* obj1 
= 0 ; 
13024     PyObject 
* obj2 
= 0 ; 
13025     PyObject 
* obj3 
= 0 ; 
13026     char *kwnames
[] = { 
13027         (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL 
 
13030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13031     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13032     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13033     arg2 
= (int) SWIG_AsInt(obj1
);  
13034     if (PyErr_Occurred()) SWIG_fail
; 
13035     arg3 
= (int) SWIG_AsInt(obj2
);  
13036     if (PyErr_Occurred()) SWIG_fail
; 
13037     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
, 
13038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13041         (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
); 
13043         wxPyEndAllowThreads(__tstate
); 
13044         if (PyErr_Occurred()) SWIG_fail
; 
13046     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13053 static PyObject 
*_wrap_Grid_GetDefaultRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13054     PyObject 
*resultobj
; 
13055     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13056     wxGridCellRenderer 
*result
; 
13057     PyObject 
* obj0 
= 0 ; 
13058     char *kwnames
[] = { 
13059         (char *) "self", NULL 
 
13062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
; 
13063     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13064     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13066         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13067         result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRenderer(); 
13069         wxPyEndAllowThreads(__tstate
); 
13070         if (PyErr_Occurred()) SWIG_fail
; 
13073         resultobj 
= wxPyMake_wxGridCellRenderer(result
, 0);  
13081 static PyObject 
*_wrap_Grid_GetCellRenderer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13082     PyObject 
*resultobj
; 
13083     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13086     wxGridCellRenderer 
*result
; 
13087     PyObject 
* obj0 
= 0 ; 
13088     PyObject 
* obj1 
= 0 ; 
13089     PyObject 
* obj2 
= 0 ; 
13090     char *kwnames
[] = { 
13091         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13095     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13096     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13097     arg2 
= (int) SWIG_AsInt(obj1
);  
13098     if (PyErr_Occurred()) SWIG_fail
; 
13099     arg3 
= (int) SWIG_AsInt(obj2
);  
13100     if (PyErr_Occurred()) SWIG_fail
; 
13102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13103         result 
= (wxGridCellRenderer 
*)(arg1
)->GetCellRenderer(arg2
,arg3
); 
13105         wxPyEndAllowThreads(__tstate
); 
13106         if (PyErr_Occurred()) SWIG_fail
; 
13109         resultobj 
= wxPyMake_wxGridCellRenderer(result
, 0);  
13117 static PyObject 
*_wrap_Grid_SetDefaultEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13118     PyObject 
*resultobj
; 
13119     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13120     wxGridCellEditor 
*arg2 
= (wxGridCellEditor 
*) 0 ; 
13121     PyObject 
* obj0 
= 0 ; 
13122     PyObject 
* obj1 
= 0 ; 
13123     char *kwnames
[] = { 
13124         (char *) "self",(char *) "editor", NULL 
 
13127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
; 
13128     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13129     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13130     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
, 
13131     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13134         (arg1
)->SetDefaultEditor(arg2
); 
13136         wxPyEndAllowThreads(__tstate
); 
13137         if (PyErr_Occurred()) SWIG_fail
; 
13139     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13146 static PyObject 
*_wrap_Grid_SetCellEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13147     PyObject 
*resultobj
; 
13148     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13151     wxGridCellEditor 
*arg4 
= (wxGridCellEditor 
*) 0 ; 
13152     PyObject 
* obj0 
= 0 ; 
13153     PyObject 
* obj1 
= 0 ; 
13154     PyObject 
* obj2 
= 0 ; 
13155     PyObject 
* obj3 
= 0 ; 
13156     char *kwnames
[] = { 
13157         (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL 
 
13160     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13161     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13162     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13163     arg2 
= (int) SWIG_AsInt(obj1
);  
13164     if (PyErr_Occurred()) SWIG_fail
; 
13165     arg3 
= (int) SWIG_AsInt(obj2
);  
13166     if (PyErr_Occurred()) SWIG_fail
; 
13167     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
, 
13168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13170         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13171         (arg1
)->SetCellEditor(arg2
,arg3
,arg4
); 
13173         wxPyEndAllowThreads(__tstate
); 
13174         if (PyErr_Occurred()) SWIG_fail
; 
13176     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13183 static PyObject 
*_wrap_Grid_GetDefaultEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13184     PyObject 
*resultobj
; 
13185     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13186     wxGridCellEditor 
*result
; 
13187     PyObject 
* obj0 
= 0 ; 
13188     char *kwnames
[] = { 
13189         (char *) "self", NULL 
 
13192     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
; 
13193     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13194     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13196         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13197         result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditor(); 
13199         wxPyEndAllowThreads(__tstate
); 
13200         if (PyErr_Occurred()) SWIG_fail
; 
13203         resultobj 
= wxPyMake_wxGridCellEditor(result
, 0);  
13211 static PyObject 
*_wrap_Grid_GetCellEditor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13212     PyObject 
*resultobj
; 
13213     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13216     wxGridCellEditor 
*result
; 
13217     PyObject 
* obj0 
= 0 ; 
13218     PyObject 
* obj1 
= 0 ; 
13219     PyObject 
* obj2 
= 0 ; 
13220     char *kwnames
[] = { 
13221         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13225     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13226     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13227     arg2 
= (int) SWIG_AsInt(obj1
);  
13228     if (PyErr_Occurred()) SWIG_fail
; 
13229     arg3 
= (int) SWIG_AsInt(obj2
);  
13230     if (PyErr_Occurred()) SWIG_fail
; 
13232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13233         result 
= (wxGridCellEditor 
*)(arg1
)->GetCellEditor(arg2
,arg3
); 
13235         wxPyEndAllowThreads(__tstate
); 
13236         if (PyErr_Occurred()) SWIG_fail
; 
13239         resultobj 
= wxPyMake_wxGridCellEditor(result
, 0);  
13247 static PyObject 
*_wrap_Grid_GetCellValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13248     PyObject 
*resultobj
; 
13249     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13253     PyObject 
* obj0 
= 0 ; 
13254     PyObject 
* obj1 
= 0 ; 
13255     PyObject 
* obj2 
= 0 ; 
13256     char *kwnames
[] = { 
13257         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13261     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13262     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13263     arg2 
= (int) SWIG_AsInt(obj1
);  
13264     if (PyErr_Occurred()) SWIG_fail
; 
13265     arg3 
= (int) SWIG_AsInt(obj2
);  
13266     if (PyErr_Occurred()) SWIG_fail
; 
13268         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13269         result 
= (arg1
)->GetCellValue(arg2
,arg3
); 
13271         wxPyEndAllowThreads(__tstate
); 
13272         if (PyErr_Occurred()) SWIG_fail
; 
13276         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13278         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13287 static PyObject 
*_wrap_Grid_SetCellValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13288     PyObject 
*resultobj
; 
13289     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13292     wxString 
*arg4 
= 0 ; 
13293     bool temp4 
= False 
; 
13294     PyObject 
* obj0 
= 0 ; 
13295     PyObject 
* obj1 
= 0 ; 
13296     PyObject 
* obj2 
= 0 ; 
13297     PyObject 
* obj3 
= 0 ; 
13298     char *kwnames
[] = { 
13299         (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL 
 
13302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
; 
13307     arg3 
= (int) SWIG_AsInt(obj2
);  
13308     if (PyErr_Occurred()) SWIG_fail
; 
13310         arg4 
= wxString_in_helper(obj3
); 
13311         if (arg4 
== NULL
) SWIG_fail
; 
13315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13316         (arg1
)->SetCellValue(arg2
,arg3
,(wxString 
const &)*arg4
); 
13318         wxPyEndAllowThreads(__tstate
); 
13319         if (PyErr_Occurred()) SWIG_fail
; 
13321     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13336 static PyObject 
*_wrap_Grid_IsReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13337     PyObject 
*resultobj
; 
13338     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13342     PyObject 
* obj0 
= 0 ; 
13343     PyObject 
* obj1 
= 0 ; 
13344     PyObject 
* obj2 
= 0 ; 
13345     char *kwnames
[] = { 
13346         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13349     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13350     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13351     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13352     arg2 
= (int) SWIG_AsInt(obj1
);  
13353     if (PyErr_Occurred()) SWIG_fail
; 
13354     arg3 
= (int) SWIG_AsInt(obj2
);  
13355     if (PyErr_Occurred()) SWIG_fail
; 
13357         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13358         result 
= (bool)((wxGrid 
const *)arg1
)->IsReadOnly(arg2
,arg3
); 
13360         wxPyEndAllowThreads(__tstate
); 
13361         if (PyErr_Occurred()) SWIG_fail
; 
13364         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13372 static PyObject 
*_wrap_Grid_SetReadOnly(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13373     PyObject 
*resultobj
; 
13374     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13377     bool arg4 
= (bool) True 
; 
13378     PyObject 
* obj0 
= 0 ; 
13379     PyObject 
* obj1 
= 0 ; 
13380     PyObject 
* obj2 
= 0 ; 
13381     PyObject 
* obj3 
= 0 ; 
13382     char *kwnames
[] = { 
13383         (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL 
 
13386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13387     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13388     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13389     arg2 
= (int) SWIG_AsInt(obj1
);  
13390     if (PyErr_Occurred()) SWIG_fail
; 
13391     arg3 
= (int) SWIG_AsInt(obj2
);  
13392     if (PyErr_Occurred()) SWIG_fail
; 
13394         arg4 
= (bool) SWIG_AsBool(obj3
);  
13395         if (PyErr_Occurred()) SWIG_fail
; 
13398         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13399         (arg1
)->SetReadOnly(arg2
,arg3
,arg4
); 
13401         wxPyEndAllowThreads(__tstate
); 
13402         if (PyErr_Occurred()) SWIG_fail
; 
13404     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13411 static PyObject 
*_wrap_Grid_SelectRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13412     PyObject 
*resultobj
; 
13413     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13415     bool arg3 
= (bool) False 
; 
13416     PyObject 
* obj0 
= 0 ; 
13417     PyObject 
* obj1 
= 0 ; 
13418     PyObject 
* obj2 
= 0 ; 
13419     char *kwnames
[] = { 
13420         (char *) "self",(char *) "row",(char *) "addToSelected", NULL 
 
13423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13424     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13425     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13426     arg2 
= (int) SWIG_AsInt(obj1
);  
13427     if (PyErr_Occurred()) SWIG_fail
; 
13429         arg3 
= (bool) SWIG_AsBool(obj2
);  
13430         if (PyErr_Occurred()) SWIG_fail
; 
13433         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13434         (arg1
)->SelectRow(arg2
,arg3
); 
13436         wxPyEndAllowThreads(__tstate
); 
13437         if (PyErr_Occurred()) SWIG_fail
; 
13439     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13446 static PyObject 
*_wrap_Grid_SelectCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13447     PyObject 
*resultobj
; 
13448     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13450     bool arg3 
= (bool) False 
; 
13451     PyObject 
* obj0 
= 0 ; 
13452     PyObject 
* obj1 
= 0 ; 
13453     PyObject 
* obj2 
= 0 ; 
13454     char *kwnames
[] = { 
13455         (char *) "self",(char *) "col",(char *) "addToSelected", NULL 
 
13458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13459     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13460     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13461     arg2 
= (int) SWIG_AsInt(obj1
);  
13462     if (PyErr_Occurred()) SWIG_fail
; 
13464         arg3 
= (bool) SWIG_AsBool(obj2
);  
13465         if (PyErr_Occurred()) SWIG_fail
; 
13468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13469         (arg1
)->SelectCol(arg2
,arg3
); 
13471         wxPyEndAllowThreads(__tstate
); 
13472         if (PyErr_Occurred()) SWIG_fail
; 
13474     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13481 static PyObject 
*_wrap_Grid_SelectBlock(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13482     PyObject 
*resultobj
; 
13483     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13488     bool arg6 
= (bool) False 
; 
13489     PyObject 
* obj0 
= 0 ; 
13490     PyObject 
* obj1 
= 0 ; 
13491     PyObject 
* obj2 
= 0 ; 
13492     PyObject 
* obj3 
= 0 ; 
13493     PyObject 
* obj4 
= 0 ; 
13494     PyObject 
* obj5 
= 0 ; 
13495     char *kwnames
[] = { 
13496         (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL 
 
13499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
13500     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13501     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13502     arg2 
= (int) SWIG_AsInt(obj1
);  
13503     if (PyErr_Occurred()) SWIG_fail
; 
13504     arg3 
= (int) SWIG_AsInt(obj2
);  
13505     if (PyErr_Occurred()) SWIG_fail
; 
13506     arg4 
= (int) SWIG_AsInt(obj3
);  
13507     if (PyErr_Occurred()) SWIG_fail
; 
13508     arg5 
= (int) SWIG_AsInt(obj4
);  
13509     if (PyErr_Occurred()) SWIG_fail
; 
13511         arg6 
= (bool) SWIG_AsBool(obj5
);  
13512         if (PyErr_Occurred()) SWIG_fail
; 
13515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13516         (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
); 
13518         wxPyEndAllowThreads(__tstate
); 
13519         if (PyErr_Occurred()) SWIG_fail
; 
13521     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13528 static PyObject 
*_wrap_Grid_SelectAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13529     PyObject 
*resultobj
; 
13530     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13531     PyObject 
* obj0 
= 0 ; 
13532     char *kwnames
[] = { 
13533         (char *) "self", NULL 
 
13536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
; 
13537     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13538     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13540         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13541         (arg1
)->SelectAll(); 
13543         wxPyEndAllowThreads(__tstate
); 
13544         if (PyErr_Occurred()) SWIG_fail
; 
13546     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13553 static PyObject 
*_wrap_Grid_IsSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13554     PyObject 
*resultobj
; 
13555     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13557     PyObject 
* obj0 
= 0 ; 
13558     char *kwnames
[] = { 
13559         (char *) "self", NULL 
 
13562     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
; 
13563     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13564     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13566         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13567         result 
= (bool)(arg1
)->IsSelection(); 
13569         wxPyEndAllowThreads(__tstate
); 
13570         if (PyErr_Occurred()) SWIG_fail
; 
13573         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13581 static PyObject 
*_wrap_Grid_ClearSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13582     PyObject 
*resultobj
; 
13583     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13584     PyObject 
* obj0 
= 0 ; 
13585     char *kwnames
[] = { 
13586         (char *) "self", NULL 
 
13589     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
; 
13590     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13591     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13593         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13594         (arg1
)->ClearSelection(); 
13596         wxPyEndAllowThreads(__tstate
); 
13597         if (PyErr_Occurred()) SWIG_fail
; 
13599     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13606 static PyObject 
*_wrap_Grid_IsInSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13607     PyObject 
*resultobj
; 
13608     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13612     PyObject 
* obj0 
= 0 ; 
13613     PyObject 
* obj1 
= 0 ; 
13614     PyObject 
* obj2 
= 0 ; 
13615     char *kwnames
[] = { 
13616         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13620     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13621     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13622     arg2 
= (int) SWIG_AsInt(obj1
);  
13623     if (PyErr_Occurred()) SWIG_fail
; 
13624     arg3 
= (int) SWIG_AsInt(obj2
);  
13625     if (PyErr_Occurred()) SWIG_fail
; 
13627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13628         result 
= (bool)(arg1
)->IsInSelection(arg2
,arg3
); 
13630         wxPyEndAllowThreads(__tstate
); 
13631         if (PyErr_Occurred()) SWIG_fail
; 
13634         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13642 static PyObject 
*_wrap_Grid_GetSelectedCells(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13643     PyObject 
*resultobj
; 
13644     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13645     wxGridCellCoordsArray result
; 
13646     PyObject 
* obj0 
= 0 ; 
13647     char *kwnames
[] = { 
13648         (char *) "self", NULL 
 
13651     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
; 
13652     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13653     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13656         result 
= ((wxGrid 
const *)arg1
)->GetSelectedCells(); 
13658         wxPyEndAllowThreads(__tstate
); 
13659         if (PyErr_Occurred()) SWIG_fail
; 
13662         resultobj 
= wxGridCellCoordsArray_helper(result
); 
13670 static PyObject 
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13671     PyObject 
*resultobj
; 
13672     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13673     wxGridCellCoordsArray result
; 
13674     PyObject 
* obj0 
= 0 ; 
13675     char *kwnames
[] = { 
13676         (char *) "self", NULL 
 
13679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
; 
13680     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13681     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13683         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13684         result 
= ((wxGrid 
const *)arg1
)->GetSelectionBlockTopLeft(); 
13686         wxPyEndAllowThreads(__tstate
); 
13687         if (PyErr_Occurred()) SWIG_fail
; 
13690         resultobj 
= wxGridCellCoordsArray_helper(result
); 
13698 static PyObject 
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13699     PyObject 
*resultobj
; 
13700     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13701     wxGridCellCoordsArray result
; 
13702     PyObject 
* obj0 
= 0 ; 
13703     char *kwnames
[] = { 
13704         (char *) "self", NULL 
 
13707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
; 
13708     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13709     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13712         result 
= ((wxGrid 
const *)arg1
)->GetSelectionBlockBottomRight(); 
13714         wxPyEndAllowThreads(__tstate
); 
13715         if (PyErr_Occurred()) SWIG_fail
; 
13718         resultobj 
= wxGridCellCoordsArray_helper(result
); 
13726 static PyObject 
*_wrap_Grid_GetSelectedRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13727     PyObject 
*resultobj
; 
13728     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13730     PyObject 
* obj0 
= 0 ; 
13731     char *kwnames
[] = { 
13732         (char *) "self", NULL 
 
13735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
; 
13736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13740         result 
= ((wxGrid 
const *)arg1
)->GetSelectedRows(); 
13742         wxPyEndAllowThreads(__tstate
); 
13743         if (PyErr_Occurred()) SWIG_fail
; 
13746         resultobj 
= PyList_New(0); 
13748         for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
13749             PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
13750             PyList_Append(resultobj
, val
); 
13760 static PyObject 
*_wrap_Grid_GetSelectedCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13761     PyObject 
*resultobj
; 
13762     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13764     PyObject 
* obj0 
= 0 ; 
13765     char *kwnames
[] = { 
13766         (char *) "self", NULL 
 
13769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
; 
13770     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13771     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13773         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13774         result 
= ((wxGrid 
const *)arg1
)->GetSelectedCols(); 
13776         wxPyEndAllowThreads(__tstate
); 
13777         if (PyErr_Occurred()) SWIG_fail
; 
13780         resultobj 
= PyList_New(0); 
13782         for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
13783             PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
13784             PyList_Append(resultobj
, val
); 
13794 static PyObject 
*_wrap_Grid_DeselectRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13795     PyObject 
*resultobj
; 
13796     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13798     PyObject 
* obj0 
= 0 ; 
13799     PyObject 
* obj1 
= 0 ; 
13800     char *kwnames
[] = { 
13801         (char *) "self",(char *) "row", NULL 
 
13804     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
13805     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13806     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13807     arg2 
= (int) SWIG_AsInt(obj1
);  
13808     if (PyErr_Occurred()) SWIG_fail
; 
13810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13811         (arg1
)->DeselectRow(arg2
); 
13813         wxPyEndAllowThreads(__tstate
); 
13814         if (PyErr_Occurred()) SWIG_fail
; 
13816     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13823 static PyObject 
*_wrap_Grid_DeselectCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13824     PyObject 
*resultobj
; 
13825     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13827     PyObject 
* obj0 
= 0 ; 
13828     PyObject 
* obj1 
= 0 ; 
13829     char *kwnames
[] = { 
13830         (char *) "self",(char *) "col", NULL 
 
13833     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
13834     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13835     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13836     arg2 
= (int) SWIG_AsInt(obj1
);  
13837     if (PyErr_Occurred()) SWIG_fail
; 
13839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13840         (arg1
)->DeselectCol(arg2
); 
13842         wxPyEndAllowThreads(__tstate
); 
13843         if (PyErr_Occurred()) SWIG_fail
; 
13845     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13852 static PyObject 
*_wrap_Grid_DeselectCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13853     PyObject 
*resultobj
; 
13854     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13857     PyObject 
* obj0 
= 0 ; 
13858     PyObject 
* obj1 
= 0 ; 
13859     PyObject 
* obj2 
= 0 ; 
13860     char *kwnames
[] = { 
13861         (char *) "self",(char *) "row",(char *) "col", NULL 
 
13864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13865     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13866     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13867     arg2 
= (int) SWIG_AsInt(obj1
);  
13868     if (PyErr_Occurred()) SWIG_fail
; 
13869     arg3 
= (int) SWIG_AsInt(obj2
);  
13870     if (PyErr_Occurred()) SWIG_fail
; 
13872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13873         (arg1
)->DeselectCell(arg2
,arg3
); 
13875         wxPyEndAllowThreads(__tstate
); 
13876         if (PyErr_Occurred()) SWIG_fail
; 
13878     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13885 static PyObject 
*_wrap_Grid_BlockToDeviceRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13886     PyObject 
*resultobj
; 
13887     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13888     wxGridCellCoords 
*arg2 
= 0 ; 
13889     wxGridCellCoords 
*arg3 
= 0 ; 
13891     wxGridCellCoords temp2 
; 
13892     wxGridCellCoords temp3 
; 
13893     PyObject 
* obj0 
= 0 ; 
13894     PyObject 
* obj1 
= 0 ; 
13895     PyObject 
* obj2 
= 0 ; 
13896     char *kwnames
[] = { 
13897         (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL 
 
13900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13901     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13902     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13905         if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
; 
13909         if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
; 
13912         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13913         result 
= (arg1
)->BlockToDeviceRect((wxGridCellCoords 
const &)*arg2
,(wxGridCellCoords 
const &)*arg3
); 
13915         wxPyEndAllowThreads(__tstate
); 
13916         if (PyErr_Occurred()) SWIG_fail
; 
13919         wxRect 
* resultptr
; 
13920         resultptr 
= new wxRect((wxRect 
&) result
); 
13921         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
13929 static PyObject 
*_wrap_Grid_GetSelectionBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13930     PyObject 
*resultobj
; 
13931     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13933     PyObject 
* obj0 
= 0 ; 
13934     char *kwnames
[] = { 
13935         (char *) "self", NULL 
 
13938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
; 
13939     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13940     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13942         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13943         result 
= ((wxGrid 
const *)arg1
)->GetSelectionBackground(); 
13945         wxPyEndAllowThreads(__tstate
); 
13946         if (PyErr_Occurred()) SWIG_fail
; 
13949         wxColour 
* resultptr
; 
13950         resultptr 
= new wxColour((wxColour 
&) result
); 
13951         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
13959 static PyObject 
*_wrap_Grid_GetSelectionForeground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13960     PyObject 
*resultobj
; 
13961     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13963     PyObject 
* obj0 
= 0 ; 
13964     char *kwnames
[] = { 
13965         (char *) "self", NULL 
 
13968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
; 
13969     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
13970     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13972         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13973         result 
= ((wxGrid 
const *)arg1
)->GetSelectionForeground(); 
13975         wxPyEndAllowThreads(__tstate
); 
13976         if (PyErr_Occurred()) SWIG_fail
; 
13979         wxColour 
* resultptr
; 
13980         resultptr 
= new wxColour((wxColour 
&) result
); 
13981         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
13989 static PyObject 
*_wrap_Grid_SetSelectionBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13990     PyObject 
*resultobj
; 
13991     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
13992     wxColour 
*arg2 
= 0 ; 
13994     PyObject 
* obj0 
= 0 ; 
13995     PyObject 
* obj1 
= 0 ; 
13996     char *kwnames
[] = { 
13997         (char *) "self",(char *) "c", NULL 
 
14000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
14001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14005         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
14008         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14009         (arg1
)->SetSelectionBackground((wxColour 
const &)*arg2
); 
14011         wxPyEndAllowThreads(__tstate
); 
14012         if (PyErr_Occurred()) SWIG_fail
; 
14014     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14021 static PyObject 
*_wrap_Grid_SetSelectionForeground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14022     PyObject 
*resultobj
; 
14023     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14024     wxColour 
*arg2 
= 0 ; 
14026     PyObject 
* obj0 
= 0 ; 
14027     PyObject 
* obj1 
= 0 ; 
14028     char *kwnames
[] = { 
14029         (char *) "self",(char *) "c", NULL 
 
14032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
; 
14033     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14034     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14037         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
14040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14041         (arg1
)->SetSelectionForeground((wxColour 
const &)*arg2
); 
14043         wxPyEndAllowThreads(__tstate
); 
14044         if (PyErr_Occurred()) SWIG_fail
; 
14046     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14053 static PyObject 
*_wrap_Grid_RegisterDataType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14054     PyObject 
*resultobj
; 
14055     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14056     wxString 
*arg2 
= 0 ; 
14057     wxGridCellRenderer 
*arg3 
= (wxGridCellRenderer 
*) 0 ; 
14058     wxGridCellEditor 
*arg4 
= (wxGridCellEditor 
*) 0 ; 
14059     bool temp2 
= False 
; 
14060     PyObject 
* obj0 
= 0 ; 
14061     PyObject 
* obj1 
= 0 ; 
14062     PyObject 
* obj2 
= 0 ; 
14063     PyObject 
* obj3 
= 0 ; 
14064     char *kwnames
[] = { 
14065         (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL 
 
14068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14072         arg2 
= wxString_in_helper(obj1
); 
14073         if (arg2 
== NULL
) SWIG_fail
; 
14076     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
, 
14077     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14078     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
, 
14079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14082         (arg1
)->RegisterDataType((wxString 
const &)*arg2
,arg3
,arg4
); 
14084         wxPyEndAllowThreads(__tstate
); 
14085         if (PyErr_Occurred()) SWIG_fail
; 
14087     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14102 static PyObject 
*_wrap_Grid_GetDefaultEditorForCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14103     PyObject 
*resultobj
; 
14104     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14107     wxGridCellEditor 
*result
; 
14108     PyObject 
* obj0 
= 0 ; 
14109     PyObject 
* obj1 
= 0 ; 
14110     PyObject 
* obj2 
= 0 ; 
14111     char *kwnames
[] = { 
14112         (char *) "self",(char *) "row",(char *) "col", NULL 
 
14115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14116     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14117     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14118     arg2 
= (int) SWIG_AsInt(obj1
);  
14119     if (PyErr_Occurred()) SWIG_fail
; 
14120     arg3 
= (int) SWIG_AsInt(obj2
);  
14121     if (PyErr_Occurred()) SWIG_fail
; 
14123         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14124         result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
); 
14126         wxPyEndAllowThreads(__tstate
); 
14127         if (PyErr_Occurred()) SWIG_fail
; 
14130         resultobj 
= wxPyMake_wxGridCellEditor(result
, 0);  
14138 static PyObject 
*_wrap_Grid_GetDefaultRendererForCell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14139     PyObject 
*resultobj
; 
14140     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14143     wxGridCellRenderer 
*result
; 
14144     PyObject 
* obj0 
= 0 ; 
14145     PyObject 
* obj1 
= 0 ; 
14146     PyObject 
* obj2 
= 0 ; 
14147     char *kwnames
[] = { 
14148         (char *) "self",(char *) "row",(char *) "col", NULL 
 
14151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14152     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14154     arg2 
= (int) SWIG_AsInt(obj1
);  
14155     if (PyErr_Occurred()) SWIG_fail
; 
14156     arg3 
= (int) SWIG_AsInt(obj2
);  
14157     if (PyErr_Occurred()) SWIG_fail
; 
14159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14160         result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
); 
14162         wxPyEndAllowThreads(__tstate
); 
14163         if (PyErr_Occurred()) SWIG_fail
; 
14166         resultobj 
= wxPyMake_wxGridCellRenderer(result
, 0);  
14174 static PyObject 
*_wrap_Grid_GetDefaultEditorForType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14175     PyObject 
*resultobj
; 
14176     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14177     wxString 
*arg2 
= 0 ; 
14178     wxGridCellEditor 
*result
; 
14179     bool temp2 
= False 
; 
14180     PyObject 
* obj0 
= 0 ; 
14181     PyObject 
* obj1 
= 0 ; 
14182     char *kwnames
[] = { 
14183         (char *) "self",(char *) "typeName", NULL 
 
14186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
; 
14187     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14188     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14190         arg2 
= wxString_in_helper(obj1
); 
14191         if (arg2 
== NULL
) SWIG_fail
; 
14195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14196         result 
= (wxGridCellEditor 
*)((wxGrid 
const *)arg1
)->GetDefaultEditorForType((wxString 
const &)*arg2
); 
14198         wxPyEndAllowThreads(__tstate
); 
14199         if (PyErr_Occurred()) SWIG_fail
; 
14202         resultobj 
= wxPyMake_wxGridCellEditor(result
, 0);  
14218 static PyObject 
*_wrap_Grid_GetDefaultRendererForType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14219     PyObject 
*resultobj
; 
14220     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14221     wxString 
*arg2 
= 0 ; 
14222     wxGridCellRenderer 
*result
; 
14223     bool temp2 
= False 
; 
14224     PyObject 
* obj0 
= 0 ; 
14225     PyObject 
* obj1 
= 0 ; 
14226     char *kwnames
[] = { 
14227         (char *) "self",(char *) "typeName", NULL 
 
14230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
; 
14231     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14232     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14234         arg2 
= wxString_in_helper(obj1
); 
14235         if (arg2 
== NULL
) SWIG_fail
; 
14239         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14240         result 
= (wxGridCellRenderer 
*)((wxGrid 
const *)arg1
)->GetDefaultRendererForType((wxString 
const &)*arg2
); 
14242         wxPyEndAllowThreads(__tstate
); 
14243         if (PyErr_Occurred()) SWIG_fail
; 
14246         resultobj 
= wxPyMake_wxGridCellRenderer(result
, 0);  
14262 static PyObject 
*_wrap_Grid_SetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14263     PyObject 
*resultobj
; 
14264     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14267     PyObject 
* obj0 
= 0 ; 
14268     PyObject 
* obj1 
= 0 ; 
14269     PyObject 
* obj2 
= 0 ; 
14270     char *kwnames
[] = { 
14271         (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL 
 
14274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14275     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14276     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14277     arg2 
= (int) SWIG_AsInt(obj1
);  
14278     if (PyErr_Occurred()) SWIG_fail
; 
14279     arg3 
= (int) SWIG_AsInt(obj2
);  
14280     if (PyErr_Occurred()) SWIG_fail
; 
14282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14283         (arg1
)->SetMargins(arg2
,arg3
); 
14285         wxPyEndAllowThreads(__tstate
); 
14286         if (PyErr_Occurred()) SWIG_fail
; 
14288     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14295 static PyObject 
*_wrap_Grid_GetGridWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14296     PyObject 
*resultobj
; 
14297     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14299     PyObject 
* obj0 
= 0 ; 
14300     char *kwnames
[] = { 
14301         (char *) "self", NULL 
 
14304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
; 
14305     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14306     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14309         result 
= (wxWindow 
*)(arg1
)->GetGridWindow(); 
14311         wxPyEndAllowThreads(__tstate
); 
14312         if (PyErr_Occurred()) SWIG_fail
; 
14315         resultobj 
= wxPyMake_wxObject(result
, 0);  
14323 static PyObject 
*_wrap_Grid_GetGridRowLabelWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14324     PyObject 
*resultobj
; 
14325     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14327     PyObject 
* obj0 
= 0 ; 
14328     char *kwnames
[] = { 
14329         (char *) "self", NULL 
 
14332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
; 
14333     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14334     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14336         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14337         result 
= (wxWindow 
*)(arg1
)->GetGridRowLabelWindow(); 
14339         wxPyEndAllowThreads(__tstate
); 
14340         if (PyErr_Occurred()) SWIG_fail
; 
14343         resultobj 
= wxPyMake_wxObject(result
, 0);  
14351 static PyObject 
*_wrap_Grid_GetGridColLabelWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14352     PyObject 
*resultobj
; 
14353     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14355     PyObject 
* obj0 
= 0 ; 
14356     char *kwnames
[] = { 
14357         (char *) "self", NULL 
 
14360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
; 
14361     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14362     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14364         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14365         result 
= (wxWindow 
*)(arg1
)->GetGridColLabelWindow(); 
14367         wxPyEndAllowThreads(__tstate
); 
14368         if (PyErr_Occurred()) SWIG_fail
; 
14371         resultobj 
= wxPyMake_wxObject(result
, 0);  
14379 static PyObject 
*_wrap_Grid_GetGridCornerLabelWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14380     PyObject 
*resultobj
; 
14381     wxGrid 
*arg1 
= (wxGrid 
*) 0 ; 
14383     PyObject 
* obj0 
= 0 ; 
14384     char *kwnames
[] = { 
14385         (char *) "self", NULL 
 
14388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
; 
14389     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
, 
14390     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14392         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14393         result 
= (wxWindow 
*)(arg1
)->GetGridCornerLabelWindow(); 
14395         wxPyEndAllowThreads(__tstate
); 
14396         if (PyErr_Occurred()) SWIG_fail
; 
14399         resultobj 
= wxPyMake_wxObject(result
, 0);  
14407 static PyObject 
*_wrap_Grid_GetClassDefaultAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14408     PyObject 
*resultobj
; 
14409     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
14410     wxVisualAttributes result
; 
14411     PyObject 
* obj0 
= 0 ; 
14412     char *kwnames
[] = { 
14413         (char *) "variant", NULL 
 
14416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
14418         arg1 
= (wxWindowVariant
) SWIG_AsInt(obj0
);  
14419         if (PyErr_Occurred()) SWIG_fail
; 
14422         if (!wxPyCheckForApp()) SWIG_fail
; 
14423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14424         result 
= wxGrid::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
14426         wxPyEndAllowThreads(__tstate
); 
14427         if (PyErr_Occurred()) SWIG_fail
; 
14430         wxVisualAttributes 
* resultptr
; 
14431         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
14432         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
14440 static PyObject 
* Grid_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14442     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14443     SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
); 
14445     return Py_BuildValue((char *)""); 
14447 static PyObject 
*_wrap_new_GridEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14448     PyObject 
*resultobj
; 
14451     wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
14452     int arg4 
= (int) -1 ; 
14453     int arg5 
= (int) -1 ; 
14454     int arg6 
= (int) -1 ; 
14455     int arg7 
= (int) -1 ; 
14456     bool arg8 
= (bool) True 
; 
14457     bool arg9 
= (bool) False 
; 
14458     bool arg10 
= (bool) False 
; 
14459     bool arg11 
= (bool) False 
; 
14460     bool arg12 
= (bool) False 
; 
14461     wxGridEvent 
*result
; 
14462     PyObject 
* obj0 
= 0 ; 
14463     PyObject 
* obj1 
= 0 ; 
14464     PyObject 
* obj2 
= 0 ; 
14465     PyObject 
* obj3 
= 0 ; 
14466     PyObject 
* obj4 
= 0 ; 
14467     PyObject 
* obj5 
= 0 ; 
14468     PyObject 
* obj6 
= 0 ; 
14469     PyObject 
* obj7 
= 0 ; 
14470     PyObject 
* obj8 
= 0 ; 
14471     PyObject 
* obj9 
= 0 ; 
14472     PyObject 
* obj10 
= 0 ; 
14473     PyObject 
* obj11 
= 0 ; 
14474     char *kwnames
[] = { 
14475         (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 
 
14478     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
; 
14479     arg1 
= (int) SWIG_AsInt(obj0
);  
14480     if (PyErr_Occurred()) SWIG_fail
; 
14481     arg2 
= (wxEventType
) SWIG_AsInt(obj1
);  
14482     if (PyErr_Occurred()) SWIG_fail
; 
14483     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
, 
14484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14486         arg4 
= (int) SWIG_AsInt(obj3
);  
14487         if (PyErr_Occurred()) SWIG_fail
; 
14490         arg5 
= (int) SWIG_AsInt(obj4
);  
14491         if (PyErr_Occurred()) SWIG_fail
; 
14494         arg6 
= (int) SWIG_AsInt(obj5
);  
14495         if (PyErr_Occurred()) SWIG_fail
; 
14498         arg7 
= (int) SWIG_AsInt(obj6
);  
14499         if (PyErr_Occurred()) SWIG_fail
; 
14502         arg8 
= (bool) SWIG_AsBool(obj7
);  
14503         if (PyErr_Occurred()) SWIG_fail
; 
14506         arg9 
= (bool) SWIG_AsBool(obj8
);  
14507         if (PyErr_Occurred()) SWIG_fail
; 
14510         arg10 
= (bool) SWIG_AsBool(obj9
);  
14511         if (PyErr_Occurred()) SWIG_fail
; 
14514         arg11 
= (bool) SWIG_AsBool(obj10
);  
14515         if (PyErr_Occurred()) SWIG_fail
; 
14518         arg12 
= (bool) SWIG_AsBool(obj11
);  
14519         if (PyErr_Occurred()) SWIG_fail
; 
14522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14523         result 
= (wxGridEvent 
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
14525         wxPyEndAllowThreads(__tstate
); 
14526         if (PyErr_Occurred()) SWIG_fail
; 
14528     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1); 
14535 static PyObject 
*_wrap_GridEvent_GetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14536     PyObject 
*resultobj
; 
14537     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14539     PyObject 
* obj0 
= 0 ; 
14540     char *kwnames
[] = { 
14541         (char *) "self", NULL 
 
14544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
; 
14545     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14546     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14549         result 
= (int)(arg1
)->GetRow(); 
14551         wxPyEndAllowThreads(__tstate
); 
14552         if (PyErr_Occurred()) SWIG_fail
; 
14554     resultobj 
= SWIG_FromInt((int)result
); 
14561 static PyObject 
*_wrap_GridEvent_GetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14562     PyObject 
*resultobj
; 
14563     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14565     PyObject 
* obj0 
= 0 ; 
14566     char *kwnames
[] = { 
14567         (char *) "self", NULL 
 
14570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
; 
14571     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14572     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14575         result 
= (int)(arg1
)->GetCol(); 
14577         wxPyEndAllowThreads(__tstate
); 
14578         if (PyErr_Occurred()) SWIG_fail
; 
14580     resultobj 
= SWIG_FromInt((int)result
); 
14587 static PyObject 
*_wrap_GridEvent_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14588     PyObject 
*resultobj
; 
14589     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14591     PyObject 
* obj0 
= 0 ; 
14592     char *kwnames
[] = { 
14593         (char *) "self", NULL 
 
14596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
14597     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14598     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14600         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14601         result 
= (arg1
)->GetPosition(); 
14603         wxPyEndAllowThreads(__tstate
); 
14604         if (PyErr_Occurred()) SWIG_fail
; 
14607         wxPoint 
* resultptr
; 
14608         resultptr 
= new wxPoint((wxPoint 
&) result
); 
14609         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
14617 static PyObject 
*_wrap_GridEvent_Selecting(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14618     PyObject 
*resultobj
; 
14619     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14621     PyObject 
* obj0 
= 0 ; 
14622     char *kwnames
[] = { 
14623         (char *) "self", NULL 
 
14626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
; 
14627     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14630         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14631         result 
= (bool)(arg1
)->Selecting(); 
14633         wxPyEndAllowThreads(__tstate
); 
14634         if (PyErr_Occurred()) SWIG_fail
; 
14637         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14645 static PyObject 
*_wrap_GridEvent_ControlDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14646     PyObject 
*resultobj
; 
14647     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14649     PyObject 
* obj0 
= 0 ; 
14650     char *kwnames
[] = { 
14651         (char *) "self", NULL 
 
14654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
; 
14655     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14656     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14658         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14659         result 
= (bool)(arg1
)->ControlDown(); 
14661         wxPyEndAllowThreads(__tstate
); 
14662         if (PyErr_Occurred()) SWIG_fail
; 
14665         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14673 static PyObject 
*_wrap_GridEvent_MetaDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14674     PyObject 
*resultobj
; 
14675     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14677     PyObject 
* obj0 
= 0 ; 
14678     char *kwnames
[] = { 
14679         (char *) "self", NULL 
 
14682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
; 
14683     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14684     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14687         result 
= (bool)(arg1
)->MetaDown(); 
14689         wxPyEndAllowThreads(__tstate
); 
14690         if (PyErr_Occurred()) SWIG_fail
; 
14693         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14701 static PyObject 
*_wrap_GridEvent_ShiftDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14702     PyObject 
*resultobj
; 
14703     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14705     PyObject 
* obj0 
= 0 ; 
14706     char *kwnames
[] = { 
14707         (char *) "self", NULL 
 
14710     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
; 
14711     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14712     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14714         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14715         result 
= (bool)(arg1
)->ShiftDown(); 
14717         wxPyEndAllowThreads(__tstate
); 
14718         if (PyErr_Occurred()) SWIG_fail
; 
14721         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14729 static PyObject 
*_wrap_GridEvent_AltDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14730     PyObject 
*resultobj
; 
14731     wxGridEvent 
*arg1 
= (wxGridEvent 
*) 0 ; 
14733     PyObject 
* obj0 
= 0 ; 
14734     char *kwnames
[] = { 
14735         (char *) "self", NULL 
 
14738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
; 
14739     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
, 
14740     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14742         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14743         result 
= (bool)(arg1
)->AltDown(); 
14745         wxPyEndAllowThreads(__tstate
); 
14746         if (PyErr_Occurred()) SWIG_fail
; 
14749         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14757 static PyObject 
* GridEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14759     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14760     SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
); 
14762     return Py_BuildValue((char *)""); 
14764 static PyObject 
*_wrap_new_GridSizeEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14765     PyObject 
*resultobj
; 
14768     wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
14769     int arg4 
= (int) -1 ; 
14770     int arg5 
= (int) -1 ; 
14771     int arg6 
= (int) -1 ; 
14772     bool arg7 
= (bool) False 
; 
14773     bool arg8 
= (bool) False 
; 
14774     bool arg9 
= (bool) False 
; 
14775     bool arg10 
= (bool) False 
; 
14776     wxGridSizeEvent 
*result
; 
14777     PyObject 
* obj0 
= 0 ; 
14778     PyObject 
* obj1 
= 0 ; 
14779     PyObject 
* obj2 
= 0 ; 
14780     PyObject 
* obj3 
= 0 ; 
14781     PyObject 
* obj4 
= 0 ; 
14782     PyObject 
* obj5 
= 0 ; 
14783     PyObject 
* obj6 
= 0 ; 
14784     PyObject 
* obj7 
= 0 ; 
14785     PyObject 
* obj8 
= 0 ; 
14786     PyObject 
* obj9 
= 0 ; 
14787     char *kwnames
[] = { 
14788         (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL 
 
14791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
14792     arg1 
= (int) SWIG_AsInt(obj0
);  
14793     if (PyErr_Occurred()) SWIG_fail
; 
14794     arg2 
= (wxEventType
) SWIG_AsInt(obj1
);  
14795     if (PyErr_Occurred()) SWIG_fail
; 
14796     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
, 
14797     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14799         arg4 
= (int) SWIG_AsInt(obj3
);  
14800         if (PyErr_Occurred()) SWIG_fail
; 
14803         arg5 
= (int) SWIG_AsInt(obj4
);  
14804         if (PyErr_Occurred()) SWIG_fail
; 
14807         arg6 
= (int) SWIG_AsInt(obj5
);  
14808         if (PyErr_Occurred()) SWIG_fail
; 
14811         arg7 
= (bool) SWIG_AsBool(obj6
);  
14812         if (PyErr_Occurred()) SWIG_fail
; 
14815         arg8 
= (bool) SWIG_AsBool(obj7
);  
14816         if (PyErr_Occurred()) SWIG_fail
; 
14819         arg9 
= (bool) SWIG_AsBool(obj8
);  
14820         if (PyErr_Occurred()) SWIG_fail
; 
14823         arg10 
= (bool) SWIG_AsBool(obj9
);  
14824         if (PyErr_Occurred()) SWIG_fail
; 
14827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14828         result 
= (wxGridSizeEvent 
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
14830         wxPyEndAllowThreads(__tstate
); 
14831         if (PyErr_Occurred()) SWIG_fail
; 
14833     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1); 
14840 static PyObject 
*_wrap_GridSizeEvent_GetRowOrCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14841     PyObject 
*resultobj
; 
14842     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14844     PyObject 
* obj0 
= 0 ; 
14845     char *kwnames
[] = { 
14846         (char *) "self", NULL 
 
14849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
; 
14850     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14851     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14854         result 
= (int)(arg1
)->GetRowOrCol(); 
14856         wxPyEndAllowThreads(__tstate
); 
14857         if (PyErr_Occurred()) SWIG_fail
; 
14859     resultobj 
= SWIG_FromInt((int)result
); 
14866 static PyObject 
*_wrap_GridSizeEvent_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14867     PyObject 
*resultobj
; 
14868     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14870     PyObject 
* obj0 
= 0 ; 
14871     char *kwnames
[] = { 
14872         (char *) "self", NULL 
 
14875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
14876     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14877     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14880         result 
= (arg1
)->GetPosition(); 
14882         wxPyEndAllowThreads(__tstate
); 
14883         if (PyErr_Occurred()) SWIG_fail
; 
14886         wxPoint 
* resultptr
; 
14887         resultptr 
= new wxPoint((wxPoint 
&) result
); 
14888         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
14896 static PyObject 
*_wrap_GridSizeEvent_ControlDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14897     PyObject 
*resultobj
; 
14898     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14900     PyObject 
* obj0 
= 0 ; 
14901     char *kwnames
[] = { 
14902         (char *) "self", NULL 
 
14905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
; 
14906     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14907     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14910         result 
= (bool)(arg1
)->ControlDown(); 
14912         wxPyEndAllowThreads(__tstate
); 
14913         if (PyErr_Occurred()) SWIG_fail
; 
14916         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14924 static PyObject 
*_wrap_GridSizeEvent_MetaDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14925     PyObject 
*resultobj
; 
14926     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14928     PyObject 
* obj0 
= 0 ; 
14929     char *kwnames
[] = { 
14930         (char *) "self", NULL 
 
14933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
; 
14934     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14935     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14938         result 
= (bool)(arg1
)->MetaDown(); 
14940         wxPyEndAllowThreads(__tstate
); 
14941         if (PyErr_Occurred()) SWIG_fail
; 
14944         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14952 static PyObject 
*_wrap_GridSizeEvent_ShiftDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14953     PyObject 
*resultobj
; 
14954     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14956     PyObject 
* obj0 
= 0 ; 
14957     char *kwnames
[] = { 
14958         (char *) "self", NULL 
 
14961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
; 
14962     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14963     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14966         result 
= (bool)(arg1
)->ShiftDown(); 
14968         wxPyEndAllowThreads(__tstate
); 
14969         if (PyErr_Occurred()) SWIG_fail
; 
14972         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14980 static PyObject 
*_wrap_GridSizeEvent_AltDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14981     PyObject 
*resultobj
; 
14982     wxGridSizeEvent 
*arg1 
= (wxGridSizeEvent 
*) 0 ; 
14984     PyObject 
* obj0 
= 0 ; 
14985     char *kwnames
[] = { 
14986         (char *) "self", NULL 
 
14989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
; 
14990     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
, 
14991     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14994         result 
= (bool)(arg1
)->AltDown(); 
14996         wxPyEndAllowThreads(__tstate
); 
14997         if (PyErr_Occurred()) SWIG_fail
; 
15000         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15008 static PyObject 
* GridSizeEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15010     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15011     SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
); 
15013     return Py_BuildValue((char *)""); 
15015 static PyObject 
*_wrap_new_GridRangeSelectEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15016     PyObject 
*resultobj
; 
15019     wxGrid 
*arg3 
= (wxGrid 
*) 0 ; 
15020     wxGridCellCoords 
*arg4 
= 0 ; 
15021     wxGridCellCoords 
*arg5 
= 0 ; 
15022     bool arg6 
= (bool) True 
; 
15023     bool arg7 
= (bool) False 
; 
15024     bool arg8 
= (bool) False 
; 
15025     bool arg9 
= (bool) False 
; 
15026     bool arg10 
= (bool) False 
; 
15027     wxGridRangeSelectEvent 
*result
; 
15028     wxGridCellCoords temp4 
; 
15029     wxGridCellCoords temp5 
; 
15030     PyObject 
* obj0 
= 0 ; 
15031     PyObject 
* obj1 
= 0 ; 
15032     PyObject 
* obj2 
= 0 ; 
15033     PyObject 
* obj3 
= 0 ; 
15034     PyObject 
* obj4 
= 0 ; 
15035     PyObject 
* obj5 
= 0 ; 
15036     PyObject 
* obj6 
= 0 ; 
15037     PyObject 
* obj7 
= 0 ; 
15038     PyObject 
* obj8 
= 0 ; 
15039     PyObject 
* obj9 
= 0 ; 
15040     char *kwnames
[] = { 
15041         (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL 
 
15044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
15045     arg1 
= (int) SWIG_AsInt(obj0
);  
15046     if (PyErr_Occurred()) SWIG_fail
; 
15047     arg2 
= (wxEventType
) SWIG_AsInt(obj1
);  
15048     if (PyErr_Occurred()) SWIG_fail
; 
15049     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
, 
15050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15053         if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
; 
15057         if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
; 
15060         arg6 
= (bool) SWIG_AsBool(obj5
);  
15061         if (PyErr_Occurred()) SWIG_fail
; 
15064         arg7 
= (bool) SWIG_AsBool(obj6
);  
15065         if (PyErr_Occurred()) SWIG_fail
; 
15068         arg8 
= (bool) SWIG_AsBool(obj7
);  
15069         if (PyErr_Occurred()) SWIG_fail
; 
15072         arg9 
= (bool) SWIG_AsBool(obj8
);  
15073         if (PyErr_Occurred()) SWIG_fail
; 
15076         arg10 
= (bool) SWIG_AsBool(obj9
);  
15077         if (PyErr_Occurred()) SWIG_fail
; 
15080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15081         result 
= (wxGridRangeSelectEvent 
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords 
const &)*arg4
,(wxGridCellCoords 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
15083         wxPyEndAllowThreads(__tstate
); 
15084         if (PyErr_Occurred()) SWIG_fail
; 
15086     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1); 
15093 static PyObject 
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15094     PyObject 
*resultobj
; 
15095     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15096     wxGridCellCoords result
; 
15097     PyObject 
* obj0 
= 0 ; 
15098     char *kwnames
[] = { 
15099         (char *) "self", NULL 
 
15102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
; 
15103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15106         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15107         result 
= (arg1
)->GetTopLeftCoords(); 
15109         wxPyEndAllowThreads(__tstate
); 
15110         if (PyErr_Occurred()) SWIG_fail
; 
15113         wxGridCellCoords 
* resultptr
; 
15114         resultptr 
= new wxGridCellCoords((wxGridCellCoords 
&) result
); 
15115         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1); 
15123 static PyObject 
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15124     PyObject 
*resultobj
; 
15125     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15126     wxGridCellCoords result
; 
15127     PyObject 
* obj0 
= 0 ; 
15128     char *kwnames
[] = { 
15129         (char *) "self", NULL 
 
15132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
; 
15133     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15134     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15136         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15137         result 
= (arg1
)->GetBottomRightCoords(); 
15139         wxPyEndAllowThreads(__tstate
); 
15140         if (PyErr_Occurred()) SWIG_fail
; 
15143         wxGridCellCoords 
* resultptr
; 
15144         resultptr 
= new wxGridCellCoords((wxGridCellCoords 
&) result
); 
15145         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1); 
15153 static PyObject 
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15154     PyObject 
*resultobj
; 
15155     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15157     PyObject 
* obj0 
= 0 ; 
15158     char *kwnames
[] = { 
15159         (char *) "self", NULL 
 
15162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
; 
15163     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15164     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15167         result 
= (int)(arg1
)->GetTopRow(); 
15169         wxPyEndAllowThreads(__tstate
); 
15170         if (PyErr_Occurred()) SWIG_fail
; 
15172     resultobj 
= SWIG_FromInt((int)result
); 
15179 static PyObject 
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15180     PyObject 
*resultobj
; 
15181     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15183     PyObject 
* obj0 
= 0 ; 
15184     char *kwnames
[] = { 
15185         (char *) "self", NULL 
 
15188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
; 
15189     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15190     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15192         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15193         result 
= (int)(arg1
)->GetBottomRow(); 
15195         wxPyEndAllowThreads(__tstate
); 
15196         if (PyErr_Occurred()) SWIG_fail
; 
15198     resultobj 
= SWIG_FromInt((int)result
); 
15205 static PyObject 
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15206     PyObject 
*resultobj
; 
15207     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15209     PyObject 
* obj0 
= 0 ; 
15210     char *kwnames
[] = { 
15211         (char *) "self", NULL 
 
15214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
; 
15215     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15216     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15219         result 
= (int)(arg1
)->GetLeftCol(); 
15221         wxPyEndAllowThreads(__tstate
); 
15222         if (PyErr_Occurred()) SWIG_fail
; 
15224     resultobj 
= SWIG_FromInt((int)result
); 
15231 static PyObject 
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15232     PyObject 
*resultobj
; 
15233     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15235     PyObject 
* obj0 
= 0 ; 
15236     char *kwnames
[] = { 
15237         (char *) "self", NULL 
 
15240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
; 
15241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15245         result 
= (int)(arg1
)->GetRightCol(); 
15247         wxPyEndAllowThreads(__tstate
); 
15248         if (PyErr_Occurred()) SWIG_fail
; 
15250     resultobj 
= SWIG_FromInt((int)result
); 
15257 static PyObject 
*_wrap_GridRangeSelectEvent_Selecting(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15258     PyObject 
*resultobj
; 
15259     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15261     PyObject 
* obj0 
= 0 ; 
15262     char *kwnames
[] = { 
15263         (char *) "self", NULL 
 
15266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
; 
15267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15271         result 
= (bool)(arg1
)->Selecting(); 
15273         wxPyEndAllowThreads(__tstate
); 
15274         if (PyErr_Occurred()) SWIG_fail
; 
15277         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15285 static PyObject 
*_wrap_GridRangeSelectEvent_ControlDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15286     PyObject 
*resultobj
; 
15287     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15289     PyObject 
* obj0 
= 0 ; 
15290     char *kwnames
[] = { 
15291         (char *) "self", NULL 
 
15294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
; 
15295     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15299         result 
= (bool)(arg1
)->ControlDown(); 
15301         wxPyEndAllowThreads(__tstate
); 
15302         if (PyErr_Occurred()) SWIG_fail
; 
15305         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15313 static PyObject 
*_wrap_GridRangeSelectEvent_MetaDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15314     PyObject 
*resultobj
; 
15315     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15317     PyObject 
* obj0 
= 0 ; 
15318     char *kwnames
[] = { 
15319         (char *) "self", NULL 
 
15322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
; 
15323     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15326         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15327         result 
= (bool)(arg1
)->MetaDown(); 
15329         wxPyEndAllowThreads(__tstate
); 
15330         if (PyErr_Occurred()) SWIG_fail
; 
15333         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15341 static PyObject 
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15342     PyObject 
*resultobj
; 
15343     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15345     PyObject 
* obj0 
= 0 ; 
15346     char *kwnames
[] = { 
15347         (char *) "self", NULL 
 
15350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
; 
15351     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15352     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15355         result 
= (bool)(arg1
)->ShiftDown(); 
15357         wxPyEndAllowThreads(__tstate
); 
15358         if (PyErr_Occurred()) SWIG_fail
; 
15361         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15369 static PyObject 
*_wrap_GridRangeSelectEvent_AltDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15370     PyObject 
*resultobj
; 
15371     wxGridRangeSelectEvent 
*arg1 
= (wxGridRangeSelectEvent 
*) 0 ; 
15373     PyObject 
* obj0 
= 0 ; 
15374     char *kwnames
[] = { 
15375         (char *) "self", NULL 
 
15378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
; 
15379     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
, 
15380     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15383         result 
= (bool)(arg1
)->AltDown(); 
15385         wxPyEndAllowThreads(__tstate
); 
15386         if (PyErr_Occurred()) SWIG_fail
; 
15389         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15397 static PyObject 
* GridRangeSelectEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15399     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15400     SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
); 
15402     return Py_BuildValue((char *)""); 
15404 static PyObject 
*_wrap_new_GridEditorCreatedEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15405     PyObject 
*resultobj
; 
15408     wxObject 
*arg3 
= (wxObject 
*) 0 ; 
15411     wxControl 
*arg6 
= (wxControl 
*) 0 ; 
15412     wxGridEditorCreatedEvent 
*result
; 
15413     PyObject 
* obj0 
= 0 ; 
15414     PyObject 
* obj1 
= 0 ; 
15415     PyObject 
* obj2 
= 0 ; 
15416     PyObject 
* obj3 
= 0 ; 
15417     PyObject 
* obj4 
= 0 ; 
15418     PyObject 
* obj5 
= 0 ; 
15419     char *kwnames
[] = { 
15420         (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL 
 
15423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
15424     arg1 
= (int) SWIG_AsInt(obj0
);  
15425     if (PyErr_Occurred()) SWIG_fail
; 
15426     arg2 
= (wxEventType
) SWIG_AsInt(obj1
);  
15427     if (PyErr_Occurred()) SWIG_fail
; 
15428     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
, 
15429     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15430     arg4 
= (int) SWIG_AsInt(obj3
);  
15431     if (PyErr_Occurred()) SWIG_fail
; 
15432     arg5 
= (int) SWIG_AsInt(obj4
);  
15433     if (PyErr_Occurred()) SWIG_fail
; 
15434     if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
, 
15435     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15437         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15438         result 
= (wxGridEditorCreatedEvent 
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
); 
15440         wxPyEndAllowThreads(__tstate
); 
15441         if (PyErr_Occurred()) SWIG_fail
; 
15443     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1); 
15450 static PyObject 
*_wrap_GridEditorCreatedEvent_GetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15451     PyObject 
*resultobj
; 
15452     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15454     PyObject 
* obj0 
= 0 ; 
15455     char *kwnames
[] = { 
15456         (char *) "self", NULL 
 
15459     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
; 
15460     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15461     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15464         result 
= (int)(arg1
)->GetRow(); 
15466         wxPyEndAllowThreads(__tstate
); 
15467         if (PyErr_Occurred()) SWIG_fail
; 
15469     resultobj 
= SWIG_FromInt((int)result
); 
15476 static PyObject 
*_wrap_GridEditorCreatedEvent_GetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15477     PyObject 
*resultobj
; 
15478     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15480     PyObject 
* obj0 
= 0 ; 
15481     char *kwnames
[] = { 
15482         (char *) "self", NULL 
 
15485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
; 
15486     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15487     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15490         result 
= (int)(arg1
)->GetCol(); 
15492         wxPyEndAllowThreads(__tstate
); 
15493         if (PyErr_Occurred()) SWIG_fail
; 
15495     resultobj 
= SWIG_FromInt((int)result
); 
15502 static PyObject 
*_wrap_GridEditorCreatedEvent_GetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15503     PyObject 
*resultobj
; 
15504     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15506     PyObject 
* obj0 
= 0 ; 
15507     char *kwnames
[] = { 
15508         (char *) "self", NULL 
 
15511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
; 
15512     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15513     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15516         result 
= (wxControl 
*)(arg1
)->GetControl(); 
15518         wxPyEndAllowThreads(__tstate
); 
15519         if (PyErr_Occurred()) SWIG_fail
; 
15522         resultobj 
= wxPyMake_wxObject(result
, 0);  
15530 static PyObject 
*_wrap_GridEditorCreatedEvent_SetRow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15531     PyObject 
*resultobj
; 
15532     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15534     PyObject 
* obj0 
= 0 ; 
15535     PyObject 
* obj1 
= 0 ; 
15536     char *kwnames
[] = { 
15537         (char *) "self",(char *) "row", NULL 
 
15540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
15541     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15543     arg2 
= (int) SWIG_AsInt(obj1
);  
15544     if (PyErr_Occurred()) SWIG_fail
; 
15546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15547         (arg1
)->SetRow(arg2
); 
15549         wxPyEndAllowThreads(__tstate
); 
15550         if (PyErr_Occurred()) SWIG_fail
; 
15552     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15559 static PyObject 
*_wrap_GridEditorCreatedEvent_SetCol(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15560     PyObject 
*resultobj
; 
15561     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15563     PyObject 
* obj0 
= 0 ; 
15564     PyObject 
* obj1 
= 0 ; 
15565     char *kwnames
[] = { 
15566         (char *) "self",(char *) "col", NULL 
 
15569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
15570     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15571     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15572     arg2 
= (int) SWIG_AsInt(obj1
);  
15573     if (PyErr_Occurred()) SWIG_fail
; 
15575         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15576         (arg1
)->SetCol(arg2
); 
15578         wxPyEndAllowThreads(__tstate
); 
15579         if (PyErr_Occurred()) SWIG_fail
; 
15581     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15588 static PyObject 
*_wrap_GridEditorCreatedEvent_SetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15589     PyObject 
*resultobj
; 
15590     wxGridEditorCreatedEvent 
*arg1 
= (wxGridEditorCreatedEvent 
*) 0 ; 
15591     wxControl 
*arg2 
= (wxControl 
*) 0 ; 
15592     PyObject 
* obj0 
= 0 ; 
15593     PyObject 
* obj1 
= 0 ; 
15594     char *kwnames
[] = { 
15595         (char *) "self",(char *) "ctrl", NULL 
 
15598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
15599     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
, 
15600     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15601     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
, 
15602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15605         (arg1
)->SetControl(arg2
); 
15607         wxPyEndAllowThreads(__tstate
); 
15608         if (PyErr_Occurred()) SWIG_fail
; 
15610     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15617 static PyObject 
* GridEditorCreatedEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15619     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15620     SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
); 
15622     return Py_BuildValue((char *)""); 
15624 static PyMethodDef SwigMethods
[] = { 
15625          { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15626          { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15627          { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15628          { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15629          { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15630          { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15631          { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15632          { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS 
}, 
15633          { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15634          { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15635          { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15636          { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS 
}, 
15637          { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15638          { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS 
}, 
15639          { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15640          { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS 
}, 
15641          { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15642          { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15643          { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15644          { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15645          { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15646          { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS 
}, 
15647          { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15648          { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS 
}, 
15649          { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15650          { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS 
}, 
15651          { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15652          { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS 
}, 
15653          { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15654          { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS 
}, 
15655          { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15656          { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15657          { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15658          { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15659          { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15660          { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15661          { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15662          { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15663          { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15664          { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15665          { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15666          { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15667          { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15668          { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15669          { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15670          { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15671          { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15672          { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15673          { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15674          { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15675          { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15676          { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15677          { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS 
}, 
15678          { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15679          { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15680          { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15681          { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15682          { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15683          { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15684          { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15685          { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15686          { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15687          { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15688          { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15689          { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS 
}, 
15690          { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15691          { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15692          { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS 
}, 
15693          { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15694          { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15695          { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS 
}, 
15696          { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15697          { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15698          { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS 
}, 
15699          { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15700          { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15701          { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS 
}, 
15702          { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15703          { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15704          { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS 
}, 
15705          { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15706          { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15707          { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS 
}, 
15708          { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15709          { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15710          { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS 
}, 
15711          { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15712          { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15713          { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15714          { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15715          { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15716          { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15717          { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15718          { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15719          { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15720          { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15721          { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15722          { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15723          { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15724          { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15725          { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15726          { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15727          { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15728          { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15729          { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15730          { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15731          { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15732          { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15733          { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15734          { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15735          { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15736          { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15737          { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15738          { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15739          { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15740          { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15741          { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15742          { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15743          { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15744          { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15745          { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15746          { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS 
}, 
15747          { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15748          { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15749          { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15750          { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15751          { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15752          { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15753          { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15754          { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15755          { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS 
}, 
15756          { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15757          { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15758          { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15759          { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15760          { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15761          { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15762          { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS 
}, 
15763          { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15764          { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15765          { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15766          { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15767          { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15768          { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15769          { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15770          { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15771          { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15772          { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15773          { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15774          { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15775          { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15776          { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15777          { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15778          { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15779          { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15780          { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15781          { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15782          { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15783          { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15784          { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15785          { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15786          { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15787          { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15788          { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15789          { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15790          { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15791          { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15792          { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15793          { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15794          { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15795          { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15796          { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15797          { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15798          { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS 
}, 
15799          { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15800          { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15801          { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15802          { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15803          { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15804          { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15805          { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15806          { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15807          { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15808          { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15809          { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15810          { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15811          { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15812          { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15813          { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15814          { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15815          { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15816          { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15817          { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15818          { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15819          { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15820          { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15821          { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS 
}, 
15822          { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15823          { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS 
}, 
15824          { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15825          { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15826          { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15827          { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15828          { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15829          { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15830          { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15831          { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15832          { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15833          { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15834          { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS 
}, 
15835          { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15836          { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15837          { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15838          { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15839          { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15840          { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15841          { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15842          { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15843          { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15844          { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15845          { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS 
}, 
15846          { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15847          { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15848          { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15849          { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15850          { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15851          { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15852          { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15853          { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15854          { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15855          { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15856          { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15857          { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15858          { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15859          { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15860          { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15861          { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15862          { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15863          { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15864          { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15865          { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15866          { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15867          { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15868          { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15869          { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15870          { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15871          { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15872          { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15873          { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15874          { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15875          { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15876          { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15877          { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15878          { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15879          { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15880          { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15881          { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15882          { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15883          { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15884          { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15885          { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15886          { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15887          { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15888          { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15889          { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15890          { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15891          { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15892          { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15893          { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15894          { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15895          { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15896          { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15897          { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15898          { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15899          { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15900          { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15901          { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15902          { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15903          { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15904          { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15905          { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15906          { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15907          { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15908          { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15909          { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15910          { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15911          { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15912          { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15913          { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15914          { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15915          { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15916          { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15917          { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15918          { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15919          { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15920          { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15921          { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15922          { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15923          { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15924          { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15925          { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15926          { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15927          { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15928          { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15929          { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15930          { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15931          { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15932          { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15933          { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15934          { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15935          { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15936          { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15937          { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15938          { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15939          { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15940          { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15941          { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15942          { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15943          { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15944          { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15945          { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15946          { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15947          { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15948          { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15949          { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15950          { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15951          { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15952          { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15953          { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15954          { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15955          { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15956          { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15957          { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15958          { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15959          { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15960          { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15961          { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15962          { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15963          { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15964          { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15965          { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15966          { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15967          { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15968          { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15969          { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15970          { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15971          { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15972          { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15973          { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15974          { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15975          { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15976          { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15977          { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15978          { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15979          { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15980          { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15981          { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15982          { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15983          { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15984          { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15985          { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15986          { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15987          { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15988          { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15989          { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15990          { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15991          { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15992          { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15993          { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15994          { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15995          { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15996          { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15997          { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15998          { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
15999          { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16000          { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16001          { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16002          { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16003          { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16004          { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16005          { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16006          { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16007          { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16008          { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16009          { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16010          { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16011          { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16012          { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16013          { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16014          { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16015          { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16016          { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16017          { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16018          { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16019          { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16020          { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16021          { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16022          { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16023          { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16024          { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16025          { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16026          { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16027          { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16028          { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16029          { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16030          { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16031          { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16032          { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16033          { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16034          { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16035          { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16036          { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16037          { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS 
}, 
16038          { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16039          { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16040          { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16041          { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16042          { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16043          { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16044          { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16045          { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16046          { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16047          { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS 
}, 
16048          { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16049          { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16050          { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16051          { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16052          { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16053          { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16054          { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16055          { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS 
}, 
16056          { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16057          { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16058          { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16059          { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16060          { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16061          { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16062          { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16063          { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16064          { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16065          { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16066          { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16067          { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16068          { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS 
}, 
16069          { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16070          { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16071          { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16072          { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16073          { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16074          { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16075          { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
16076          { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS 
}, 
16081 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
16083 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) { 
16084     return (void *)((wxGridCellRenderer 
*)  ((wxPyGridCellRenderer 
*) x
)); 
16086 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) { 
16087     return (void *)((wxGridCellRenderer 
*)  ((wxGridCellStringRenderer 
*) x
)); 
16089 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) { 
16090     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellNumberRenderer 
*) x
)); 
16092 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) { 
16093     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellFloatRenderer 
*) x
)); 
16095 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) { 
16096     return (void *)((wxGridCellRenderer 
*)  ((wxGridCellBoolRenderer 
*) x
)); 
16098 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) { 
16099     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellDateTimeRenderer 
*) x
)); 
16101 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) { 
16102     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellEnumRenderer 
*) x
)); 
16104 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) { 
16105     return (void *)((wxGridCellRenderer 
*) (wxGridCellStringRenderer 
*) ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
16107 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) { 
16108     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellNumberRenderer 
*) x
)); 
16110 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) { 
16111     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellFloatRenderer 
*) x
)); 
16113 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) { 
16114     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellDateTimeRenderer 
*) x
)); 
16116 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) { 
16117     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellEnumRenderer 
*) x
)); 
16119 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) { 
16120     return (void *)((wxGridCellStringRenderer 
*)  ((wxGridCellAutoWrapStringRenderer 
*) x
)); 
16122 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
16123     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
16125 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
16126     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
16128 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
16129     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
16131 static void *_p_wxGridTo_p_wxPanel(void *x
) { 
16132     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
16134 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
16135     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
16137 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
16138     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
16140 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
16141     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
16143 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
16144     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
16146 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
16147     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
16149 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
16150     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
16152 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) { 
16153     return (void *)((wxNotifyEvent 
*)  ((wxGridSizeEvent 
*) x
)); 
16155 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) { 
16156     return (void *)((wxNotifyEvent 
*)  ((wxGridRangeSelectEvent 
*) x
)); 
16158 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
16159     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
16161 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) { 
16162     return (void *)((wxNotifyEvent 
*)  ((wxGridEvent 
*) x
)); 
16164 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
16165     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
16167 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) { 
16168     return (void *)((wxScrolledWindow 
*)  ((wxGrid 
*) x
)); 
16170 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
16171     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
16173 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
16174     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
16176 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
16177     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
16179 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
16180     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
16182 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
16183     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
16185 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
16186     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
16188 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
16189     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
16191 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
16192     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
16194 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
16195     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
16197 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
16198     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
16200 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
16201     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
16203 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
16204     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
16206 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
16207     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
16209 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
16210     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
16212 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
16213     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
16215 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
16216     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
16218 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
16219     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
16221 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
16222     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
16224 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
16225     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
16227 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
16228     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
16230 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
16231     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
16233 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
16234     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
16236 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
16237     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
16239 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
16240     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
16242 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
16243     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
16245 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
16246     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
16248 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
16249     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
16251 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
16252     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
16254 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
16255     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
16257 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
16258     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
16260 static void *_p_wxGridTo_p_wxWindow(void *x
) { 
16261     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
16263 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
16264     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
16266 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
16267     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
16269 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
16270     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
16272 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
16273     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
16275 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
16276     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
16278 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
16279     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
16281 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
16282     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
16284 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
16285     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
16287 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
16288     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
16290 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
16291     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
16293 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
16294     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
16296 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
16297     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
16299 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) { 
16300     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxPageSetupDialog 
*) x
)); 
16302 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) { 
16303     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxPrintDialog 
*) x
)); 
16305 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
16306     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
16308 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
16309     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
16311 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
16312     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
16314 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
16315     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
16317 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
16318     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
16320 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
16321     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
16323 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
16324     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
16326 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
16327     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
16329 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
16330     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
16332 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
16333     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
16335 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
16336     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
16338 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
16339     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
16341 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
16342     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
16344 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
16345     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
16347 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
16348     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
16350 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) { 
16351     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
16353 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
16354     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
16356 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
16357     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
16359 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
16360     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
16362 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
16363     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
16365 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
16366     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
16368 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
16369     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
16371 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
16372     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
16374 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
16375     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
16377 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) { 
16378     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
16380 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
16381     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
16383 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
16384     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
16386 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
16387     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
16389 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
16390     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
16392 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
16393     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
16395 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
16396     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
16398 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
16399     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
16401 static void *_p_wxGridEventTo_p_wxEvent(void *x
) { 
16402     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
16404 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) { 
16405     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxGridEditorCreatedEvent 
*) x
)); 
16407 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
16408     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
16410 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
16411     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
16413 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
16414     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
16416 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
16417     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
16419 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
16420     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
16422 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
16423     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
16425 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
16426     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
16428 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
16429     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
16431 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
16432     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
16434 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
16435     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
16437 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
16438     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
16440 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
16441     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
16443 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
16444     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
16446 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
16447     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
16449 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
16450     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
16452 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
16453     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
16455 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
16456     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
16458 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
16459     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
16461 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
16462     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
16464 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
16465     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
16467 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
16468     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
16470 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
16471     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
16473 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
16474     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
16476 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
16477     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
16479 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
16480     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
16482 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
16483     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
16485 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
16486     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
16488 static void *_p_wxEventTo_p_wxObject(void *x
) { 
16489     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
16491 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
16492     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
16494 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
16495     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
16497 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
16498     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
16500 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
16501     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
16503 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
16504     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
16506 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
16507     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
16509 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) { 
16510     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxTaskBarIcon 
*) x
)); 
16512 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
16513     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
16515 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) { 
16516     return (void *)((wxObject 
*) (wxGridTableBase 
*) ((wxGridStringTable 
*) x
)); 
16518 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
16519     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
16521 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
16522     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
16524 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
16525     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
16527 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
16528     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
16530 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
16531     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
16533 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
16534     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
16536 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
16537     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
16539 static void *_p_wxGridEventTo_p_wxObject(void *x
) { 
16540     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
16542 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) { 
16543     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxGridEditorCreatedEvent 
*) x
)); 
16545 static void *_p_wxControlTo_p_wxObject(void *x
) { 
16546     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
16548 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
16549     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
16551 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
16552     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
16554 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
16555     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
16557 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
16558     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
16560 static void *_p_wxGridTo_p_wxObject(void *x
) { 
16561     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
16563 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
16564     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
16566 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
16567     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
16569 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
16570     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
16572 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
16573     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
16575 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
16576     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
16578 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
16579     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
16581 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
16582     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
16584 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
16585     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
16587 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
16588     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
16590 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
16591     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
16593 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
16594     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
16596 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
16597     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
16599 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
16600     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
16602 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
16603     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
16605 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
16606     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
16608 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
16609     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
16611 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
16612     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
16614 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
16615     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
16617 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
16618     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
16620 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
16621     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
16623 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
16624     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
16626 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
16627     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
16629 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
16630     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
16632 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
16633     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
16635 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
16636     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
16638 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) { 
16639     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
16641 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
16642     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
16644 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
16645     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
16647 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
16648     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
16650 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
16651     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
16653 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
16654     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
16656 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
16657     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
16659 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
16660     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
16662 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
16663     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
16665 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
16666     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
16668 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
16669     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
16671 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
16672     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
16674 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
16675     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
16677 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
16678     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
16680 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
16681     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
16683 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) { 
16684     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
16686 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
16687     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
16689 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
16690     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
16692 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
16693     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
16695 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
16696     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
16698 static void *_p_wxImageTo_p_wxObject(void *x
) { 
16699     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
16701 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
16702     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
16704 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
16705     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
16707 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
16708     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
16710 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
16711     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
16713 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
16714     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
16716 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
16717     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
16719 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
16720     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
16722 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
16723     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
16725 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
16726     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
16728 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
16729     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
16731 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
16732     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
16734 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
16735     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
16737 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
16738     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
16740 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
16741     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
16743 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
16744     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
16746 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
16747     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
16749 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
16750     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
16752 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
16753     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
16755 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
16756     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
16758 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
16759     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
16761 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
16762     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
16764 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
16765     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
16767 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
16768     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
16770 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
16771     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
16773 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
16774     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
16776 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
16777     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
16779 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
16780     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
16782 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
16783     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
16785 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
16786     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
16788 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
16789     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
16791 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
16792     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
16794 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
16795     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
16797 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
16798     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxPageSetupDialog 
*) x
)); 
16800 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
16801     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxPrintDialog 
*) x
)); 
16803 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
16804     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
16806 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
16807     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
16809 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
16810     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
16812 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
16813     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
16815 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
16816     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
16818 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
16819     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
16821 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
16822     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
16824 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) { 
16825     return (void *)((wxObject 
*)  ((wxGridTableBase 
*) x
)); 
16827 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) { 
16828     return (void *)((wxObject 
*) (wxGridTableBase 
*) ((wxPyGridTableBase 
*) x
)); 
16830 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
16831     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
16833 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
16834     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
16836 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
16837     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
16839 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
16840     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
16842 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
16843     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
16845 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
16846     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
16848 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
16849     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
16851 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
16852     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
16854 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
16855     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
16857 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
16858     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
16860 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
16861     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
16863 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
16864     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
16866 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
16867     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
16869 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
16870     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
16872 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
16873     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
16875 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
16876     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
16878 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
16879     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
16881 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
16882     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
16884 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
16885     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
16887 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
16888     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
16890 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
16891     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
16893 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
16894     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
16896 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
16897     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
16899 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
16900     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
16902 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
16903     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
16905 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
16906     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
16908 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
16909     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
16911 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
16912     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
16914 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
16915     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
16917 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
16918     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
16920 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
16921     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
16923 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
16924     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
16926 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
16927     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
16929 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
16930     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
16932 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
16933     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
16935 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
16936     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
16938 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
16939     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
16941 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
16942     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
16944 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
16945     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
16947 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
16948     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
16950 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
16951     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
16953 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
16954     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
16956 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
16957     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
16959 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
16960     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
16962 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
16963     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
16965 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
16966     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
16968 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) { 
16969     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxGrid 
*) x
)); 
16971 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
16972     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
16974 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
16975     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
16977 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
16978     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
16980 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
16981     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
16983 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
16984     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
16986 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
16987     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
16989 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
16990     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
16992 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) { 
16993     return (void *)((wxEvtHandler 
*)  ((wxTaskBarIcon 
*) x
)); 
16995 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
16996     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
16998 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
16999     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
17001 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
17002     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
17004 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
17005     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
17007 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
17008     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
17010 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) { 
17011     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxPageSetupDialog 
*) x
)); 
17013 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) { 
17014     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxPrintDialog 
*) x
)); 
17016 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
17017     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
17019 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) { 
17020     return (void *)((wxGridTableBase 
*)  ((wxGridStringTable 
*) x
)); 
17022 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) { 
17023     return (void *)((wxGridTableBase 
*)  ((wxPyGridTableBase 
*) x
)); 
17025 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) { 
17026     return (void *)((wxGridCellEditor 
*)  ((wxPyGridCellEditor 
*) x
)); 
17028 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) { 
17029     return (void *)((wxGridCellEditor 
*)  ((wxGridCellTextEditor 
*) x
)); 
17031 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) { 
17032     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellNumberEditor 
*) x
)); 
17034 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) { 
17035     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellFloatEditor 
*) x
)); 
17037 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) { 
17038     return (void *)((wxGridCellEditor 
*)  ((wxGridCellBoolEditor 
*) x
)); 
17040 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) { 
17041     return (void *)((wxGridCellEditor 
*)  ((wxGridCellChoiceEditor 
*) x
)); 
17043 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) { 
17044     return (void *)((wxGridCellEditor 
*) (wxGridCellChoiceEditor 
*) ((wxGridCellEnumEditor 
*) x
)); 
17046 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) { 
17047     return (void *)((wxGridCellEditor 
*) (wxGridCellTextEditor 
*) ((wxGridCellAutoWrapStringEditor 
*) x
)); 
17049 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) { 
17050     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellNumberEditor 
*) x
)); 
17052 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) { 
17053     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellFloatEditor 
*) x
)); 
17055 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) { 
17056     return (void *)((wxGridCellTextEditor 
*)  ((wxGridCellAutoWrapStringEditor 
*) x
)); 
17058 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
17059     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
17061 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
17062     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
17064 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
17065     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
17067 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
17068     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
17070 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
17071     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
17073 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
17074     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
17076 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
17077     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
17079 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) { 
17080     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridRangeSelectEvent 
*) x
)); 
17082 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) { 
17083     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridSizeEvent 
*) x
)); 
17085 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
17086     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
17088 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) { 
17089     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxGridEvent 
*) x
)); 
17091 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) { 
17092     return (void *)((wxCommandEvent 
*)  ((wxGridEditorCreatedEvent 
*) x
)); 
17094 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
17095     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
17097 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
17098     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
17100 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
17101     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
17103 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) { 
17104     return (void *)((wxGridCellAttrProvider 
*)  ((wxPyGridCellAttrProvider 
*) x
)); 
17106 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) { 
17107     return (void *)((wxGridCellChoiceEditor 
*)  ((wxGridCellEnumEditor 
*) x
)); 
17109 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}}; 
17110 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}}; 
17111 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}}; 
17112 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}}; 
17113 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}}; 
17114 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}}; 
17115 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}}; 
17116 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}}; 
17117 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}}; 
17118 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}}; 
17119 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}}; 
17120 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}}; 
17121 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}}; 
17122 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}}; 
17123 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
17124 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}}; 
17125 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}}; 
17126 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}}; 
17127 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}}; 
17128 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}}; 
17129 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}}; 
17130 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}}; 
17131 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}}; 
17132 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}}; 
17133 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}}; 
17134 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}}; 
17135 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}}; 
17136 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}}; 
17137 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}}; 
17138 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}}; 
17139 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}}; 
17140 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}}; 
17141 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}}; 
17142 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}}; 
17143 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}}; 
17144 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}}; 
17145 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}}; 
17146 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}}; 
17147 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}}; 
17148 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}}; 
17149 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}}; 
17150 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}}; 
17151 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}}; 
17152 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}}; 
17153 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}}; 
17154 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}}; 
17155 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}}; 
17156 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}}; 
17157 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}}; 
17158 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}}; 
17159 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}}; 
17160 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}}; 
17161 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}}; 
17163 static swig_type_info 
*swig_types_initial
[] = { 
17164 _swigt__p_wxGridCellAutoWrapStringRenderer
,  
17165 _swigt__p_wxGridCellEnumRenderer
,  
17166 _swigt__p_wxGridCellDateTimeRenderer
,  
17167 _swigt__p_wxGridCellBoolRenderer
,  
17168 _swigt__p_wxGridCellFloatRenderer
,  
17169 _swigt__p_wxGridCellNumberRenderer
,  
17170 _swigt__p_wxPyGridCellRenderer
,  
17171 _swigt__p_wxGridCellRenderer
,  
17172 _swigt__p_wxGridCellStringRenderer
,  
17173 _swigt__p_wxGridCellAttr
,  
17174 _swigt__p_wxColour
,  
17176 _swigt__p_wxGridTableMessage
,  
17178 _swigt__p_wxVisualAttributes
,  
17181 _swigt__p_wxNotifyEvent
,  
17182 _swigt__p_wxGridRangeSelectEvent
,  
17184 _swigt__p_wxGridCellCoords
,  
17185 _swigt__p_wxScrolledWindow
,  
17186 _swigt__p_wxWindow
,  
17188 _swigt__p_wxControl
,  
17190 _swigt__p_wxObject
,  
17191 _swigt__p_wxGridSizeEvent
,  
17194 _swigt__p_wxString
,  
17195 _swigt__p_wxEvtHandler
,  
17197 _swigt__p_wxGridEvent
,  
17198 _swigt__p_wxGridEditorCreatedEvent
,  
17199 _swigt__p_wxGridTableBase
,  
17200 _swigt__p_wxGridCellNumberEditor
,  
17201 _swigt__p_wxPyGridCellEditor
,  
17202 _swigt__p_wxGridCellEditor
,  
17203 _swigt__p_wxGridCellTextEditor
,  
17204 _swigt__p_wxGridCellFloatEditor
,  
17205 _swigt__p_wxGridCellBoolEditor
,  
17206 _swigt__p_wxPyGridTableBase
,  
17207 _swigt__p_wxGridStringTable
,  
17208 _swigt__p_wxArrayString
,  
17209 _swigt__p_wxCommandEvent
,  
17210 _swigt__p_wxGridCellAttrProvider
,  
17211 _swigt__p_wxKeyEvent
,  
17212 _swigt__p_wxGridCellChoiceEditor
,  
17213 _swigt__p_wxGridCellEnumEditor
,  
17214 _swigt__p_wxGridCellAutoWrapStringEditor
,  
17216 _swigt__p_wxPyGridCellAttrProvider
,  
17221 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
17223 static swig_const_info swig_const_table
[] = { 
17224 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
}, 
17225 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
}, 
17226 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
}, 
17227 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
}, 
17228 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
}, 
17229 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
}, 
17230 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
}, 
17231 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
}, 
17232 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
}, 
17242 SWIGEXPORT(void) SWIG_init(void) { 
17243     static PyObject 
*SWIG_globals 
= 0;  
17244     static int       typeinit 
= 0; 
17247     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
17248     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
17249     d 
= PyModule_GetDict(m
); 
17252         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
17253             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
17257     SWIG_InstallConstants(d
,swig_const_table
); 
17259     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
17260     SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
); 
17261     PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string")); 
17262     PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool")); 
17263     PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long")); 
17264     PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double")); 
17265     PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice")); 
17266     PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string")); 
17267     PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long")); 
17268     PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint")); 
17269     PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime")); 
17270     SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
); 
17271     SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
); 
17272     PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_FromInt((int)WXGRID_DEFAULT_NUMBER_ROWS
)); 
17273     PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_FromInt((int)WXGRID_DEFAULT_NUMBER_COLS
)); 
17274     PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_FromInt((int)WXGRID_DEFAULT_ROW_HEIGHT
)); 
17275     PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_FromInt((int)WXGRID_DEFAULT_COL_WIDTH
)); 
17276     PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_FromInt((int)WXGRID_DEFAULT_COL_LABEL_HEIGHT
)); 
17277     PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_FromInt((int)WXGRID_DEFAULT_ROW_LABEL_WIDTH
)); 
17278     PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_FromInt((int)WXGRID_LABEL_EDGE_ZONE
)); 
17279     PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_FromInt((int)WXGRID_MIN_ROW_HEIGHT
)); 
17280     PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_FromInt((int)WXGRID_MIN_COL_WIDTH
)); 
17281     PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_FromInt((int)WXGRID_DEFAULT_SCROLLBAR_WIDTH
)); 
17282     PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any
)); 
17283     PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default
)); 
17284     PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell
)); 
17285     PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row
)); 
17286     PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col
)); 
17287     PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged
)); 
17288     PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)); 
17289     PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)); 
17290     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)); 
17291     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)); 
17292     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
)); 
17293     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
)); 
17294     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
)); 
17295     PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
)); 
17296     PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells
)); 
17297     PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows
)); 
17298     PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns
)); 
17299     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
)); 
17300     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
)); 
17301     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
)); 
17302     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
)); 
17303     PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
)); 
17304     PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
)); 
17305     PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
)); 
17306     PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
)); 
17307     PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
)); 
17308     PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
)); 
17309     PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
)); 
17310     PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
)); 
17311     PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
)); 
17312     PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
)); 
17313     PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
)); 
17314     PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));