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; \
342 /* Otherwise make a new wrapper for it the old fashioned way and \
343 give it the OOR treatment */ \
345 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
347 source->SetClientObject(new wxPyOORClientData(target)); \
349 } else { /* source was NULL so return None. */ \
350 Py_INCREF(Py_None); target = Py_None; \
356 wxPyMake_TEMPLATE(wxGridCellRenderer)
357 wxPyMake_TEMPLATE(wxGridCellEditor
)
358 wxPyMake_TEMPLATE(wxGridCellAttr
)
359 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
360 wxPyMake_TEMPLATE(wxGridTableBase
)
364 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
365 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
366 wxGridCellAttr* rval = NULL; \
368 bool blocked = wxPyBeginBlockThreads(); \
369 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
371 wxGridCellAttr* ptr; \
372 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
374 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
379 wxPyEndBlockThreads(blocked); \
381 rval = PCLASS::CBNAME(a, b, c); \
384 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
385 return PCLASS::CBNAME(a, b, c); \
390 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
391 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
392 bool blocked = wxPyBeginBlockThreads(); \
394 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
395 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
396 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
399 wxPyEndBlockThreads(blocked); \
401 PCLASS::CBNAME(attr, a, b); \
403 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
404 PCLASS::CBNAME(attr, a, b); \
409 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
410 void CBNAME(wxGridCellAttr *attr, int val) { \
411 bool blocked = wxPyBeginBlockThreads(); \
413 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
414 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
415 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
418 wxPyEndBlockThreads(blocked); \
420 PCLASS::CBNAME(attr, val); \
422 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
423 PCLASS::CBNAME(attr, val); \
428 #define PYCALLBACK_INT__pure(CBNAME) \
430 bool blocked = wxPyBeginBlockThreads(); \
432 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
433 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
434 wxPyEndBlockThreads(blocked); \
440 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
441 bool CBNAME(int a, int b) { \
442 bool blocked = wxPyBeginBlockThreads(); \
444 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
445 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
446 wxPyEndBlockThreads(blocked); \
451 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
452 wxString CBNAME(int a, int b) { \
453 bool blocked = wxPyBeginBlockThreads(); \
455 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
457 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
459 rval = Py2wxString(ro); \
463 wxPyEndBlockThreads(blocked); \
468 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
469 void CBNAME(int a, int b, const wxString& c) { \
470 bool blocked = wxPyBeginBlockThreads(); \
471 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
472 PyObject* s = wx2PyString(c); \
473 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
476 wxPyEndBlockThreads(blocked); \
480 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
481 wxString CBNAME(int a, int b) { \
483 bool blocked = wxPyBeginBlockThreads(); \
485 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
487 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
489 rval = Py2wxString(ro); \
493 wxPyEndBlockThreads(blocked); \
495 rval = PCLASS::CBNAME(a, b); \
498 wxString base_##CBNAME(int a, int b) { \
499 return PCLASS::CBNAME(a, b); \
503 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
504 bool CBNAME(int a, int b, const wxString& c) { \
507 bool blocked = wxPyBeginBlockThreads(); \
508 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
509 PyObject* s = wx2PyString(c); \
510 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
513 wxPyEndBlockThreads(blocked); \
515 rval = PCLASS::CBNAME(a,b,c); \
518 bool base_##CBNAME(int a, int b, const wxString& c) { \
519 return PCLASS::CBNAME(a,b,c); \
525 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
526 long CBNAME(int a, int b) { \
529 bool blocked = wxPyBeginBlockThreads(); \
530 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
531 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
532 wxPyEndBlockThreads(blocked); \
534 rval = PCLASS::CBNAME(a,b); \
537 long base_##CBNAME(int a, int b) { \
538 return PCLASS::CBNAME(a,b); \
543 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
544 bool CBNAME(int a, int b) { \
547 bool blocked = wxPyBeginBlockThreads(); \
548 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
549 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
550 wxPyEndBlockThreads(blocked); \
552 rval = PCLASS::CBNAME(a,b); \
555 bool base_##CBNAME(int a, int b) { \
556 return PCLASS::CBNAME(a,b); \
561 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
562 double CBNAME(int a, int b) { \
564 bool blocked = wxPyBeginBlockThreads(); \
566 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
568 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
570 PyObject* str = PyObject_Str(ro); \
571 rval = PyFloat_AsDouble(str); \
572 Py_DECREF(ro); Py_DECREF(str); \
575 wxPyEndBlockThreads(blocked); \
577 rval = PCLASS::CBNAME(a, b); \
580 double base_##CBNAME(int a, int b) { \
581 return PCLASS::CBNAME(a, b); \
586 #define PYCALLBACK__(PCLASS, CBNAME) \
589 bool blocked = wxPyBeginBlockThreads(); \
590 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
591 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
592 wxPyEndBlockThreads(blocked); \
596 void base_##CBNAME() { \
603 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
604 bool CBNAME(size_t a, size_t b) { \
607 bool blocked = wxPyBeginBlockThreads(); \
608 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
609 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
610 wxPyEndBlockThreads(blocked); \
612 rval = PCLASS::CBNAME(a,b); \
615 bool base_##CBNAME(size_t a, size_t b) { \
616 return PCLASS::CBNAME(a,b); \
621 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
622 bool CBNAME(size_t a) { \
625 bool blocked = wxPyBeginBlockThreads(); \
626 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
627 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
628 wxPyEndBlockThreads(blocked); \
630 rval = PCLASS::CBNAME(a); \
633 bool base_##CBNAME(size_t a) { \
634 return PCLASS::CBNAME(a); \
638 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
639 wxString CBNAME(int a) { \
641 bool blocked = wxPyBeginBlockThreads(); \
643 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
645 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
647 rval = Py2wxString(ro); \
651 wxPyEndBlockThreads(blocked); \
653 rval = PCLASS::CBNAME(a); \
656 wxString base_##CBNAME(int a) { \
657 return PCLASS::CBNAME(a); \
661 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
662 void CBNAME(int a, const wxString& c) { \
664 bool blocked = wxPyBeginBlockThreads(); \
665 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
666 PyObject* s = wx2PyString(c); \
667 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
670 wxPyEndBlockThreads(blocked); \
672 PCLASS::CBNAME(a,c); \
674 void base_##CBNAME(int a, const wxString& c) { \
675 PCLASS::CBNAME(a,c); \
681 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
685 bool blocked = wxPyBeginBlockThreads(); \
686 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
687 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
688 wxPyEndBlockThreads(blocked); \
690 rval = PCLASS::CBNAME(); \
693 bool base_##CBNAME() { \
694 return PCLASS::CBNAME(); \
699 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
700 void CBNAME(size_t a, int b) { \
702 bool blocked = wxPyBeginBlockThreads(); \
703 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
704 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
705 wxPyEndBlockThreads(blocked); \
707 PCLASS::CBNAME(a,b); \
709 void base_##CBNAME(size_t a, int b) { \
710 PCLASS::CBNAME(a,b); \
716 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
717 void CBNAME(int a, int b, long c) { \
719 bool blocked = wxPyBeginBlockThreads(); \
720 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
721 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
722 wxPyEndBlockThreads(blocked); \
724 PCLASS::CBNAME(a,b,c); \
726 void base_##CBNAME(int a, int b, long c) { \
727 PCLASS::CBNAME(a,b,c); \
733 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
734 void CBNAME(int a, int b, double c) { \
736 bool blocked = wxPyBeginBlockThreads(); \
737 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
738 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
739 wxPyEndBlockThreads(blocked); \
741 PCLASS::CBNAME(a,b,c); \
743 void base_##CBNAME(int a, int b, double c) { \
744 PCLASS::CBNAME(a,b,c); \
749 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
750 void CBNAME(int a, int b, bool c) { \
752 bool blocked = wxPyBeginBlockThreads(); \
753 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
754 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
755 wxPyEndBlockThreads(blocked); \
757 PCLASS::CBNAME(a,b,c); \
759 void base_##CBNAME(int a, int b, bool c) { \
760 PCLASS::CBNAME(a,b,c); \
768 SWIGSTATICINLINE(PyObject
*)
769 SWIG_FromCharPtr(const char* cptr
)
771 size_t size
= cptr
? strlen(cptr
) : 0;
773 if (size
> INT_MAX
) {
774 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
775 SWIG_TypeQuery("char *"), 0);
777 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
786 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
787 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
788 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
789 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
790 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
791 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
792 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
793 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
794 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
795 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
797 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
798 if (!self
->GetClientObject())
799 self
->SetClientObject(new wxPyOORClientData(_self
));
805 SWIGSTATICINLINE(long)
806 SWIG_CheckLongInRange(long value
, const char* type
,
807 long min_value
, long max_value
)
809 if (!PyErr_Occurred()) {
810 if (value
< min_value
) {
812 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
813 value
, type
, min_value
);
815 PyErr_SetObject(PyExc_OverflowError
, err
);
817 } else if (value
> max_value
) {
819 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
820 value
, type
, max_value
);
821 PyErr_SetObject(PyExc_OverflowError
, err
);
829 SWIGSTATICINLINE(long)
830 SWIG_AsLong(PyObject
* obj
)
832 if (PyNumber_Check(obj
))
833 return PyInt_AsLong(obj
);
835 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
836 obj
->ob_type
->tp_name
);
837 PyErr_SetObject(PyExc_TypeError
, errmsg
);
844 #if INT_MAX != LONG_MAX
845 SWIGSTATICINLINE(int)
846 SWIG_AsInt(PyObject
*obj
)
848 return swig_numeric_cast(int,
849 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
850 "int", INT_MIN
, INT_MAX
));
853 #define SWIG_AsInt SWIG_AsLong
857 SWIGSTATICINLINE(bool)
858 SWIG_AsBool(PyObject
*obj
)
860 return PyObject_IsTrue(obj
) ? true : false;
864 SWIGSTATICINLINE(int)
865 SWIG_CheckInt(PyObject
* obj
)
868 if (PyErr_Occurred()) {
877 SWIGSTATICINLINE(int)
878 SWIG_CheckBool(PyObject
* obj
)
881 if (PyErr_Occurred()) {
890 class wxPyGridCellRenderer
: public wxGridCellRenderer
893 wxPyGridCellRenderer() : wxGridCellRenderer() {};
895 // Implement Python callback aware virtual methods
896 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
897 wxDC
& dc
, const wxRect
& rect
,
898 int row
, int col
, bool isSelected
) {
899 bool blocked
= wxPyBeginBlockThreads();
900 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
901 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
902 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
903 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
904 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
906 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
907 row
, col
, isSelected
));
913 wxPyEndBlockThreads(blocked
);
916 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
919 bool blocked
= wxPyBeginBlockThreads();
920 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
923 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
924 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
925 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
927 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
935 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
936 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
939 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
940 PyObject
* o1
= PySequence_GetItem(ro
, 0);
941 PyObject
* o2
= PySequence_GetItem(ro
, 1);
942 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
943 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
945 PyErr_SetString(PyExc_TypeError
, errmsg
);
950 PyErr_SetString(PyExc_TypeError
, errmsg
);
955 wxPyEndBlockThreads(blocked
);
960 wxGridCellRenderer
*Clone() const {
961 wxGridCellRenderer
* rval
= NULL
;
962 bool blocked
= wxPyBeginBlockThreads();
963 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
965 wxGridCellRenderer
* ptr
;
966 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
968 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
973 wxPyEndBlockThreads(blocked
);
977 DEC_PYCALLBACK__STRING(SetParameters
);
982 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
985 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
986 if (!self
->GetClientObject())
987 self
->SetClientObject(new wxPyOORClientData(_self
));
990 class wxPyGridCellEditor
: public wxGridCellEditor
993 wxPyGridCellEditor() : wxGridCellEditor() {}
995 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
996 bool blocked
= wxPyBeginBlockThreads();
997 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
998 PyObject
* po
= wxPyMake_wxObject(parent
,false);
999 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
1001 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
1005 wxPyEndBlockThreads(blocked
);
1009 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
1010 bool blocked
= wxPyBeginBlockThreads();
1011 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
1012 PyObject
* go
= wxPyMake_wxObject(grid
,false);
1013 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1016 wxPyEndBlockThreads(blocked
);
1020 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
1022 bool blocked
= wxPyBeginBlockThreads();
1023 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
1024 PyObject
* go
= wxPyMake_wxObject(grid
,false);
1025 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1028 wxPyEndBlockThreads(blocked
);
1033 wxGridCellEditor
* Clone() const {
1034 wxGridCellEditor
* rval
= NULL
;
1035 bool blocked
= wxPyBeginBlockThreads();
1036 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
1038 wxGridCellEditor
* ptr
;
1039 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1041 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
1046 wxPyEndBlockThreads(blocked
);
1051 void Show(bool show
, wxGridCellAttr
*attr
) {
1053 bool blocked
= wxPyBeginBlockThreads();
1054 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
1055 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
1056 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
1059 wxPyEndBlockThreads(blocked
);
1061 wxGridCellEditor::Show(show
, attr
);
1063 void base_Show(bool show
, wxGridCellAttr
*attr
) {
1064 wxGridCellEditor::Show(show
, attr
);
1068 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1070 bool blocked
= wxPyBeginBlockThreads();
1071 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
1072 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
1073 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
1075 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
1080 wxPyEndBlockThreads(blocked
);
1082 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1084 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1085 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1089 DEC_PYCALLBACK___pure(Reset
);
1090 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
1091 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
1092 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
1093 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
1094 DEC_PYCALLBACK__(StartingClick
);
1095 DEC_PYCALLBACK__(Destroy
);
1096 DEC_PYCALLBACK__STRING(SetParameters
);
1097 DEC_PYCALLBACK_STRING__constpure(GetValue
);
1103 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
1104 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
1105 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
1106 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
1107 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
1108 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
1109 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
1110 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
1111 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
1114 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
1115 if (!self
->GetClientObject())
1116 self
->SetClientObject(new wxPyOORClientData(_self
));
1119 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1125 } else if (target
== Py_None
) {
1129 if (!PyTuple_Check(target
)) {
1131 target
= PyTuple_New(1);
1132 PyTuple_SetItem(target
, 0, o2
);
1134 o3
= PyTuple_New(1);
1135 PyTuple_SetItem(o3
, 0, o
);
1138 target
= PySequence_Concat(o2
, o3
);
1145 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1146 if (!self
->GetClientObject())
1147 self
->SetClientObject(new wxPyOORClientData(_self
));
1150 SWIGSTATICINLINE(unsigned long)
1151 SWIG_AsUnsignedLong(PyObject
* obj
)
1153 if (PyLong_Check(obj
)) {
1154 return PyLong_AsUnsignedLong(obj
);
1156 long i
= SWIG_AsLong(obj
);
1157 if ( !PyErr_Occurred() && (i
< 0)) {
1158 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1165 SWIGSTATICINLINE(int)
1166 SWIG_CheckUnsignedLong(PyObject
* obj
)
1168 SWIG_AsUnsignedLong(obj
);
1169 if (PyErr_Occurred()) {
1178 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1181 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1183 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1184 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1185 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1186 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1191 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1192 if (!self
->GetClientObject())
1193 self
->SetClientObject(new wxPyOORClientData(_self
));
1196 SWIGSTATICINLINE(int)
1197 SWIG_CheckLong(PyObject
* obj
)
1200 if (PyErr_Occurred()) {
1209 SWIGSTATICINLINE(double)
1210 SWIG_AsDouble(PyObject
*obj
)
1212 if (PyNumber_Check(obj
))
1213 return PyFloat_AsDouble(obj
);
1215 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1216 obj
->ob_type
->tp_name
);
1217 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1224 SWIGSTATICINLINE(int)
1225 SWIG_CheckDouble(PyObject
* obj
)
1228 if (PyErr_Occurred()) {
1237 class wxPyGridTableBase
: public wxGridTableBase
1240 wxPyGridTableBase() : wxGridTableBase() {}
1242 PYCALLBACK_INT__pure(GetNumberRows
);
1243 PYCALLBACK_INT__pure(GetNumberCols
);
1244 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1245 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1246 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1247 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1248 PYCALLBACK__(wxGridTableBase
, Clear
);
1249 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1250 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1251 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1252 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1253 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1254 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1255 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1256 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1257 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1258 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1259 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1260 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1261 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1262 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1263 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1266 wxString
GetValue(int row
, int col
) {
1267 bool blocked
= wxPyBeginBlockThreads();
1269 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1271 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1273 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
1275 ro
= PyObject_Str(ro
);
1278 rval
= Py2wxString(ro
);
1282 wxPyEndBlockThreads(blocked
);
1286 void SetValue(int row
, int col
, const wxString
& val
) {
1287 bool blocked
= wxPyBeginBlockThreads();
1288 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1289 PyObject
* s
= wx2PyString(val
);
1290 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1293 wxPyEndBlockThreads(blocked
);
1297 // Map the Get/Set methods for the standard non-string types to
1298 // the GetValue and SetValue python methods.
1299 long GetValueAsLong( int row
, int col
) {
1301 bool blocked
= wxPyBeginBlockThreads();
1302 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1305 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1306 if (ro
&& PyNumber_Check(ro
)) {
1307 num
= PyNumber_Int(ro
);
1309 rval
= PyInt_AsLong(num
);
1315 wxPyEndBlockThreads(blocked
);
1319 double GetValueAsDouble( int row
, int col
) {
1321 bool blocked
= wxPyBeginBlockThreads();
1322 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1325 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1326 if (ro
&& PyNumber_Check(ro
)) {
1327 num
= PyNumber_Float(ro
);
1329 rval
= PyFloat_AsDouble(num
);
1335 wxPyEndBlockThreads(blocked
);
1339 bool GetValueAsBool( int row
, int col
) {
1340 return (bool)GetValueAsLong(row
, col
);
1343 void SetValueAsLong( int row
, int col
, long value
) {
1344 bool blocked
= wxPyBeginBlockThreads();
1345 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1346 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1348 wxPyEndBlockThreads(blocked
);
1351 void SetValueAsDouble( int row
, int col
, double value
) {
1352 bool blocked
= wxPyBeginBlockThreads();
1353 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1354 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1356 wxPyEndBlockThreads(blocked
);
1359 void SetValueAsBool( int row
, int col
, bool value
) {
1360 SetValueAsLong( row
, col
, (long)value
);
1367 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1369 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1371 if (source
== Py_None
) {
1372 **obj
= wxGridCellCoords(-1,-1);
1376 // If source is an object instance then it may already be the right type
1377 if (wxPySwigInstance_Check(source
)) {
1378 wxGridCellCoords
* ptr
;
1379 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1384 // otherwise a 2-tuple of integers is expected
1385 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1386 PyObject
* o1
= PySequence_GetItem(source
, 0);
1387 PyObject
* o2
= PySequence_GetItem(source
, 1);
1388 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1393 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1400 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1405 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1408 if (wxPySwigInstance_Check(source
) &&
1409 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1413 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1420 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1422 PyObject
* list
= PyList_New(0);
1424 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1425 wxGridCellCoords
& coord
= source
.Item(idx
);
1426 PyObject
* tup
= PyTuple_New(2);
1427 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1428 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1429 PyList_Append(list
, tup
);
1435 PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
1436 PyObject
* tup
= PyTuple_New(2);
1437 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1438 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1442 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1444 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1445 wxGridCellCoords rv
;
1446 self
->XYToCell(x
, y
, rv
);
1452 static int _wrap_DateTimeFormatStr_set(PyObject
*_val
) {
1453 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1458 static PyObject
*_wrap_DateTimeFormatStr_get() {
1463 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1465 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1472 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1473 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1478 static PyObject
*_wrap_GridNoCellCoords_get() {
1481 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
1486 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1487 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1492 static PyObject
*_wrap_GridNoCellRect_get() {
1495 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
1500 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
*resultobj
;
1502 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1503 PyObject
*arg2
= (PyObject
*) 0 ;
1504 PyObject
* obj0
= 0 ;
1505 PyObject
* obj1
= 0 ;
1507 (char *) "self",(char *) "_self", NULL
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1521 Py_INCREF(Py_None
); resultobj
= Py_None
;
1528 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
*resultobj
;
1530 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1531 wxString
*arg2
= 0 ;
1532 bool temp2
= False
;
1533 PyObject
* obj0
= 0 ;
1534 PyObject
* obj1
= 0 ;
1536 (char *) "self",(char *) "params", NULL
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1543 arg2
= wxString_in_helper(obj1
);
1544 if (arg2
== NULL
) SWIG_fail
;
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 (arg1
)->SetParameters((wxString
const &)*arg2
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1554 Py_INCREF(Py_None
); resultobj
= Py_None
;
1569 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
*resultobj
;
1571 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1572 PyObject
* obj0
= 0 ;
1574 (char *) "self", NULL
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 Py_INCREF(Py_None
); resultobj
= Py_None
;
1594 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
*resultobj
;
1596 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1597 PyObject
* obj0
= 0 ;
1599 (char *) "self", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 Py_INCREF(Py_None
); resultobj
= Py_None
;
1619 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1623 wxGridCellAttr
*arg3
= 0 ;
1630 PyObject
* obj0
= 0 ;
1631 PyObject
* obj1
= 0 ;
1632 PyObject
* obj2
= 0 ;
1633 PyObject
* obj3
= 0 ;
1634 PyObject
* obj4
= 0 ;
1635 PyObject
* obj5
= 0 ;
1636 PyObject
* obj6
= 0 ;
1637 PyObject
* obj7
= 0 ;
1639 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1649 PyErr_SetString(PyExc_TypeError
,"null reference");
1652 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1656 PyErr_SetString(PyExc_TypeError
,"null reference");
1659 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1663 PyErr_SetString(PyExc_TypeError
,"null reference");
1668 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1670 arg6
= (int) SWIG_AsInt(obj5
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1672 arg7
= (int) SWIG_AsInt(obj6
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1674 arg8
= (bool) SWIG_AsBool(obj7
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1683 Py_INCREF(Py_None
); resultobj
= Py_None
;
1690 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
*resultobj
;
1692 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1694 wxGridCellAttr
*arg3
= 0 ;
1699 PyObject
* obj0
= 0 ;
1700 PyObject
* obj1
= 0 ;
1701 PyObject
* obj2
= 0 ;
1702 PyObject
* obj3
= 0 ;
1703 PyObject
* obj4
= 0 ;
1704 PyObject
* obj5
= 0 ;
1706 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1716 PyErr_SetString(PyExc_TypeError
,"null reference");
1719 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1723 PyErr_SetString(PyExc_TypeError
,"null reference");
1726 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1730 PyErr_SetString(PyExc_TypeError
,"null reference");
1733 arg5
= (int) SWIG_AsInt(obj4
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1735 arg6
= (int) SWIG_AsInt(obj5
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1746 resultptr
= new wxSize((wxSize
&) result
);
1747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1755 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
*resultobj
;
1757 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1758 wxGridCellRenderer
*result
;
1759 PyObject
* obj0
= 0 ;
1761 (char *) "self", NULL
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1775 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
1783 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1786 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1788 return Py_BuildValue((char *)"");
1790 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
*resultobj
;
1792 wxPyGridCellRenderer
*result
;
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1812 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
*resultobj
;
1814 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1815 PyObject
*arg2
= (PyObject
*) 0 ;
1816 PyObject
*arg3
= (PyObject
*) 0 ;
1817 PyObject
* obj0
= 0 ;
1818 PyObject
* obj1
= 0 ;
1819 PyObject
* obj2
= 0 ;
1821 (char *) "self",(char *) "self",(char *) "_class", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 Py_INCREF(Py_None
); resultobj
= Py_None
;
1843 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
*resultobj
;
1845 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1846 wxString
*arg2
= 0 ;
1847 bool temp2
= False
;
1848 PyObject
* obj0
= 0 ;
1849 PyObject
* obj1
= 0 ;
1851 (char *) "self",(char *) "params", NULL
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1858 arg2
= wxString_in_helper(obj1
);
1859 if (arg2
== NULL
) SWIG_fail
;
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1869 Py_INCREF(Py_None
); resultobj
= Py_None
;
1884 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1887 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1889 return Py_BuildValue((char *)"");
1891 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
*resultobj
;
1893 wxGridCellStringRenderer
*result
;
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1913 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1916 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1918 return Py_BuildValue((char *)"");
1920 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 wxGridCellNumberRenderer
*result
;
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1942 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1945 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1947 return Py_BuildValue((char *)"");
1949 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1951 int arg1
= (int) -1 ;
1952 int arg2
= (int) -1 ;
1953 wxGridCellFloatRenderer
*result
;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1957 (char *) "width",(char *) "precision", NULL
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1962 arg1
= (int) SWIG_AsInt(obj0
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1966 arg2
= (int) SWIG_AsInt(obj1
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1983 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
*resultobj
;
1985 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1987 PyObject
* obj0
= 0 ;
1989 (char *) "self", NULL
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
1994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 resultobj
= SWIG_FromInt((int)result
);
2009 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
*resultobj
;
2011 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2013 PyObject
* obj0
= 0 ;
2014 PyObject
* obj1
= 0 ;
2016 (char *) "self",(char *) "width", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2022 arg2
= (int) SWIG_AsInt(obj1
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 (arg1
)->SetWidth(arg2
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 Py_INCREF(Py_None
); resultobj
= Py_None
;
2038 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2042 PyObject
* obj0
= 0 ;
2044 (char *) "self", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
2048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 resultobj
= SWIG_FromInt((int)result
);
2064 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2069 PyObject
* obj1
= 0 ;
2071 (char *) "self",(char *) "precision", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 arg2
= (int) SWIG_AsInt(obj1
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 (arg1
)->SetPrecision(arg2
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 Py_INCREF(Py_None
); resultobj
= Py_None
;
2093 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2096 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
2098 return Py_BuildValue((char *)"");
2100 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxGridCellBoolRenderer
*result
;
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
2122 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2125 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
2127 return Py_BuildValue((char *)"");
2129 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
*resultobj
;
2131 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
2132 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
2133 wxGridCellDateTimeRenderer
*result
;
2134 PyObject
* obj0
= 0 ;
2135 PyObject
* obj1
= 0 ;
2137 (char *) "outformat",(char *) "informat", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2143 wxString
* sptr
= wxString_in_helper(obj0
);
2144 if (sptr
== NULL
) SWIG_fail
;
2151 wxString
* sptr
= wxString_in_helper(obj1
);
2152 if (sptr
== NULL
) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2171 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2174 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2176 return Py_BuildValue((char *)"");
2178 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
*resultobj
;
2180 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2181 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2182 wxGridCellEnumRenderer
*result
;
2183 bool temp1
= False
;
2184 PyObject
* obj0
= 0 ;
2186 (char *) "choices", NULL
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2192 arg1
= wxString_in_helper(obj0
);
2193 if (arg1
== NULL
) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2219 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2222 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2224 return Py_BuildValue((char *)"");
2226 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxGridCellAutoWrapStringRenderer
*result
;
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2248 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2251 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2253 return Py_BuildValue((char *)"");
2255 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2258 PyObject
*arg2
= (PyObject
*) 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "self",(char *) "_self", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 Py_INCREF(Py_None
); resultobj
= Py_None
;
2283 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
*resultobj
;
2285 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2287 PyObject
* obj0
= 0 ;
2289 (char *) "self", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (bool)(arg1
)->IsCreated();
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2311 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2315 PyObject
* obj0
= 0 ;
2317 (char *) "self", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 result
= (wxControl
*)(arg1
)->GetControl();
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2331 resultobj
= wxPyMake_wxObject(result
, 0);
2339 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2342 wxControl
*arg2
= (wxControl
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2344 PyObject
* obj1
= 0 ;
2346 (char *) "self",(char *) "control", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
2353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 (arg1
)->SetControl(arg2
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 Py_INCREF(Py_None
); resultobj
= Py_None
;
2368 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2370 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2371 wxGridCellAttr
*result
;
2372 PyObject
* obj0
= 0 ;
2374 (char *) "self", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2388 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
2396 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2399 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2400 PyObject
* obj0
= 0 ;
2401 PyObject
* obj1
= 0 ;
2403 (char *) "self",(char *) "attr", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
2410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 (arg1
)->SetCellAttr(arg2
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 Py_INCREF(Py_None
); resultobj
= Py_None
;
2425 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2428 wxString
*arg2
= 0 ;
2429 bool temp2
= False
;
2430 PyObject
* obj0
= 0 ;
2431 PyObject
* obj1
= 0 ;
2433 (char *) "self",(char *) "params", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2440 arg2
= wxString_in_helper(obj1
);
2441 if (arg2
== NULL
) SWIG_fail
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 (arg1
)->SetParameters((wxString
const &)*arg2
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2451 Py_INCREF(Py_None
); resultobj
= Py_None
;
2466 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
*resultobj
;
2468 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2469 PyObject
* obj0
= 0 ;
2471 (char *) "self", NULL
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2484 Py_INCREF(Py_None
); resultobj
= Py_None
;
2491 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2494 PyObject
* obj0
= 0 ;
2496 (char *) "self", NULL
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2509 Py_INCREF(Py_None
); resultobj
= Py_None
;
2516 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
*resultobj
;
2518 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2519 wxWindow
*arg2
= (wxWindow
*) 0 ;
2521 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2522 PyObject
* obj0
= 0 ;
2523 PyObject
* obj1
= 0 ;
2524 PyObject
* obj2
= 0 ;
2525 PyObject
* obj3
= 0 ;
2527 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2535 arg3
= (int) SWIG_AsInt(obj2
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2537 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxEvtHandler
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 (arg1
)->Create(arg2
,arg3
,arg4
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2546 Py_INCREF(Py_None
); resultobj
= Py_None
;
2553 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2555 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2558 wxGrid
*arg4
= (wxGrid
*) 0 ;
2559 PyObject
* obj0
= 0 ;
2560 PyObject
* obj1
= 0 ;
2561 PyObject
* obj2
= 0 ;
2562 PyObject
* obj3
= 0 ;
2564 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 arg2
= (int) SWIG_AsInt(obj1
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2572 arg3
= (int) SWIG_AsInt(obj2
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2574 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2595 wxGrid
*arg4
= (wxGrid
*) 0 ;
2597 PyObject
* obj0
= 0 ;
2598 PyObject
* obj1
= 0 ;
2599 PyObject
* obj2
= 0 ;
2600 PyObject
* obj3
= 0 ;
2602 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2608 arg2
= (int) SWIG_AsInt(obj1
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2610 arg3
= (int) SWIG_AsInt(obj2
);
2611 if (PyErr_Occurred()) SWIG_fail
;
2612 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2630 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2633 PyObject
* obj0
= 0 ;
2635 (char *) "self", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 Py_INCREF(Py_None
); resultobj
= Py_None
;
2655 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2658 wxGridCellEditor
*result
;
2659 PyObject
* obj0
= 0 ;
2661 (char *) "self", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2675 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
2683 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2688 PyObject
* obj0
= 0 ;
2689 PyObject
* obj1
= 0 ;
2691 (char *) "self",(char *) "rect", NULL
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2699 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 (arg1
)->SetSize((wxRect
const &)*arg2
);
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2708 Py_INCREF(Py_None
); resultobj
= Py_None
;
2715 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
*resultobj
;
2717 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2719 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2720 PyObject
* obj0
= 0 ;
2721 PyObject
* obj1
= 0 ;
2722 PyObject
* obj2
= 0 ;
2724 (char *) "self",(char *) "show",(char *) "attr", NULL
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2730 arg2
= (bool) SWIG_AsBool(obj1
);
2731 if (PyErr_Occurred()) SWIG_fail
;
2733 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 (arg1
)->Show(arg2
,arg3
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 Py_INCREF(Py_None
); resultobj
= Py_None
;
2750 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2754 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2758 PyObject
* obj2
= 0 ;
2760 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2768 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2770 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2789 wxKeyEvent
*arg2
= 0 ;
2791 PyObject
* obj0
= 0 ;
2792 PyObject
* obj1
= 0 ;
2794 (char *) "self",(char *) "event", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2804 PyErr_SetString(PyExc_TypeError
,"null reference");
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2823 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2825 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2826 wxKeyEvent
*arg2
= 0 ;
2827 PyObject
* obj0
= 0 ;
2828 PyObject
* obj1
= 0 ;
2830 (char *) "self",(char *) "event", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2840 PyErr_SetString(PyExc_TypeError
,"null reference");
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 (arg1
)->StartingKey(*arg2
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 Py_INCREF(Py_None
); resultobj
= Py_None
;
2857 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2860 PyObject
* obj0
= 0 ;
2862 (char *) "self", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 (arg1
)->StartingClick();
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 Py_INCREF(Py_None
); resultobj
= Py_None
;
2882 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2885 wxKeyEvent
*arg2
= 0 ;
2886 PyObject
* obj0
= 0 ;
2887 PyObject
* obj1
= 0 ;
2889 (char *) "self",(char *) "event", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2899 PyErr_SetString(PyExc_TypeError
,"null reference");
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 (arg1
)->HandleReturn(*arg2
);
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2909 Py_INCREF(Py_None
); resultobj
= Py_None
;
2916 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2919 PyObject
* obj0
= 0 ;
2921 (char *) "self", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 Py_INCREF(Py_None
); resultobj
= Py_None
;
2941 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2944 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2946 return Py_BuildValue((char *)"");
2948 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxPyGridCellEditor
*result
;
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
2970 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
*resultobj
;
2972 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2973 PyObject
*arg2
= (PyObject
*) 0 ;
2974 PyObject
*arg3
= (PyObject
*) 0 ;
2975 PyObject
* obj0
= 0 ;
2976 PyObject
* obj1
= 0 ;
2977 PyObject
* obj2
= 0 ;
2979 (char *) "self",(char *) "self",(char *) "_class", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 Py_INCREF(Py_None
); resultobj
= Py_None
;
3001 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3006 PyObject
* obj0
= 0 ;
3007 PyObject
* obj1
= 0 ;
3009 (char *) "self",(char *) "rect", NULL
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3017 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3026 Py_INCREF(Py_None
); resultobj
= Py_None
;
3033 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3037 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3040 PyObject
* obj2
= 0 ;
3042 (char *) "self",(char *) "show",(char *) "attr", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3048 arg2
= (bool) SWIG_AsBool(obj1
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 (arg1
)->base_Show(arg2
,arg3
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3072 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3076 PyObject
* obj2
= 0 ;
3078 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3086 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3088 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 Py_INCREF(Py_None
); resultobj
= Py_None
;
3104 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3107 wxKeyEvent
*arg2
= 0 ;
3109 PyObject
* obj0
= 0 ;
3110 PyObject
* obj1
= 0 ;
3112 (char *) "self",(char *) "event", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3122 PyErr_SetString(PyExc_TypeError
,"null reference");
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3127 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3141 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3144 wxKeyEvent
*arg2
= 0 ;
3145 PyObject
* obj0
= 0 ;
3146 PyObject
* obj1
= 0 ;
3148 (char *) "self",(char *) "event", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3158 PyErr_SetString(PyExc_TypeError
,"null reference");
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 (arg1
)->base_StartingKey(*arg2
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3168 Py_INCREF(Py_None
); resultobj
= Py_None
;
3175 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3178 PyObject
* obj0
= 0 ;
3180 (char *) "self", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 (arg1
)->base_StartingClick();
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 Py_INCREF(Py_None
); resultobj
= Py_None
;
3200 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3203 wxKeyEvent
*arg2
= 0 ;
3204 PyObject
* obj0
= 0 ;
3205 PyObject
* obj1
= 0 ;
3207 (char *) "self",(char *) "event", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3217 PyErr_SetString(PyExc_TypeError
,"null reference");
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 (arg1
)->base_HandleReturn(*arg2
);
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3227 Py_INCREF(Py_None
); resultobj
= Py_None
;
3234 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3237 PyObject
* obj0
= 0 ;
3239 (char *) "self", NULL
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 (arg1
)->base_Destroy();
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 Py_INCREF(Py_None
); resultobj
= Py_None
;
3259 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3262 wxString
*arg2
= 0 ;
3263 bool temp2
= False
;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3267 (char *) "self",(char *) "params", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3274 arg2
= wxString_in_helper(obj1
);
3275 if (arg2
== NULL
) SWIG_fail
;
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3285 Py_INCREF(Py_None
); resultobj
= Py_None
;
3300 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3303 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3305 return Py_BuildValue((char *)"");
3307 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxGridCellTextEditor
*result
;
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
3329 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3333 PyObject
* obj0
= 0 ;
3335 (char *) "self", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellTextEditor
,
3340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 result
= (arg1
)->GetValue();
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3361 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3364 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3366 return Py_BuildValue((char *)"");
3368 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 int arg1
= (int) -1 ;
3371 int arg2
= (int) -1 ;
3372 wxGridCellNumberEditor
*result
;
3373 PyObject
* obj0
= 0 ;
3374 PyObject
* obj1
= 0 ;
3376 (char *) "min",(char *) "max", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3381 arg1
= (int) SWIG_AsInt(obj0
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3385 arg2
= (int) SWIG_AsInt(obj1
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3402 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3408 (char *) "self", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellNumberEditor
,
3413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 result
= (arg1
)->GetValue();
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3434 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3437 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3439 return Py_BuildValue((char *)"");
3441 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
*resultobj
;
3443 int arg1
= (int) -1 ;
3444 int arg2
= (int) -1 ;
3445 wxGridCellFloatEditor
*result
;
3446 PyObject
* obj0
= 0 ;
3447 PyObject
* obj1
= 0 ;
3449 (char *) "width",(char *) "precision", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3454 arg1
= (int) SWIG_AsInt(obj0
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3458 arg2
= (int) SWIG_AsInt(obj1
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3475 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3479 PyObject
* obj0
= 0 ;
3481 (char *) "self", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatEditor
,
3486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 result
= (arg1
)->GetValue();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3507 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3510 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3512 return Py_BuildValue((char *)"");
3514 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxGridCellBoolEditor
*result
;
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3536 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3538 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3540 PyObject
* obj0
= 0 ;
3542 (char *) "self", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellBoolEditor
,
3547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (arg1
)->GetValue();
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3568 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3571 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3573 return Py_BuildValue((char *)"");
3575 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
*resultobj
;
3577 int arg1
= (int) 0 ;
3578 wxString
*arg2
= (wxString
*) NULL
;
3579 bool arg3
= (bool) False
;
3580 wxGridCellChoiceEditor
*result
;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3584 (char *) "choices",(char *) "allowOthers", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3590 arg1
= PyList_Size(obj0
);
3591 arg2
= wxString_LIST_helper(obj0
);
3592 if (arg2
== NULL
) SWIG_fail
;
3596 arg3
= (bool) SWIG_AsBool(obj1
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3608 if (arg2
) delete [] arg2
;
3613 if (arg2
) delete [] arg2
;
3619 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3623 PyObject
* obj0
= 0 ;
3625 (char *) "self", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellChoiceEditor
,
3630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 result
= (arg1
)->GetValue();
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3651 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3654 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3656 return Py_BuildValue((char *)"");
3658 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3661 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3662 wxGridCellEnumEditor
*result
;
3663 bool temp1
= False
;
3664 PyObject
* obj0
= 0 ;
3666 (char *) "choices", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3672 arg1
= wxString_in_helper(obj0
);
3673 if (arg1
== NULL
) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3699 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3703 PyObject
* obj0
= 0 ;
3705 (char *) "self", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEnumEditor
,
3710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (arg1
)->GetValue();
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3731 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3734 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3736 return Py_BuildValue((char *)"");
3738 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxGridCellAutoWrapStringEditor
*result
;
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3760 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3764 PyObject
* obj0
= 0 ;
3766 (char *) "self", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,
3771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (arg1
)->GetValue();
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3792 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3795 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3797 return Py_BuildValue((char *)"");
3799 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3802 PyObject
*arg2
= (PyObject
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3804 PyObject
* obj1
= 0 ;
3806 (char *) "self",(char *) "_self", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 Py_INCREF(Py_None
); resultobj
= Py_None
;
3827 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3830 wxGridCellAttr
*result
;
3831 PyObject
* obj0
= 0 ;
3833 (char *) "attrDefault", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= wxPyMake_wxGridCellAttr(result
, 1);
3857 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3860 wxGridCellAttr
*result
;
3861 PyObject
* obj0
= 0 ;
3863 (char *) "self", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3877 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
3885 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3888 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3892 (char *) "self",(char *) "mergefrom", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->MergeWith(arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 Py_INCREF(Py_None
); resultobj
= Py_None
;
3939 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3942 PyObject
* obj0
= 0 ;
3944 (char *) "self", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 Py_INCREF(Py_None
); resultobj
= Py_None
;
3964 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3967 wxColour
*arg2
= 0 ;
3969 PyObject
* obj0
= 0 ;
3970 PyObject
* obj1
= 0 ;
3972 (char *) "self",(char *) "colText", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3980 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 Py_INCREF(Py_None
); resultobj
= Py_None
;
3996 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3999 wxColour
*arg2
= 0 ;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4004 (char *) "self",(char *) "colBack", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4012 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 Py_INCREF(Py_None
); resultobj
= Py_None
;
4028 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4033 PyObject
* obj1
= 0 ;
4035 (char *) "self",(char *) "font", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
4042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4045 PyErr_SetString(PyExc_TypeError
,"null reference");
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 (arg1
)->SetFont((wxFont
const &)*arg2
);
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 Py_INCREF(Py_None
); resultobj
= Py_None
;
4062 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4069 PyObject
* obj2
= 0 ;
4071 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4077 arg2
= (int) SWIG_AsInt(obj1
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4079 arg3
= (int) SWIG_AsInt(obj2
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 (arg1
)->SetAlignment(arg2
,arg3
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 Py_INCREF(Py_None
); resultobj
= Py_None
;
4095 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4102 PyObject
* obj2
= 0 ;
4104 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4110 arg2
= (int) SWIG_AsInt(obj1
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4112 arg3
= (int) SWIG_AsInt(obj2
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 (arg1
)->SetSize(arg2
,arg3
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 Py_INCREF(Py_None
); resultobj
= Py_None
;
4128 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4130 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4131 bool arg2
= (bool) True
;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4135 (char *) "self",(char *) "allow", NULL
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
4139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4142 arg2
= (bool) SWIG_AsBool(obj1
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 (arg1
)->SetOverflow(arg2
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4162 bool arg2
= (bool) True
;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4166 (char *) "self",(char *) "isReadOnly", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4173 arg2
= (bool) SWIG_AsBool(obj1
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 (arg1
)->SetReadOnly(arg2
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 Py_INCREF(Py_None
); resultobj
= Py_None
;
4190 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4193 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "renderer", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
4204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 (arg1
)->SetRenderer(arg2
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 Py_INCREF(Py_None
); resultobj
= Py_None
;
4219 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4222 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4224 PyObject
* obj1
= 0 ;
4226 (char *) "self",(char *) "editor", NULL
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
4233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 (arg1
)->SetEditor(arg2
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 Py_INCREF(Py_None
); resultobj
= Py_None
;
4248 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
;
4250 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4252 PyObject
* obj0
= 0 ;
4253 PyObject
* obj1
= 0 ;
4255 (char *) "self",(char *) "kind", NULL
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4261 arg2
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj1
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 Py_INCREF(Py_None
); resultobj
= Py_None
;
4277 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4283 (char *) "self", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4305 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4309 PyObject
* obj0
= 0 ;
4311 (char *) "self", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4333 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4337 PyObject
* obj0
= 0 ;
4339 (char *) "self", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4361 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4367 (char *) "self", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4389 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4395 (char *) "self", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4417 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4421 PyObject
* obj0
= 0 ;
4423 (char *) "self", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4445 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
;
4447 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4451 (char *) "self", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4473 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4477 PyObject
* obj0
= 0 ;
4479 (char *) "self", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4501 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4507 (char *) "self", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4521 wxColour
* resultptr
;
4522 resultptr
= new wxColour((wxColour
&) result
);
4523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4531 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4537 (char *) "self", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4551 wxColour
* resultptr
;
4552 resultptr
= new wxColour((wxColour
&) result
);
4553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4561 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4565 PyObject
* obj0
= 0 ;
4567 (char *) "self", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4582 resultptr
= new wxFont((wxFont
&) result
);
4583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
4591 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4594 int *arg2
= (int *) 0 ;
4595 int *arg3
= (int *) 0 ;
4598 PyObject
* obj0
= 0 ;
4600 (char *) "self", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 Py_INCREF(Py_None
); resultobj
= Py_None
;
4617 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4618 resultobj
= t_output_helper(resultobj
,o
);
4621 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4622 resultobj
= t_output_helper(resultobj
,o
);
4630 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4633 int *arg2
= (int *) 0 ;
4634 int *arg3
= (int *) 0 ;
4637 PyObject
* obj0
= 0 ;
4639 (char *) "self", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 Py_INCREF(Py_None
); resultobj
= Py_None
;
4656 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4657 resultobj
= t_output_helper(resultobj
,o
);
4660 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4661 resultobj
= t_output_helper(resultobj
,o
);
4669 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4673 PyObject
* obj0
= 0 ;
4675 (char *) "self", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4697 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4700 wxGrid
*arg2
= (wxGrid
*) 0 ;
4703 wxGridCellRenderer
*result
;
4704 PyObject
* obj0
= 0 ;
4705 PyObject
* obj1
= 0 ;
4706 PyObject
* obj2
= 0 ;
4707 PyObject
* obj3
= 0 ;
4709 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4717 arg3
= (int) SWIG_AsInt(obj2
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4719 arg4
= (int) SWIG_AsInt(obj3
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
4737 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4740 wxGrid
*arg2
= (wxGrid
*) 0 ;
4743 wxGridCellEditor
*result
;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4746 PyObject
* obj2
= 0 ;
4747 PyObject
* obj3
= 0 ;
4749 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 arg3
= (int) SWIG_AsInt(obj2
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4759 arg4
= (int) SWIG_AsInt(obj3
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4769 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
4777 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4781 PyObject
* obj0
= 0 ;
4783 (char *) "self", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4805 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4809 PyObject
* obj0
= 0 ;
4811 (char *) "self", NULL
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
4815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (int)(arg1
)->GetKind();
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= SWIG_FromInt((int)result
);
4831 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4834 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4838 (char *) "self",(char *) "defAttr", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 (arg1
)->SetDefAttr(arg2
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 Py_INCREF(Py_None
); resultobj
= Py_None
;
4860 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4863 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4865 return Py_BuildValue((char *)"");
4867 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4869 wxGridCellAttrProvider
*result
;
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4883 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 1);
4891 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4894 PyObject
*arg2
= (PyObject
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4898 (char *) "self",(char *) "_self", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 Py_INCREF(Py_None
); resultobj
= Py_None
;
4919 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4925 wxGridCellAttr
*result
;
4926 PyObject
* obj0
= 0 ;
4927 PyObject
* obj1
= 0 ;
4928 PyObject
* obj2
= 0 ;
4929 PyObject
* obj3
= 0 ;
4931 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4937 arg2
= (int) SWIG_AsInt(obj1
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4939 arg3
= (int) SWIG_AsInt(obj2
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4941 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
4959 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4962 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4965 PyObject
* obj0
= 0 ;
4966 PyObject
* obj1
= 0 ;
4967 PyObject
* obj2
= 0 ;
4968 PyObject
* obj3
= 0 ;
4970 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4978 arg3
= (int) SWIG_AsInt(obj2
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4980 arg4
= (int) SWIG_AsInt(obj3
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 Py_INCREF(Py_None
); resultobj
= Py_None
;
4996 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4999 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5002 PyObject
* obj1
= 0 ;
5003 PyObject
* obj2
= 0 ;
5005 (char *) "self",(char *) "attr",(char *) "row", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5013 arg3
= (int) SWIG_AsInt(obj2
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->SetRowAttr(arg2
,arg3
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5029 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5032 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5036 PyObject
* obj2
= 0 ;
5038 (char *) "self",(char *) "attr",(char *) "col", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 arg3
= (int) SWIG_AsInt(obj2
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 (arg1
)->SetColAttr(arg2
,arg3
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5069 PyObject
* obj2
= 0 ;
5071 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5079 arg3
= (int) SWIG_AsInt(obj2
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 (arg1
)->UpdateAttrRows(arg2
,arg3
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 Py_INCREF(Py_None
); resultobj
= Py_None
;
5095 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5102 PyObject
* obj2
= 0 ;
5104 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5110 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5112 arg3
= (int) SWIG_AsInt(obj2
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 (arg1
)->UpdateAttrCols(arg2
,arg3
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 Py_INCREF(Py_None
); resultobj
= Py_None
;
5128 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5131 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
5133 return Py_BuildValue((char *)"");
5135 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxPyGridCellAttrProvider
*result
;
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
5157 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5160 PyObject
*arg2
= (PyObject
*) 0 ;
5161 PyObject
*arg3
= (PyObject
*) 0 ;
5162 PyObject
* obj0
= 0 ;
5163 PyObject
* obj1
= 0 ;
5164 PyObject
* obj2
= 0 ;
5166 (char *) "self",(char *) "self",(char *) "_class", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 Py_INCREF(Py_None
); resultobj
= Py_None
;
5188 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5194 wxGridCellAttr
*result
;
5195 PyObject
* obj0
= 0 ;
5196 PyObject
* obj1
= 0 ;
5197 PyObject
* obj2
= 0 ;
5198 PyObject
* obj3
= 0 ;
5200 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5206 arg2
= (int) SWIG_AsInt(obj1
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5208 arg3
= (int) SWIG_AsInt(obj2
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5210 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
5228 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5231 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5234 PyObject
* obj0
= 0 ;
5235 PyObject
* obj1
= 0 ;
5236 PyObject
* obj2
= 0 ;
5237 PyObject
* obj3
= 0 ;
5239 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 arg3
= (int) SWIG_AsInt(obj2
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5249 arg4
= (int) SWIG_AsInt(obj3
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 Py_INCREF(Py_None
); resultobj
= Py_None
;
5265 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5268 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5272 PyObject
* obj2
= 0 ;
5274 (char *) "self",(char *) "attr",(char *) "row", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5282 arg3
= (int) SWIG_AsInt(obj2
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5301 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5303 PyObject
* obj0
= 0 ;
5304 PyObject
* obj1
= 0 ;
5305 PyObject
* obj2
= 0 ;
5307 (char *) "self",(char *) "attr",(char *) "col", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5315 arg3
= (int) SWIG_AsInt(obj2
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 (arg1
)->base_SetColAttr(arg2
,arg3
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 Py_INCREF(Py_None
); resultobj
= Py_None
;
5331 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5334 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5336 return Py_BuildValue((char *)"");
5338 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5341 PyObject
*arg2
= (PyObject
*) 0 ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5345 (char *) "self",(char *) "_self", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxGridTableBase__setOORInfo(arg1
,arg2
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 Py_INCREF(Py_None
); resultobj
= Py_None
;
5366 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5369 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "attrProvider", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
,
5380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 (arg1
)->SetAttrProvider(arg2
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 Py_INCREF(Py_None
); resultobj
= Py_None
;
5395 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5398 wxGridCellAttrProvider
*result
;
5399 PyObject
* obj0
= 0 ;
5401 (char *) "self", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 0);
5423 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5426 wxGrid
*arg2
= (wxGrid
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5430 (char *) "self",(char *) "grid", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
5437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 (arg1
)->SetView(arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 Py_INCREF(Py_None
); resultobj
= Py_None
;
5452 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5458 (char *) "self", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= wxPyMake_wxObject(result
, 0);
5480 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5486 (char *) "self", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (int)(arg1
)->GetNumberRows();
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= SWIG_FromInt((int)result
);
5506 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5512 (char *) "self", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= (int)(arg1
)->GetNumberCols();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_FromInt((int)result
);
5532 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5539 PyObject
* obj1
= 0 ;
5540 PyObject
* obj2
= 0 ;
5542 (char *) "self",(char *) "row",(char *) "col", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5548 arg2
= (int) SWIG_AsInt(obj1
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5550 arg3
= (int) SWIG_AsInt(obj2
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5568 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5576 PyObject
* obj2
= 0 ;
5578 (char *) "self",(char *) "row",(char *) "col", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5584 arg2
= (int) SWIG_AsInt(obj1
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5586 arg3
= (int) SWIG_AsInt(obj2
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (arg1
)->GetValue(arg2
,arg3
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5608 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5613 wxString
*arg4
= 0 ;
5614 bool temp4
= False
;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5618 PyObject
* obj3
= 0 ;
5620 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5626 arg2
= (int) SWIG_AsInt(obj1
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5628 arg3
= (int) SWIG_AsInt(obj2
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 arg4
= wxString_in_helper(obj3
);
5632 if (arg4
== NULL
) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 Py_INCREF(Py_None
); resultobj
= Py_None
;
5657 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5665 PyObject
* obj2
= 0 ;
5667 (char *) "self",(char *) "row",(char *) "col", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5673 arg2
= (int) SWIG_AsInt(obj1
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5675 arg3
= (int) SWIG_AsInt(obj2
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5697 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5702 wxString
*arg4
= 0 ;
5704 bool temp4
= False
;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 PyObject
* obj2
= 0 ;
5708 PyObject
* obj3
= 0 ;
5710 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5716 arg2
= (int) SWIG_AsInt(obj1
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5718 arg3
= (int) SWIG_AsInt(obj2
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 arg4
= wxString_in_helper(obj3
);
5722 if (arg4
== NULL
) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5749 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5754 wxString
*arg4
= 0 ;
5756 bool temp4
= False
;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5759 PyObject
* obj2
= 0 ;
5760 PyObject
* obj3
= 0 ;
5762 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5768 arg2
= (int) SWIG_AsInt(obj1
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5770 arg3
= (int) SWIG_AsInt(obj2
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 arg4
= wxString_in_helper(obj3
);
5774 if (arg4
== NULL
) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
;
5803 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5809 PyObject
* obj2
= 0 ;
5811 (char *) "self",(char *) "row",(char *) "col", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5817 arg2
= (int) SWIG_AsInt(obj1
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5819 arg3
= (int) SWIG_AsInt(obj2
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_FromLong((long)result
);
5835 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 PyObject
* obj2
= 0 ;
5845 (char *) "self",(char *) "row",(char *) "col", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 arg2
= (int) SWIG_AsInt(obj1
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5853 arg3
= (int) SWIG_AsInt(obj2
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= SWIG_FromDouble((double)result
);
5869 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 PyObject
* obj2
= 0 ;
5879 (char *) "self",(char *) "row",(char *) "col", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5885 arg2
= (int) SWIG_AsInt(obj1
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5887 arg3
= (int) SWIG_AsInt(obj2
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5905 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5911 PyObject
* obj0
= 0 ;
5912 PyObject
* obj1
= 0 ;
5913 PyObject
* obj2
= 0 ;
5914 PyObject
* obj3
= 0 ;
5916 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5922 arg2
= (int) SWIG_AsInt(obj1
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5924 arg3
= (int) SWIG_AsInt(obj2
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5926 arg4
= (long) SWIG_AsLong(obj3
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 Py_INCREF(Py_None
); resultobj
= Py_None
;
5942 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5948 PyObject
* obj0
= 0 ;
5949 PyObject
* obj1
= 0 ;
5950 PyObject
* obj2
= 0 ;
5951 PyObject
* obj3
= 0 ;
5953 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5959 arg2
= (int) SWIG_AsInt(obj1
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5961 arg3
= (int) SWIG_AsInt(obj2
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5963 arg4
= (double) SWIG_AsDouble(obj3
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 Py_INCREF(Py_None
); resultobj
= Py_None
;
5979 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
;
5981 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 PyObject
* obj2
= 0 ;
5988 PyObject
* obj3
= 0 ;
5990 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 arg2
= (int) SWIG_AsInt(obj1
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5998 arg3
= (int) SWIG_AsInt(obj2
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6000 arg4
= (bool) SWIG_AsBool(obj3
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 Py_INCREF(Py_None
); resultobj
= Py_None
;
6016 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6019 PyObject
* obj0
= 0 ;
6021 (char *) "self", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 Py_INCREF(Py_None
); resultobj
= Py_None
;
6041 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6044 size_t arg2
= (size_t) 0 ;
6045 size_t arg3
= (size_t) 1 ;
6047 PyObject
* obj0
= 0 ;
6048 PyObject
* obj1
= 0 ;
6049 PyObject
* obj2
= 0 ;
6051 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6058 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6081 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6084 size_t arg2
= (size_t) 1 ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6089 (char *) "self",(char *) "numRows", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6096 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (bool)(arg1
)->AppendRows(arg2
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6115 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6118 size_t arg2
= (size_t) 0 ;
6119 size_t arg3
= (size_t) 1 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6123 PyObject
* obj2
= 0 ;
6125 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6132 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6136 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6155 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6158 size_t arg2
= (size_t) 0 ;
6159 size_t arg3
= (size_t) 1 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 PyObject
* obj2
= 0 ;
6165 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6172 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6176 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6195 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6198 size_t arg2
= (size_t) 1 ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "numCols", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6210 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (bool)(arg1
)->AppendCols(arg2
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6229 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6232 size_t arg2
= (size_t) 0 ;
6233 size_t arg3
= (size_t) 1 ;
6235 PyObject
* obj0
= 0 ;
6236 PyObject
* obj1
= 0 ;
6237 PyObject
* obj2
= 0 ;
6239 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6246 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6250 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6269 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6277 (char *) "self",(char *) "row", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 arg2
= (int) SWIG_AsInt(obj1
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (arg1
)->GetRowLabelValue(arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6305 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6313 (char *) "self",(char *) "col", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6319 arg2
= (int) SWIG_AsInt(obj1
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (arg1
)->GetColLabelValue(arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6341 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6345 wxString
*arg3
= 0 ;
6346 bool temp3
= False
;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6349 PyObject
* obj2
= 0 ;
6351 (char *) "self",(char *) "row",(char *) "value", NULL
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6357 arg2
= (int) SWIG_AsInt(obj1
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 arg3
= wxString_in_helper(obj2
);
6361 if (arg3
== NULL
) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 Py_INCREF(Py_None
); resultobj
= Py_None
;
6386 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6390 wxString
*arg3
= 0 ;
6391 bool temp3
= False
;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6394 PyObject
* obj2
= 0 ;
6396 (char *) "self",(char *) "col",(char *) "value", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6402 arg2
= (int) SWIG_AsInt(obj1
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 arg3
= wxString_in_helper(obj2
);
6406 if (arg3
== NULL
) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 Py_INCREF(Py_None
); resultobj
= Py_None
;
6431 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6435 PyObject
* obj0
= 0 ;
6437 (char *) "self", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (bool)(arg1
)->CanHaveAttributes();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6459 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6465 wxGridCellAttr
*result
;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6469 PyObject
* obj3
= 0 ;
6471 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 arg2
= (int) SWIG_AsInt(obj1
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6479 arg3
= (int) SWIG_AsInt(obj2
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6481 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
6499 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6502 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6507 PyObject
* obj2
= 0 ;
6508 PyObject
* obj3
= 0 ;
6510 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6518 arg3
= (int) SWIG_AsInt(obj2
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6520 arg4
= (int) SWIG_AsInt(obj3
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 Py_INCREF(Py_None
); resultobj
= Py_None
;
6536 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6539 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6543 PyObject
* obj2
= 0 ;
6545 (char *) "self",(char *) "attr",(char *) "row", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6553 arg3
= (int) SWIG_AsInt(obj2
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 (arg1
)->SetRowAttr(arg2
,arg3
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 Py_INCREF(Py_None
); resultobj
= Py_None
;
6569 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6572 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 PyObject
* obj2
= 0 ;
6578 (char *) "self",(char *) "attr",(char *) "col", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6586 arg3
= (int) SWIG_AsInt(obj2
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->SetColAttr(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6605 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6607 return Py_BuildValue((char *)"");
6609 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxPyGridTableBase
*result
;
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
6631 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6634 PyObject
*arg2
= (PyObject
*) 0 ;
6635 PyObject
*arg3
= (PyObject
*) 0 ;
6636 PyObject
* obj0
= 0 ;
6637 PyObject
* obj1
= 0 ;
6638 PyObject
* obj2
= 0 ;
6640 (char *) "self",(char *) "self",(char *) "_class", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 Py_INCREF(Py_None
); resultobj
= Py_None
;
6662 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6667 (char *) "self", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 wxPyGridTableBase_Destroy(arg1
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 Py_INCREF(Py_None
); resultobj
= Py_None
;
6687 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6695 PyObject
* obj2
= 0 ;
6697 (char *) "self",(char *) "row",(char *) "col", NULL
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6703 arg2
= (int) SWIG_AsInt(obj1
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6705 arg3
= (int) SWIG_AsInt(obj2
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6727 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6732 wxString
*arg4
= 0 ;
6734 bool temp4
= False
;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6737 PyObject
* obj2
= 0 ;
6738 PyObject
* obj3
= 0 ;
6740 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6746 arg2
= (int) SWIG_AsInt(obj1
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6748 arg3
= (int) SWIG_AsInt(obj2
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6751 arg4
= wxString_in_helper(obj3
);
6752 if (arg4
== NULL
) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6779 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6784 wxString
*arg4
= 0 ;
6786 bool temp4
= False
;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 PyObject
* obj2
= 0 ;
6790 PyObject
* obj3
= 0 ;
6792 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6798 arg2
= (int) SWIG_AsInt(obj1
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6800 arg3
= (int) SWIG_AsInt(obj2
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 arg4
= wxString_in_helper(obj3
);
6804 if (arg4
== NULL
) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6831 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6833 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6834 PyObject
* obj0
= 0 ;
6836 (char *) "self", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 (arg1
)->base_Clear();
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6849 Py_INCREF(Py_None
); resultobj
= Py_None
;
6856 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
*resultobj
;
6858 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6859 size_t arg2
= (size_t) 0 ;
6860 size_t arg3
= (size_t) 1 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 PyObject
* obj2
= 0 ;
6866 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6873 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6877 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6896 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6899 size_t arg2
= (size_t) 1 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6904 (char *) "self",(char *) "numRows", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6911 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6930 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6933 size_t arg2
= (size_t) 0 ;
6934 size_t arg3
= (size_t) 1 ;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6938 PyObject
* obj2
= 0 ;
6940 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6947 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6970 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6973 size_t arg2
= (size_t) 0 ;
6974 size_t arg3
= (size_t) 1 ;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6978 PyObject
* obj2
= 0 ;
6980 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6987 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6991 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7010 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7013 size_t arg2
= (size_t) 1 ;
7015 PyObject
* obj0
= 0 ;
7016 PyObject
* obj1
= 0 ;
7018 (char *) "self",(char *) "numCols", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
7022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7025 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (bool)(arg1
)->base_AppendCols(arg2
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7044 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7047 size_t arg2
= (size_t) 0 ;
7048 size_t arg3
= (size_t) 1 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 PyObject
* obj2
= 0 ;
7054 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7084 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "row", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7098 arg2
= (int) SWIG_AsInt(obj1
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (arg1
)->base_GetRowLabelValue(arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7120 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7128 (char *) "self",(char *) "col", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7134 arg2
= (int) SWIG_AsInt(obj1
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (arg1
)->base_GetColLabelValue(arg2
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7156 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7160 wxString
*arg3
= 0 ;
7161 bool temp3
= False
;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7164 PyObject
* obj2
= 0 ;
7166 (char *) "self",(char *) "row",(char *) "value", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 arg2
= (int) SWIG_AsInt(obj1
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 arg3
= wxString_in_helper(obj2
);
7176 if (arg3
== NULL
) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 Py_INCREF(Py_None
); resultobj
= Py_None
;
7201 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7205 wxString
*arg3
= 0 ;
7206 bool temp3
= False
;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7209 PyObject
* obj2
= 0 ;
7211 (char *) "self",(char *) "col",(char *) "value", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7217 arg2
= (int) SWIG_AsInt(obj1
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 arg3
= wxString_in_helper(obj2
);
7221 if (arg3
== NULL
) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "self", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= (bool)(arg1
)->base_CanHaveAttributes();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7274 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7280 wxGridCellAttr
*result
;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7283 PyObject
* obj2
= 0 ;
7284 PyObject
* obj3
= 0 ;
7286 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7292 arg2
= (int) SWIG_AsInt(obj1
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7294 arg3
= (int) SWIG_AsInt(obj2
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7296 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
7314 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7317 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7322 PyObject
* obj2
= 0 ;
7323 PyObject
* obj3
= 0 ;
7325 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7333 arg3
= (int) SWIG_AsInt(obj2
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7335 arg4
= (int) SWIG_AsInt(obj3
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 Py_INCREF(Py_None
); resultobj
= Py_None
;
7351 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
;
7353 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7354 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7356 PyObject
* obj0
= 0 ;
7357 PyObject
* obj1
= 0 ;
7358 PyObject
* obj2
= 0 ;
7360 (char *) "self",(char *) "attr",(char *) "row", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 arg3
= (int) SWIG_AsInt(obj2
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 Py_INCREF(Py_None
); resultobj
= Py_None
;
7384 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7387 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7389 PyObject
* obj0
= 0 ;
7390 PyObject
* obj1
= 0 ;
7391 PyObject
* obj2
= 0 ;
7393 (char *) "self",(char *) "attr",(char *) "col", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 arg3
= (int) SWIG_AsInt(obj2
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 (arg1
)->base_SetColAttr(arg2
,arg3
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 Py_INCREF(Py_None
); resultobj
= Py_None
;
7417 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
7419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7420 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7422 return Py_BuildValue((char *)"");
7424 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 int arg1
= (int) 0 ;
7427 int arg2
= (int) 0 ;
7428 wxGridStringTable
*result
;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7432 (char *) "numRows",(char *) "numCols", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7437 arg1
= (int) SWIG_AsInt(obj0
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7441 arg2
= (int) SWIG_AsInt(obj1
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
7458 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
7460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7461 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7463 return Py_BuildValue((char *)"");
7465 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7469 int arg3
= (int) -1 ;
7470 int arg4
= (int) -1 ;
7471 wxGridTableMessage
*result
;
7472 PyObject
* obj0
= 0 ;
7473 PyObject
* obj1
= 0 ;
7474 PyObject
* obj2
= 0 ;
7475 PyObject
* obj3
= 0 ;
7477 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7483 arg2
= (int) SWIG_AsInt(obj1
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 arg3
= (int) SWIG_AsInt(obj2
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7490 arg4
= (int) SWIG_AsInt(obj3
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
7507 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7510 PyObject
* obj0
= 0 ;
7512 (char *) "self", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 Py_INCREF(Py_None
); resultobj
= Py_None
;
7532 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7535 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7536 PyObject
* obj0
= 0 ;
7537 PyObject
* obj1
= 0 ;
7539 (char *) "self",(char *) "table", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 (arg1
)->SetTableObject(arg2
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7564 wxGridTableBase
*result
;
7565 PyObject
* obj0
= 0 ;
7567 (char *) "self", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
7589 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7596 (char *) "self",(char *) "id", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7602 arg2
= (int) SWIG_AsInt(obj1
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 (arg1
)->SetId(arg2
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (int)(arg1
)->GetId();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= SWIG_FromInt((int)result
);
7644 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7651 (char *) "self",(char *) "comInt1", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7657 arg2
= (int) SWIG_AsInt(obj1
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 (arg1
)->SetCommandInt(arg2
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 Py_INCREF(Py_None
); resultobj
= Py_None
;
7673 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7679 (char *) "self", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (int)(arg1
)->GetCommandInt();
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_FromInt((int)result
);
7699 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7704 PyObject
* obj1
= 0 ;
7706 (char *) "self",(char *) "comInt2", NULL
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7712 arg2
= (int) SWIG_AsInt(obj1
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 (arg1
)->SetCommandInt2(arg2
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 Py_INCREF(Py_None
); resultobj
= Py_None
;
7728 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7732 PyObject
* obj0
= 0 ;
7734 (char *) "self", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (int)(arg1
)->GetCommandInt2();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= SWIG_FromInt((int)result
);
7754 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
7756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7757 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7759 return Py_BuildValue((char *)"");
7761 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 int arg1
= (int) -1 ;
7764 int arg2
= (int) -1 ;
7765 wxGridCellCoords
*result
;
7766 PyObject
* obj0
= 0 ;
7767 PyObject
* obj1
= 0 ;
7769 (char *) "r",(char *) "c", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7774 arg1
= (int) SWIG_AsInt(obj0
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7778 arg2
= (int) SWIG_AsInt(obj1
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
7795 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7800 (char *) "self", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 Py_INCREF(Py_None
); resultobj
= Py_None
;
7820 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7826 (char *) "self", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= SWIG_FromInt((int)result
);
7846 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7853 (char *) "self",(char *) "n", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7859 arg2
= (int) SWIG_AsInt(obj1
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 (arg1
)->SetRow(arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= SWIG_FromInt((int)result
);
7901 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7908 (char *) "self",(char *) "n", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7914 arg2
= (int) SWIG_AsInt(obj1
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 (arg1
)->SetCol(arg2
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 Py_INCREF(Py_None
); resultobj
= Py_None
;
7930 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7936 PyObject
* obj1
= 0 ;
7937 PyObject
* obj2
= 0 ;
7939 (char *) "self",(char *) "row",(char *) "col", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7945 arg2
= (int) SWIG_AsInt(obj1
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7947 arg3
= (int) SWIG_AsInt(obj2
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 (arg1
)->Set(arg2
,arg3
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 Py_INCREF(Py_None
); resultobj
= Py_None
;
7963 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7966 wxGridCellCoords
*arg2
= 0 ;
7968 wxGridCellCoords temp2
;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7972 (char *) "self",(char *) "other", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7980 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7998 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8001 wxGridCellCoords
*arg2
= 0 ;
8003 wxGridCellCoords temp2
;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8007 (char *) "self",(char *) "other", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8033 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8059 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
8061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8062 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
8064 return Py_BuildValue((char *)"");
8066 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxWindow
*arg1
= (wxWindow
*) 0 ;
8069 int arg2
= (int) -1 ;
8070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8074 long arg5
= (long) wxWANTS_CHARS
;
8075 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8076 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8080 bool temp6
= False
;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8083 PyObject
* obj2
= 0 ;
8084 PyObject
* obj3
= 0 ;
8085 PyObject
* obj4
= 0 ;
8086 PyObject
* obj5
= 0 ;
8088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 arg2
= (int) SWIG_AsInt(obj1
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8101 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8107 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8111 arg5
= (long) SWIG_AsLong(obj4
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8116 arg6
= wxString_in_helper(obj5
);
8117 if (arg6
== NULL
) SWIG_fail
;
8122 if (!wxPyCheckForApp()) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
8144 static PyObject
*_wrap_new_PreGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
8153 if (!wxPyCheckForApp()) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (wxGrid
*)new wxGrid();
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
8167 static PyObject
*_wrap_Grid_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxGrid
*arg1
= (wxGrid
*) 0 ;
8170 wxWindow
*arg2
= (wxWindow
*) 0 ;
8171 int arg3
= (int) -1 ;
8172 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8173 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8174 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8175 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8176 long arg6
= (long) wxWANTS_CHARS
;
8177 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8178 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8182 bool temp7
= False
;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8185 PyObject
* obj2
= 0 ;
8186 PyObject
* obj3
= 0 ;
8187 PyObject
* obj4
= 0 ;
8188 PyObject
* obj5
= 0 ;
8189 PyObject
* obj6
= 0 ;
8191 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8200 arg3
= (int) SWIG_AsInt(obj2
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8206 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8212 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8216 arg6
= (long) SWIG_AsLong(obj5
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8221 arg7
= wxString_in_helper(obj6
);
8222 if (arg7
== NULL
) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8250 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxGrid
*arg1
= (wxGrid
*) 0 ;
8255 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8259 PyObject
* obj2
= 0 ;
8260 PyObject
* obj3
= 0 ;
8262 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8268 arg2
= (int) SWIG_AsInt(obj1
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8270 arg3
= (int) SWIG_AsInt(obj2
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8292 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxGrid
*arg1
= (wxGrid
*) 0 ;
8295 WXGRIDSELECTIONMODES arg2
;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8299 (char *) "self",(char *) "selmode", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 arg2
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj1
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 (arg1
)->SetSelectionMode(arg2
);
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxGrid
*arg1
= (wxGrid
*) 0 ;
8324 WXGRIDSELECTIONMODES result
;
8325 PyObject
* obj0
= 0 ;
8327 (char *) "self", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_FromInt((int)result
);
8347 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxGrid
*arg1
= (wxGrid
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8353 (char *) "self", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (int)(arg1
)->GetNumberRows();
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= SWIG_FromInt((int)result
);
8373 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxGrid
*arg1
= (wxGrid
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "self", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (int)(arg1
)->GetNumberCols();
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_FromInt((int)result
);
8399 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxGrid
*arg1
= (wxGrid
*) 0 ;
8402 wxGridTableMessage
*arg2
= 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "self","arg2", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
,
8414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8417 PyErr_SetString(PyExc_TypeError
,"null reference");
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8436 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxGrid
*arg1
= (wxGrid
*) 0 ;
8439 wxGridTableBase
*result
;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
8464 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxGrid
*arg1
= (wxGrid
*) 0 ;
8467 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8468 bool arg3
= (bool) False
;
8469 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8471 PyObject
* obj0
= 0 ;
8472 PyObject
* obj1
= 0 ;
8473 PyObject
* obj2
= 0 ;
8474 PyObject
* obj3
= 0 ;
8476 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
8483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8485 arg3
= (bool) SWIG_AsBool(obj2
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8489 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8508 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxGrid
*arg1
= (wxGrid
*) 0 ;
8511 PyObject
* obj0
= 0 ;
8513 (char *) "self", NULL
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 (arg1
)->ClearGrid();
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 Py_INCREF(Py_None
); resultobj
= Py_None
;
8533 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxGrid
*arg1
= (wxGrid
*) 0 ;
8536 int arg2
= (int) 0 ;
8537 int arg3
= (int) 1 ;
8538 bool arg4
= (bool) True
;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8543 PyObject
* obj3
= 0 ;
8545 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8552 arg2
= (int) SWIG_AsInt(obj1
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8556 arg3
= (int) SWIG_AsInt(obj2
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 arg4
= (bool) SWIG_AsBool(obj3
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8579 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxGrid
*arg1
= (wxGrid
*) 0 ;
8582 int arg2
= (int) 1 ;
8583 bool arg3
= (bool) True
;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8587 PyObject
* obj2
= 0 ;
8589 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8596 arg2
= (int) SWIG_AsInt(obj1
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8600 arg3
= (bool) SWIG_AsBool(obj2
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8619 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxGrid
*arg1
= (wxGrid
*) 0 ;
8622 int arg2
= (int) 0 ;
8623 int arg3
= (int) 1 ;
8624 bool arg4
= (bool) True
;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8629 PyObject
* obj3
= 0 ;
8631 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8638 arg2
= (int) SWIG_AsInt(obj1
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8642 arg3
= (int) SWIG_AsInt(obj2
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8646 arg4
= (bool) SWIG_AsBool(obj3
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8665 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxGrid
*arg1
= (wxGrid
*) 0 ;
8668 int arg2
= (int) 0 ;
8669 int arg3
= (int) 1 ;
8670 bool arg4
= (bool) True
;
8672 PyObject
* obj0
= 0 ;
8673 PyObject
* obj1
= 0 ;
8674 PyObject
* obj2
= 0 ;
8675 PyObject
* obj3
= 0 ;
8677 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8684 arg2
= (int) SWIG_AsInt(obj1
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8688 arg3
= (int) SWIG_AsInt(obj2
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8692 arg4
= (bool) SWIG_AsBool(obj3
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8711 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxGrid
*arg1
= (wxGrid
*) 0 ;
8714 int arg2
= (int) 1 ;
8715 bool arg3
= (bool) True
;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 PyObject
* obj2
= 0 ;
8721 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8728 arg2
= (int) SWIG_AsInt(obj1
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8732 arg3
= (bool) SWIG_AsBool(obj2
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8751 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxGrid
*arg1
= (wxGrid
*) 0 ;
8754 int arg2
= (int) 0 ;
8755 int arg3
= (int) 1 ;
8756 bool arg4
= (bool) True
;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8760 PyObject
* obj2
= 0 ;
8761 PyObject
* obj3
= 0 ;
8763 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8770 arg2
= (int) SWIG_AsInt(obj1
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 arg3
= (int) SWIG_AsInt(obj2
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8778 arg4
= (bool) SWIG_AsBool(obj3
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8797 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxGrid
*arg1
= (wxGrid
*) 0 ;
8801 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8804 PyObject
* obj2
= 0 ;
8806 (char *) "self",(char *) "dc",(char *) "attr", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8816 PyErr_SetString(PyExc_TypeError
,"null reference");
8819 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
8820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 Py_INCREF(Py_None
); resultobj
= Py_None
;
8835 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxGrid
*arg1
= (wxGrid
*) 0 ;
8839 wxString
*arg3
= 0 ;
8841 int arg5
= (int) wxLEFT
;
8842 int arg6
= (int) wxTOP
;
8843 int arg7
= (int) wxHORIZONTAL
;
8844 bool temp3
= False
;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8848 PyObject
* obj2
= 0 ;
8849 PyObject
* obj3
= 0 ;
8850 PyObject
* obj4
= 0 ;
8851 PyObject
* obj5
= 0 ;
8852 PyObject
* obj6
= 0 ;
8854 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8864 PyErr_SetString(PyExc_TypeError
,"null reference");
8868 arg3
= wxString_in_helper(obj2
);
8869 if (arg3
== NULL
) SWIG_fail
;
8874 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8877 arg5
= (int) SWIG_AsInt(obj4
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8881 arg6
= (int) SWIG_AsInt(obj5
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8885 arg7
= (int) SWIG_AsInt(obj6
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 Py_INCREF(Py_None
); resultobj
= Py_None
;
8910 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxGrid
*arg1
= (wxGrid
*) 0 ;
8914 wxArrayString
*arg3
= 0 ;
8915 long *arg4
= (long *) 0 ;
8916 long *arg5
= (long *) 0 ;
8917 bool temp3
= False
;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8924 (char *) "self",(char *) "dc",(char *) "lines", NULL
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8936 PyErr_SetString(PyExc_TypeError
,"null reference");
8940 if (! PySequence_Check(obj2
)) {
8941 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8944 arg3
= new wxArrayString
;
8946 int i
, len
=PySequence_Length(obj2
);
8947 for (i
=0; i
<len
; i
++) {
8948 PyObject
* item
= PySequence_GetItem(obj2
, i
);
8950 PyObject
* str
= PyObject_Unicode(item
);
8952 PyObject
* str
= PyObject_Str(item
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8955 arg3
->Add(Py2wxString(str
));
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 Py_INCREF(Py_None
); resultobj
= Py_None
;
8969 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8970 resultobj
= t_output_helper(resultobj
,o
);
8973 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8974 resultobj
= t_output_helper(resultobj
,o
);
8977 if (temp3
) delete arg3
;
8982 if (temp3
) delete arg3
;
8988 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
;
8990 wxGrid
*arg1
= (wxGrid
*) 0 ;
8991 PyObject
* obj0
= 0 ;
8993 (char *) "self", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 (arg1
)->BeginBatch();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxGrid
*arg1
= (wxGrid
*) 0 ;
9016 PyObject
* obj0
= 0 ;
9018 (char *) "self", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
9022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxGrid
*arg1
= (wxGrid
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9044 (char *) "self", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
9048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (int)(arg1
)->GetBatchCount();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= SWIG_FromInt((int)result
);
9064 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxGrid
*arg1
= (wxGrid
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "self", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
9073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 (arg1
)->ForceRefresh();
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxGrid
*arg1
= (wxGrid
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9095 (char *) "self", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
9099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (bool)(arg1
)->IsEditable();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9117 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxGrid
*arg1
= (wxGrid
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9122 PyObject
* obj1
= 0 ;
9124 (char *) "self",(char *) "edit", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9130 arg2
= (bool) SWIG_AsBool(obj1
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 (arg1
)->EnableEditing(arg2
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 Py_INCREF(Py_None
); resultobj
= Py_None
;
9146 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 wxGrid
*arg1
= (wxGrid
*) 0 ;
9149 bool arg2
= (bool) True
;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9153 (char *) "self",(char *) "enable", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
9157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9160 arg2
= (bool) SWIG_AsBool(obj1
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 (arg1
)->EnableCellEditControl(arg2
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 Py_INCREF(Py_None
); resultobj
= Py_None
;
9177 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxGrid
*arg1
= (wxGrid
*) 0 ;
9180 PyObject
* obj0
= 0 ;
9182 (char *) "self", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
9186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 (arg1
)->DisableCellEditControl();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 Py_INCREF(Py_None
); resultobj
= Py_None
;
9202 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxGrid
*arg1
= (wxGrid
*) 0 ;
9206 PyObject
* obj0
= 0 ;
9208 (char *) "self", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9230 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxGrid
*arg1
= (wxGrid
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9236 (char *) "self", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
9240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9258 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxGrid
*arg1
= (wxGrid
*) 0 ;
9262 PyObject
* obj0
= 0 ;
9264 (char *) "self", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9286 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxGrid
*arg1
= (wxGrid
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9314 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxGrid
*arg1
= (wxGrid
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9319 (char *) "self", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 (arg1
)->ShowCellEditControl();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxGrid
*arg1
= (wxGrid
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9344 (char *) "self", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 (arg1
)->HideCellEditControl();
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 Py_INCREF(Py_None
); resultobj
= Py_None
;
9364 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxGrid
*arg1
= (wxGrid
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9369 (char *) "self", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 (arg1
)->SaveEditControlValue();
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 Py_INCREF(Py_None
); resultobj
= Py_None
;
9389 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxGrid
*arg1
= (wxGrid
*) 0 ;
9394 wxGridCellCoords result
;
9395 PyObject
* obj0
= 0 ;
9396 PyObject
* obj1
= 0 ;
9397 PyObject
* obj2
= 0 ;
9399 (char *) "self",(char *) "x",(char *) "y", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9405 arg2
= (int) SWIG_AsInt(obj1
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9407 arg3
= (int) SWIG_AsInt(obj2
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 wxGridCellCoords
* resultptr
;
9418 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
9427 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxGrid
*arg1
= (wxGrid
*) 0 ;
9432 PyObject
* obj0
= 0 ;
9433 PyObject
* obj1
= 0 ;
9435 (char *) "self",(char *) "y", NULL
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9441 arg2
= (int) SWIG_AsInt(obj1
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (int)(arg1
)->YToRow(arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_FromInt((int)result
);
9457 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxGrid
*arg1
= (wxGrid
*) 0 ;
9462 PyObject
* obj0
= 0 ;
9463 PyObject
* obj1
= 0 ;
9465 (char *) "self",(char *) "x", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9471 arg2
= (int) SWIG_AsInt(obj1
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (int)(arg1
)->XToCol(arg2
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= SWIG_FromInt((int)result
);
9487 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxGrid
*arg1
= (wxGrid
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9495 (char *) "self",(char *) "y", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9501 arg2
= (int) SWIG_AsInt(obj1
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_FromInt((int)result
);
9517 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxGrid
*arg1
= (wxGrid
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9525 (char *) "self",(char *) "x", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9531 arg2
= (int) SWIG_AsInt(obj1
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_FromInt((int)result
);
9547 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxGrid
*arg1
= (wxGrid
*) 0 ;
9553 PyObject
* obj0
= 0 ;
9554 PyObject
* obj1
= 0 ;
9555 PyObject
* obj2
= 0 ;
9557 (char *) "self",(char *) "row",(char *) "col", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 arg2
= (int) SWIG_AsInt(obj1
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9565 arg3
= (int) SWIG_AsInt(obj2
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (arg1
)->CellToRect(arg2
,arg3
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9576 resultptr
= new wxRect((wxRect
&) result
);
9577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9585 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxGrid
*arg1
= (wxGrid
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9591 (char *) "self", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (int)(arg1
)->GetGridCursorRow();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_FromInt((int)result
);
9611 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxGrid
*arg1
= (wxGrid
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (int)(arg1
)->GetGridCursorCol();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_FromInt((int)result
);
9637 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxGrid
*arg1
= (wxGrid
*) 0 ;
9642 bool arg4
= (bool) True
;
9644 PyObject
* obj0
= 0 ;
9645 PyObject
* obj1
= 0 ;
9646 PyObject
* obj2
= 0 ;
9647 PyObject
* obj3
= 0 ;
9649 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9655 arg2
= (int) SWIG_AsInt(obj1
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9657 arg3
= (int) SWIG_AsInt(obj2
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 arg4
= (bool) SWIG_AsBool(obj3
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9679 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxGrid
*arg1
= (wxGrid
*) 0 ;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9686 PyObject
* obj2
= 0 ;
9688 (char *) "self",(char *) "row",(char *) "col", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 arg2
= (int) SWIG_AsInt(obj1
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9696 arg3
= (int) SWIG_AsInt(obj2
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->MakeCellVisible(arg2
,arg3
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxGrid
*arg1
= (wxGrid
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9719 PyObject
* obj2
= 0 ;
9721 (char *) "self",(char *) "row",(char *) "col", NULL
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9727 arg2
= (int) SWIG_AsInt(obj1
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9729 arg3
= (int) SWIG_AsInt(obj2
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 (arg1
)->SetGridCursor(arg2
,arg3
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 Py_INCREF(Py_None
); resultobj
= Py_None
;
9745 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxGrid
*arg1
= (wxGrid
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9753 (char *) "self",(char *) "expandSelection", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9759 arg2
= (bool) SWIG_AsBool(obj1
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9777 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxGrid
*arg1
= (wxGrid
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9785 (char *) "self",(char *) "expandSelection", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9791 arg2
= (bool) SWIG_AsBool(obj1
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9809 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxGrid
*arg1
= (wxGrid
*) 0 ;
9814 PyObject
* obj0
= 0 ;
9815 PyObject
* obj1
= 0 ;
9817 (char *) "self",(char *) "expandSelection", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9823 arg2
= (bool) SWIG_AsBool(obj1
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9841 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxGrid
*arg1
= (wxGrid
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9849 (char *) "self",(char *) "expandSelection", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9855 arg2
= (bool) SWIG_AsBool(obj1
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9873 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxGrid
*arg1
= (wxGrid
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9879 (char *) "self", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (bool)(arg1
)->MovePageDown();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9901 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxGrid
*arg1
= (wxGrid
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (bool)(arg1
)->MovePageUp();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9929 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxGrid
*arg1
= (wxGrid
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9935 PyObject
* obj1
= 0 ;
9937 (char *) "self",(char *) "expandSelection", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 arg2
= (bool) SWIG_AsBool(obj1
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9961 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxGrid
*arg1
= (wxGrid
*) 0 ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9969 (char *) "self",(char *) "expandSelection", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9975 arg2
= (bool) SWIG_AsBool(obj1
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9993 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxGrid
*arg1
= (wxGrid
*) 0 ;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self",(char *) "expandSelection", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10007 arg2
= (bool) SWIG_AsBool(obj1
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10025 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxGrid
*arg1
= (wxGrid
*) 0 ;
10030 PyObject
* obj0
= 0 ;
10031 PyObject
* obj1
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self",(char *) "expandSelection", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10039 arg2
= (bool) SWIG_AsBool(obj1
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10057 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxGrid
*arg1
= (wxGrid
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (int)(arg1
)->GetDefaultRowLabelSize();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_FromInt((int)result
);
10083 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxGrid
*arg1
= (wxGrid
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (int)(arg1
)->GetRowLabelSize();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_FromInt((int)result
);
10109 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxGrid
*arg1
= (wxGrid
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (int)(arg1
)->GetDefaultColLabelSize();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_FromInt((int)result
);
10135 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxGrid
*arg1
= (wxGrid
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= (int)(arg1
)->GetColLabelSize();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= SWIG_FromInt((int)result
);
10161 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxGrid
*arg1
= (wxGrid
*) 0 ;
10165 PyObject
* obj0
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
10171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (arg1
)->GetLabelBackgroundColour();
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10181 wxColour
* resultptr
;
10182 resultptr
= new wxColour((wxColour
&) result
);
10183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10191 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxGrid
*arg1
= (wxGrid
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
10201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (arg1
)->GetLabelTextColour();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10211 wxColour
* resultptr
;
10212 resultptr
= new wxColour((wxColour
&) result
);
10213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10221 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxGrid
*arg1
= (wxGrid
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (arg1
)->GetLabelFont();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10241 wxFont
* resultptr
;
10242 resultptr
= new wxFont((wxFont
&) result
);
10243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
10251 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxGrid
*arg1
= (wxGrid
*) 0 ;
10254 int *arg2
= (int *) 0 ;
10255 int *arg3
= (int *) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 Py_INCREF(Py_None
); resultobj
= Py_None
;
10277 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10278 resultobj
= t_output_helper(resultobj
,o
);
10281 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10282 resultobj
= t_output_helper(resultobj
,o
);
10290 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxGrid
*arg1
= (wxGrid
*) 0 ;
10293 int *arg2
= (int *) 0 ;
10294 int *arg3
= (int *) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 Py_INCREF(Py_None
); resultobj
= Py_None
;
10316 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10317 resultobj
= t_output_helper(resultobj
,o
);
10320 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10321 resultobj
= t_output_helper(resultobj
,o
);
10329 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
;
10331 wxGrid
*arg1
= (wxGrid
*) 0 ;
10333 PyObject
* obj0
= 0 ;
10334 char *kwnames
[] = {
10335 (char *) "self", NULL
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 result
= (int)(arg1
)->GetColLabelTextOrientation();
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= SWIG_FromInt((int)result
);
10355 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxGrid
*arg1
= (wxGrid
*) 0 ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "row", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 arg2
= (int) SWIG_AsInt(obj1
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (arg1
)->GetRowLabelValue(arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10391 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxGrid
*arg1
= (wxGrid
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "col", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 arg2
= (int) SWIG_AsInt(obj1
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (arg1
)->GetColLabelValue(arg2
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10427 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxGrid
*arg1
= (wxGrid
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (arg1
)->GetGridLineColour();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 wxColour
* resultptr
;
10448 resultptr
= new wxColour((wxColour
&) result
);
10449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10457 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxGrid
*arg1
= (wxGrid
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (arg1
)->GetCellHighlightColour();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 wxColour
* resultptr
;
10478 resultptr
= new wxColour((wxColour
&) result
);
10479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10487 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
;
10489 wxGrid
*arg1
= (wxGrid
*) 0 ;
10491 PyObject
* obj0
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "self", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_FromInt((int)result
);
10513 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxGrid
*arg1
= (wxGrid
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= SWIG_FromInt((int)result
);
10539 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxGrid
*arg1
= (wxGrid
*) 0 ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "width", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 arg2
= (int) SWIG_AsInt(obj1
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 (arg1
)->SetRowLabelSize(arg2
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxGrid
*arg1
= (wxGrid
*) 0 ;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self",(char *) "height", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10581 arg2
= (int) SWIG_AsInt(obj1
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 (arg1
)->SetColLabelSize(arg2
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 Py_INCREF(Py_None
); resultobj
= Py_None
;
10597 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxGrid
*arg1
= (wxGrid
*) 0 ;
10600 wxColour
*arg2
= 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self","arg2", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 Py_INCREF(Py_None
); resultobj
= Py_None
;
10629 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxGrid
*arg1
= (wxGrid
*) 0 ;
10632 wxColour
*arg2
= 0 ;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 char *kwnames
[] = {
10637 (char *) "self","arg2", NULL
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10645 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 Py_INCREF(Py_None
); resultobj
= Py_None
;
10661 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxGrid
*arg1
= (wxGrid
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self","arg2", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10677 if (arg2
== NULL
) {
10678 PyErr_SetString(PyExc_TypeError
,"null reference");
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 Py_INCREF(Py_None
); resultobj
= Py_None
;
10695 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
;
10697 wxGrid
*arg1
= (wxGrid
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 PyObject
* obj2
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 arg2
= (int) SWIG_AsInt(obj1
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10712 arg3
= (int) SWIG_AsInt(obj2
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxGrid
*arg1
= (wxGrid
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 PyObject
* obj2
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10743 arg2
= (int) SWIG_AsInt(obj1
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10745 arg3
= (int) SWIG_AsInt(obj2
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 Py_INCREF(Py_None
); resultobj
= Py_None
;
10761 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxGrid
*arg1
= (wxGrid
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "textOrientation", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 arg2
= (int) SWIG_AsInt(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->SetColLabelTextOrientation(arg2
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 Py_INCREF(Py_None
); resultobj
= Py_None
;
10790 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxGrid
*arg1
= (wxGrid
*) 0 ;
10794 wxString
*arg3
= 0 ;
10795 bool temp3
= False
;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 PyObject
* obj2
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self",(char *) "row","arg3", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10806 arg2
= (int) SWIG_AsInt(obj1
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 arg3
= wxString_in_helper(obj2
);
10810 if (arg3
== NULL
) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 Py_INCREF(Py_None
); resultobj
= Py_None
;
10835 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxGrid
*arg1
= (wxGrid
*) 0 ;
10839 wxString
*arg3
= 0 ;
10840 bool temp3
= False
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "col","arg3", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10851 arg2
= (int) SWIG_AsInt(obj1
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 arg3
= wxString_in_helper(obj2
);
10855 if (arg3
== NULL
) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxGrid
*arg1
= (wxGrid
*) 0 ;
10883 wxColour
*arg2
= 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self","arg2", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxGrid
*arg1
= (wxGrid
*) 0 ;
10915 wxColour
*arg2
= 0 ;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self","arg2", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 Py_INCREF(Py_None
); resultobj
= Py_None
;
10944 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxGrid
*arg1
= (wxGrid
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "width", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10957 arg2
= (int) SWIG_AsInt(obj1
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->SetCellHighlightPenWidth(arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxGrid
*arg1
= (wxGrid
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self",(char *) "width", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10986 arg2
= (int) SWIG_AsInt(obj1
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 (arg1
)->SetCellHighlightROPenWidth(arg2
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 Py_INCREF(Py_None
); resultobj
= Py_None
;
11002 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxGrid
*arg1
= (wxGrid
*) 0 ;
11005 bool arg2
= (bool) True
;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "enable", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 arg2
= (bool) SWIG_AsBool(obj1
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 (arg1
)->EnableDragRowSize(arg2
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 Py_INCREF(Py_None
); resultobj
= Py_None
;
11033 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxGrid
*arg1
= (wxGrid
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 (arg1
)->DisableDragRowSize();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 Py_INCREF(Py_None
); resultobj
= Py_None
;
11058 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxGrid
*arg1
= (wxGrid
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
11068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (bool)(arg1
)->CanDragRowSize();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxGrid
*arg1
= (wxGrid
*) 0 ;
11089 bool arg2
= (bool) True
;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 char *kwnames
[] = {
11093 (char *) "self",(char *) "enable", NULL
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11100 arg2
= (bool) SWIG_AsBool(obj1
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 (arg1
)->EnableDragColSize(arg2
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 Py_INCREF(Py_None
); resultobj
= Py_None
;
11117 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxGrid
*arg1
= (wxGrid
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 (arg1
)->DisableDragColSize();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 Py_INCREF(Py_None
); resultobj
= Py_None
;
11142 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxGrid
*arg1
= (wxGrid
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)(arg1
)->CanDragColSize();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxGrid
*arg1
= (wxGrid
*) 0 ;
11173 bool arg2
= (bool) True
;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "enable", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11184 arg2
= (bool) SWIG_AsBool(obj1
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 (arg1
)->EnableDragGridSize(arg2
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxGrid
*arg1
= (wxGrid
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 (arg1
)->DisableDragGridSize();
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 Py_INCREF(Py_None
); resultobj
= Py_None
;
11226 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
;
11228 wxGrid
*arg1
= (wxGrid
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (bool)(arg1
)->CanDragGridSize();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11254 static PyObject
*_wrap_Grid_EnableDragCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxGrid
*arg1
= (wxGrid
*) 0 ;
11257 bool arg2
= (bool) True
;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "enable", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11268 arg2
= (bool) SWIG_AsBool(obj1
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 (arg1
)->EnableDragCell(arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 Py_INCREF(Py_None
); resultobj
= Py_None
;
11285 static PyObject
*_wrap_Grid_DisableDragCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxGrid
*arg1
= (wxGrid
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragCell",kwnames
,&obj0
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->DisableDragCell();
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11310 static PyObject
*_wrap_Grid_CanDragCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxGrid
*arg1
= (wxGrid
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragCell",kwnames
,&obj0
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (bool)(arg1
)->CanDragCell();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11338 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxGrid
*arg1
= (wxGrid
*) 0 ;
11343 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 PyObject
* obj2
= 0 ;
11347 PyObject
* obj3
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11355 arg2
= (int) SWIG_AsInt(obj1
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11357 arg3
= (int) SWIG_AsInt(obj2
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11359 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
,
11360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxGrid
*arg1
= (wxGrid
*) 0 ;
11379 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 PyObject
* obj2
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "row",(char *) "attr", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11390 arg2
= (int) SWIG_AsInt(obj1
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11392 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 (arg1
)->SetRowAttr(arg2
,arg3
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 Py_INCREF(Py_None
); resultobj
= Py_None
;
11408 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxGrid
*arg1
= (wxGrid
*) 0 ;
11412 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 PyObject
* obj2
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self",(char *) "col",(char *) "attr", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11423 arg2
= (int) SWIG_AsInt(obj1
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11425 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 (arg1
)->SetColAttr(arg2
,arg3
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 Py_INCREF(Py_None
); resultobj
= Py_None
;
11441 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxGrid
*arg1
= (wxGrid
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "self",(char *) "col", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11454 arg2
= (int) SWIG_AsInt(obj1
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 (arg1
)->SetColFormatBool(arg2
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 Py_INCREF(Py_None
); resultobj
= Py_None
;
11470 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxGrid
*arg1
= (wxGrid
*) 0 ;
11474 PyObject
* obj0
= 0 ;
11475 PyObject
* obj1
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self",(char *) "col", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11483 arg2
= (int) SWIG_AsInt(obj1
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SetColFormatNumber(arg2
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxGrid
*arg1
= (wxGrid
*) 0 ;
11503 int arg3
= (int) -1 ;
11504 int arg4
= (int) -1 ;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 PyObject
* obj2
= 0 ;
11508 PyObject
* obj3
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11516 arg2
= (int) SWIG_AsInt(obj1
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 arg3
= (int) SWIG_AsInt(obj2
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 arg4
= (int) SWIG_AsInt(obj3
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 Py_INCREF(Py_None
); resultobj
= Py_None
;
11540 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxGrid
*arg1
= (wxGrid
*) 0 ;
11544 wxString
*arg3
= 0 ;
11545 bool temp3
= False
;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 PyObject
* obj2
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self",(char *) "col",(char *) "typeName", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11556 arg2
= (int) SWIG_AsInt(obj1
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 arg3
= wxString_in_helper(obj2
);
11560 if (arg3
== NULL
) SWIG_fail
;
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxGrid
*arg1
= (wxGrid
*) 0 ;
11588 bool arg2
= (bool) True
;
11589 PyObject
* obj0
= 0 ;
11590 PyObject
* obj1
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "enable", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11599 arg2
= (bool) SWIG_AsBool(obj1
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 (arg1
)->EnableGridLines(arg2
);
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 Py_INCREF(Py_None
); resultobj
= Py_None
;
11616 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxGrid
*arg1
= (wxGrid
*) 0 ;
11620 PyObject
* obj0
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "self", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 result
= (bool)(arg1
)->GridLinesEnabled();
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11644 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
;
11646 wxGrid
*arg1
= (wxGrid
*) 0 ;
11648 PyObject
* obj0
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "self", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (int)(arg1
)->GetDefaultRowSize();
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_FromInt((int)result
);
11670 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxGrid
*arg1
= (wxGrid
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "self",(char *) "row", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11684 arg2
= (int) SWIG_AsInt(obj1
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (int)(arg1
)->GetRowSize(arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= SWIG_FromInt((int)result
);
11700 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxGrid
*arg1
= (wxGrid
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (int)(arg1
)->GetDefaultColSize();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_FromInt((int)result
);
11726 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxGrid
*arg1
= (wxGrid
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 char *kwnames
[] = {
11734 (char *) "self",(char *) "col", NULL
11737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 arg2
= (int) SWIG_AsInt(obj1
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (int)(arg1
)->GetColSize(arg2
);
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_FromInt((int)result
);
11756 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxGrid
*arg1
= (wxGrid
*) 0 ;
11760 PyObject
* obj0
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "self", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (arg1
)->GetDefaultCellBackgroundColour();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 wxColour
* resultptr
;
11777 resultptr
= new wxColour((wxColour
&) result
);
11778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11786 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxGrid
*arg1
= (wxGrid
*) 0 ;
11792 PyObject
* obj0
= 0 ;
11793 PyObject
* obj1
= 0 ;
11794 PyObject
* obj2
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "self",(char *) "row",(char *) "col", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 arg2
= (int) SWIG_AsInt(obj1
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11804 arg3
= (int) SWIG_AsInt(obj2
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 wxColour
* resultptr
;
11815 resultptr
= new wxColour((wxColour
&) result
);
11816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11824 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxGrid
*arg1
= (wxGrid
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= (arg1
)->GetDefaultCellTextColour();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 wxColour
* resultptr
;
11845 resultptr
= new wxColour((wxColour
&) result
);
11846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11854 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
;
11856 wxGrid
*arg1
= (wxGrid
*) 0 ;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 PyObject
* obj2
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "row",(char *) "col", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11870 arg2
= (int) SWIG_AsInt(obj1
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11872 arg3
= (int) SWIG_AsInt(obj2
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 wxColour
* resultptr
;
11883 resultptr
= new wxColour((wxColour
&) result
);
11884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11892 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxGrid
*arg1
= (wxGrid
*) 0 ;
11896 PyObject
* obj0
= 0 ;
11897 char *kwnames
[] = {
11898 (char *) "self", NULL
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
11902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (arg1
)->GetDefaultCellFont();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 wxFont
* resultptr
;
11913 resultptr
= new wxFont((wxFont
&) result
);
11914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11922 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxGrid
*arg1
= (wxGrid
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 PyObject
* obj2
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self",(char *) "row",(char *) "col", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11938 arg2
= (int) SWIG_AsInt(obj1
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11940 arg3
= (int) SWIG_AsInt(obj2
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (arg1
)->GetCellFont(arg2
,arg3
);
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 wxFont
* resultptr
;
11951 resultptr
= new wxFont((wxFont
&) result
);
11952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11960 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxGrid
*arg1
= (wxGrid
*) 0 ;
11963 int *arg2
= (int *) 0 ;
11964 int *arg3
= (int *) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 Py_INCREF(Py_None
); resultobj
= Py_None
;
11986 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11987 resultobj
= t_output_helper(resultobj
,o
);
11990 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11991 resultobj
= t_output_helper(resultobj
,o
);
11999 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxGrid
*arg1
= (wxGrid
*) 0 ;
12004 int *arg4
= (int *) 0 ;
12005 int *arg5
= (int *) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 PyObject
* obj2
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self",(char *) "row",(char *) "col", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12020 arg2
= (int) SWIG_AsInt(obj1
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12022 arg3
= (int) SWIG_AsInt(obj2
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 Py_INCREF(Py_None
); resultobj
= Py_None
;
12033 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12034 resultobj
= t_output_helper(resultobj
,o
);
12037 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12038 resultobj
= t_output_helper(resultobj
,o
);
12046 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxGrid
*arg1
= (wxGrid
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
12056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (bool)(arg1
)->GetDefaultCellOverflow();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12074 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxGrid
*arg1
= (wxGrid
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 PyObject
* obj2
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self",(char *) "row",(char *) "col", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12090 arg2
= (int) SWIG_AsInt(obj1
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12092 arg3
= (int) SWIG_AsInt(obj2
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12110 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxGrid
*arg1
= (wxGrid
*) 0 ;
12115 int *arg4
= (int *) 0 ;
12116 int *arg5
= (int *) 0 ;
12119 PyObject
* obj0
= 0 ;
12120 PyObject
* obj1
= 0 ;
12121 PyObject
* obj2
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self",(char *) "row",(char *) "col", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12131 arg2
= (int) SWIG_AsInt(obj1
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12133 arg3
= (int) SWIG_AsInt(obj2
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 Py_INCREF(Py_None
); resultobj
= Py_None
;
12144 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12145 resultobj
= t_output_helper(resultobj
,o
);
12148 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12149 resultobj
= t_output_helper(resultobj
,o
);
12157 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxGrid
*arg1
= (wxGrid
*) 0 ;
12161 bool arg3
= (bool) False
;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 PyObject
* obj2
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12172 arg2
= (int) SWIG_AsInt(obj1
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12175 arg3
= (bool) SWIG_AsBool(obj2
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 Py_INCREF(Py_None
); resultobj
= Py_None
;
12192 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxGrid
*arg1
= (wxGrid
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 PyObject
* obj1
= 0 ;
12199 PyObject
* obj2
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self",(char *) "row",(char *) "height", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12207 arg2
= (int) SWIG_AsInt(obj1
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12209 arg3
= (int) SWIG_AsInt(obj2
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 (arg1
)->SetRowSize(arg2
,arg3
);
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12225 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxGrid
*arg1
= (wxGrid
*) 0 ;
12229 bool arg3
= (bool) False
;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 PyObject
* obj2
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 arg2
= (int) SWIG_AsInt(obj1
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 arg3
= (bool) SWIG_AsBool(obj2
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 (arg1
)->SetDefaultColSize(arg2
,arg3
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 Py_INCREF(Py_None
); resultobj
= Py_None
;
12260 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxGrid
*arg1
= (wxGrid
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 PyObject
* obj2
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self",(char *) "col",(char *) "width", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 arg2
= (int) SWIG_AsInt(obj1
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12277 arg3
= (int) SWIG_AsInt(obj2
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 (arg1
)->SetColSize(arg2
,arg3
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 Py_INCREF(Py_None
); resultobj
= Py_None
;
12293 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxGrid
*arg1
= (wxGrid
*) 0 ;
12297 bool arg3
= (bool) True
;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 PyObject
* obj2
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12308 arg2
= (int) SWIG_AsInt(obj1
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 arg3
= (bool) SWIG_AsBool(obj2
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 (arg1
)->AutoSizeColumn(arg2
,arg3
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 Py_INCREF(Py_None
); resultobj
= Py_None
;
12328 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxGrid
*arg1
= (wxGrid
*) 0 ;
12332 bool arg3
= (bool) True
;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 PyObject
* obj2
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 arg2
= (int) SWIG_AsInt(obj1
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 arg3
= (bool) SWIG_AsBool(obj2
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 (arg1
)->AutoSizeRow(arg2
,arg3
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 Py_INCREF(Py_None
); resultobj
= Py_None
;
12363 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxGrid
*arg1
= (wxGrid
*) 0 ;
12366 bool arg2
= (bool) True
;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "setAsMin", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 arg2
= (bool) SWIG_AsBool(obj1
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->AutoSizeColumns(arg2
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxGrid
*arg1
= (wxGrid
*) 0 ;
12397 bool arg2
= (bool) True
;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self",(char *) "setAsMin", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 arg2
= (bool) SWIG_AsBool(obj1
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 (arg1
)->AutoSizeRows(arg2
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 Py_INCREF(Py_None
); resultobj
= Py_None
;
12425 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxGrid
*arg1
= (wxGrid
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 (arg1
)->AutoSize();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12450 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxGrid
*arg1
= (wxGrid
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 PyObject
* obj1
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self",(char *) "row", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 arg2
= (int) SWIG_AsInt(obj1
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 (arg1
)->AutoSizeRowLabelSize(arg2
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 Py_INCREF(Py_None
); resultobj
= Py_None
;
12479 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxGrid
*arg1
= (wxGrid
*) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "col", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12492 arg2
= (int) SWIG_AsInt(obj1
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 (arg1
)->AutoSizeColLabelSize(arg2
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 Py_INCREF(Py_None
); resultobj
= Py_None
;
12508 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxGrid
*arg1
= (wxGrid
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 PyObject
* obj1
= 0 ;
12515 PyObject
* obj2
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "col",(char *) "width", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 arg2
= (int) SWIG_AsInt(obj1
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12525 arg3
= (int) SWIG_AsInt(obj2
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 Py_INCREF(Py_None
); resultobj
= Py_None
;
12541 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxGrid
*arg1
= (wxGrid
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 PyObject
* obj2
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "row",(char *) "width", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12556 arg2
= (int) SWIG_AsInt(obj1
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12558 arg3
= (int) SWIG_AsInt(obj2
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 Py_INCREF(Py_None
); resultobj
= Py_None
;
12574 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxGrid
*arg1
= (wxGrid
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "width", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12587 arg2
= (int) SWIG_AsInt(obj1
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 Py_INCREF(Py_None
); resultobj
= Py_None
;
12603 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxGrid
*arg1
= (wxGrid
*) 0 ;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self",(char *) "width", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12616 arg2
= (int) SWIG_AsInt(obj1
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 Py_INCREF(Py_None
); resultobj
= Py_None
;
12632 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxGrid
*arg1
= (wxGrid
*) 0 ;
12636 PyObject
* obj0
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "self", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_FromInt((int)result
);
12658 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxGrid
*arg1
= (wxGrid
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_FromInt((int)result
);
12684 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxGrid
*arg1
= (wxGrid
*) 0 ;
12687 wxColour
*arg2
= 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self","arg2", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12700 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 Py_INCREF(Py_None
); resultobj
= Py_None
;
12716 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxGrid
*arg1
= (wxGrid
*) 0 ;
12721 wxColour
*arg4
= 0 ;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 PyObject
* obj2
= 0 ;
12726 PyObject
* obj3
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12734 arg2
= (int) SWIG_AsInt(obj1
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12736 arg3
= (int) SWIG_AsInt(obj2
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12740 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxGrid
*arg1
= (wxGrid
*) 0 ;
12759 wxColour
*arg2
= 0 ;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self","arg2", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 Py_INCREF(Py_None
); resultobj
= Py_None
;
12788 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
;
12790 wxGrid
*arg1
= (wxGrid
*) 0 ;
12793 wxColour
*arg4
= 0 ;
12795 PyObject
* obj0
= 0 ;
12796 PyObject
* obj1
= 0 ;
12797 PyObject
* obj2
= 0 ;
12798 PyObject
* obj3
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12806 arg2
= (int) SWIG_AsInt(obj1
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12808 arg3
= (int) SWIG_AsInt(obj2
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12812 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxGrid
*arg1
= (wxGrid
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 PyObject
* obj1
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self","arg2", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12844 if (arg2
== NULL
) {
12845 PyErr_SetString(PyExc_TypeError
,"null reference");
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 Py_INCREF(Py_None
); resultobj
= Py_None
;
12862 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxGrid
*arg1
= (wxGrid
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 PyObject
* obj2
= 0 ;
12871 PyObject
* obj3
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12879 arg2
= (int) SWIG_AsInt(obj1
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12881 arg3
= (int) SWIG_AsInt(obj2
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12883 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
12884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12886 if (arg4
== NULL
) {
12887 PyErr_SetString(PyExc_TypeError
,"null reference");
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12904 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxGrid
*arg1
= (wxGrid
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 PyObject
* obj1
= 0 ;
12911 PyObject
* obj2
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12919 arg2
= (int) SWIG_AsInt(obj1
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12921 arg3
= (int) SWIG_AsInt(obj2
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 Py_INCREF(Py_None
); resultobj
= Py_None
;
12937 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxGrid
*arg1
= (wxGrid
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 PyObject
* obj2
= 0 ;
12947 PyObject
* obj3
= 0 ;
12948 PyObject
* obj4
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12956 arg2
= (int) SWIG_AsInt(obj1
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12958 arg3
= (int) SWIG_AsInt(obj2
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12960 arg4
= (int) SWIG_AsInt(obj3
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12962 arg5
= (int) SWIG_AsInt(obj4
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 Py_INCREF(Py_None
); resultobj
= Py_None
;
12978 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxGrid
*arg1
= (wxGrid
*) 0 ;
12982 PyObject
* obj0
= 0 ;
12983 PyObject
* obj1
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "self",(char *) "allow", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
12989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12991 arg2
= (bool) SWIG_AsBool(obj1
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 (arg1
)->SetDefaultCellOverflow(arg2
);
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13000 Py_INCREF(Py_None
); resultobj
= Py_None
;
13007 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxGrid
*arg1
= (wxGrid
*) 0 ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 PyObject
* obj2
= 0 ;
13016 PyObject
* obj3
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13024 arg2
= (int) SWIG_AsInt(obj1
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13026 arg3
= (int) SWIG_AsInt(obj2
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13028 arg4
= (bool) SWIG_AsBool(obj3
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 Py_INCREF(Py_None
); resultobj
= Py_None
;
13044 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxGrid
*arg1
= (wxGrid
*) 0 ;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 PyObject
* obj2
= 0 ;
13054 PyObject
* obj3
= 0 ;
13055 PyObject
* obj4
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13063 arg2
= (int) SWIG_AsInt(obj1
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13065 arg3
= (int) SWIG_AsInt(obj2
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13067 arg4
= (int) SWIG_AsInt(obj3
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13069 arg5
= (int) SWIG_AsInt(obj4
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 Py_INCREF(Py_None
); resultobj
= Py_None
;
13085 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxGrid
*arg1
= (wxGrid
*) 0 ;
13088 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 PyObject
* obj1
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self",(char *) "renderer", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 (arg1
)->SetDefaultRenderer(arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 Py_INCREF(Py_None
); resultobj
= Py_None
;
13114 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxGrid
*arg1
= (wxGrid
*) 0 ;
13119 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 PyObject
* obj2
= 0 ;
13123 PyObject
* obj3
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13131 arg2
= (int) SWIG_AsInt(obj1
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13133 arg3
= (int) SWIG_AsInt(obj2
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13135 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 Py_INCREF(Py_None
); resultobj
= Py_None
;
13151 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxGrid
*arg1
= (wxGrid
*) 0 ;
13154 wxGridCellRenderer
*result
;
13155 PyObject
* obj0
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
13179 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxGrid
*arg1
= (wxGrid
*) 0 ;
13184 wxGridCellRenderer
*result
;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 PyObject
* obj2
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self",(char *) "row",(char *) "col", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13195 arg2
= (int) SWIG_AsInt(obj1
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13197 arg3
= (int) SWIG_AsInt(obj2
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
13215 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxGrid
*arg1
= (wxGrid
*) 0 ;
13218 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 PyObject
* obj1
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "editor", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 (arg1
)->SetDefaultEditor(arg2
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 Py_INCREF(Py_None
); resultobj
= Py_None
;
13244 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxGrid
*arg1
= (wxGrid
*) 0 ;
13249 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 PyObject
* obj2
= 0 ;
13253 PyObject
* obj3
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 arg2
= (int) SWIG_AsInt(obj1
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13263 arg3
= (int) SWIG_AsInt(obj2
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13265 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxGrid
*arg1
= (wxGrid
*) 0 ;
13284 wxGridCellEditor
*result
;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
13309 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxGrid
*arg1
= (wxGrid
*) 0 ;
13314 wxGridCellEditor
*result
;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 PyObject
* obj2
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "row",(char *) "col", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 arg2
= (int) SWIG_AsInt(obj1
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13327 arg3
= (int) SWIG_AsInt(obj2
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
13345 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxGrid
*arg1
= (wxGrid
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 PyObject
* obj2
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "row",(char *) "col", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 arg2
= (int) SWIG_AsInt(obj1
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13363 arg3
= (int) SWIG_AsInt(obj2
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13385 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxGrid
*arg1
= (wxGrid
*) 0 ;
13390 wxString
*arg4
= 0 ;
13391 bool temp4
= False
;
13392 PyObject
* obj0
= 0 ;
13393 PyObject
* obj1
= 0 ;
13394 PyObject
* obj2
= 0 ;
13395 PyObject
* obj3
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13403 arg2
= (int) SWIG_AsInt(obj1
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13405 arg3
= (int) SWIG_AsInt(obj2
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 arg4
= wxString_in_helper(obj3
);
13409 if (arg4
== NULL
) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 Py_INCREF(Py_None
); resultobj
= Py_None
;
13434 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxGrid
*arg1
= (wxGrid
*) 0 ;
13440 PyObject
* obj0
= 0 ;
13441 PyObject
* obj1
= 0 ;
13442 PyObject
* obj2
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self",(char *) "row",(char *) "col", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13450 arg2
= (int) SWIG_AsInt(obj1
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13452 arg3
= (int) SWIG_AsInt(obj2
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13470 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxGrid
*arg1
= (wxGrid
*) 0 ;
13475 bool arg4
= (bool) True
;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 PyObject
* obj2
= 0 ;
13479 PyObject
* obj3
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13487 arg2
= (int) SWIG_AsInt(obj1
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13489 arg3
= (int) SWIG_AsInt(obj2
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 arg4
= (bool) SWIG_AsBool(obj3
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 Py_INCREF(Py_None
); resultobj
= Py_None
;
13509 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxGrid
*arg1
= (wxGrid
*) 0 ;
13513 bool arg3
= (bool) False
;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13524 arg2
= (int) SWIG_AsInt(obj1
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 arg3
= (bool) SWIG_AsBool(obj2
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 (arg1
)->SelectRow(arg2
,arg3
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 Py_INCREF(Py_None
); resultobj
= Py_None
;
13544 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxGrid
*arg1
= (wxGrid
*) 0 ;
13548 bool arg3
= (bool) False
;
13549 PyObject
* obj0
= 0 ;
13550 PyObject
* obj1
= 0 ;
13551 PyObject
* obj2
= 0 ;
13552 char *kwnames
[] = {
13553 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13559 arg2
= (int) SWIG_AsInt(obj1
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13562 arg3
= (bool) SWIG_AsBool(obj2
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 (arg1
)->SelectCol(arg2
,arg3
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 Py_INCREF(Py_None
); resultobj
= Py_None
;
13579 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxGrid
*arg1
= (wxGrid
*) 0 ;
13586 bool arg6
= (bool) False
;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 PyObject
* obj2
= 0 ;
13590 PyObject
* obj3
= 0 ;
13591 PyObject
* obj4
= 0 ;
13592 PyObject
* obj5
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13600 arg2
= (int) SWIG_AsInt(obj1
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13602 arg3
= (int) SWIG_AsInt(obj2
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13604 arg4
= (int) SWIG_AsInt(obj3
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13606 arg5
= (int) SWIG_AsInt(obj4
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 arg6
= (bool) SWIG_AsBool(obj5
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 Py_INCREF(Py_None
); resultobj
= Py_None
;
13626 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxGrid
*arg1
= (wxGrid
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->SelectAll();
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 Py_INCREF(Py_None
); resultobj
= Py_None
;
13651 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxGrid
*arg1
= (wxGrid
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (bool)(arg1
)->IsSelection();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13679 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxGrid
*arg1
= (wxGrid
*) 0 ;
13682 PyObject
* obj0
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 (arg1
)->ClearSelection();
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 Py_INCREF(Py_None
); resultobj
= Py_None
;
13704 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxGrid
*arg1
= (wxGrid
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 PyObject
* obj2
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "self",(char *) "row",(char *) "col", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13720 arg2
= (int) SWIG_AsInt(obj1
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13722 arg3
= (int) SWIG_AsInt(obj2
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13728 wxPyEndAllowThreads(__tstate
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13740 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxGrid
*arg1
= (wxGrid
*) 0 ;
13743 wxGridCellCoordsArray result
;
13744 PyObject
* obj0
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= wxGridCellCoordsArray_helper(result
);
13768 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxGrid
*arg1
= (wxGrid
*) 0 ;
13771 wxGridCellCoordsArray result
;
13772 PyObject
* obj0
= 0 ;
13773 char *kwnames
[] = {
13774 (char *) "self", NULL
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13788 resultobj
= wxGridCellCoordsArray_helper(result
);
13796 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
;
13798 wxGrid
*arg1
= (wxGrid
*) 0 ;
13799 wxGridCellCoordsArray result
;
13800 PyObject
* obj0
= 0 ;
13801 char *kwnames
[] = {
13802 (char *) "self", NULL
13805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= wxGridCellCoordsArray_helper(result
);
13824 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
;
13826 wxGrid
*arg1
= (wxGrid
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13844 resultobj
= PyList_New(0);
13846 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13847 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13848 PyList_Append(resultobj
, val
);
13858 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxGrid
*arg1
= (wxGrid
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= PyList_New(0);
13880 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13881 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13882 PyList_Append(resultobj
, val
);
13892 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxGrid
*arg1
= (wxGrid
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 PyObject
* obj1
= 0 ;
13898 char *kwnames
[] = {
13899 (char *) "self",(char *) "row", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 arg2
= (int) SWIG_AsInt(obj1
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 (arg1
)->DeselectRow(arg2
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 Py_INCREF(Py_None
); resultobj
= Py_None
;
13921 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxGrid
*arg1
= (wxGrid
*) 0 ;
13925 PyObject
* obj0
= 0 ;
13926 PyObject
* obj1
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self",(char *) "col", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
13932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13934 arg2
= (int) SWIG_AsInt(obj1
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 (arg1
)->DeselectCol(arg2
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 Py_INCREF(Py_None
); resultobj
= Py_None
;
13950 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13951 PyObject
*resultobj
;
13952 wxGrid
*arg1
= (wxGrid
*) 0 ;
13955 PyObject
* obj0
= 0 ;
13956 PyObject
* obj1
= 0 ;
13957 PyObject
* obj2
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "row",(char *) "col", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13965 arg2
= (int) SWIG_AsInt(obj1
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13967 arg3
= (int) SWIG_AsInt(obj2
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 (arg1
)->DeselectCell(arg2
,arg3
);
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13976 Py_INCREF(Py_None
); resultobj
= Py_None
;
13983 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxGrid
*arg1
= (wxGrid
*) 0 ;
13986 wxGridCellCoords
*arg2
= 0 ;
13987 wxGridCellCoords
*arg3
= 0 ;
13989 wxGridCellCoords temp2
;
13990 wxGridCellCoords temp3
;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 PyObject
* obj2
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14003 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
14007 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14017 wxRect
* resultptr
;
14018 resultptr
= new wxRect((wxRect
&) result
);
14019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14027 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxGrid
*arg1
= (wxGrid
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
14037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 wxColour
* resultptr
;
14048 resultptr
= new wxColour((wxColour
&) result
);
14049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
14057 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
;
14059 wxGrid
*arg1
= (wxGrid
*) 0 ;
14061 PyObject
* obj0
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
14067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14077 wxColour
* resultptr
;
14078 resultptr
= new wxColour((wxColour
&) result
);
14079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
14087 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
;
14089 wxGrid
*arg1
= (wxGrid
*) 0 ;
14090 wxColour
*arg2
= 0 ;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj1
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "c", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14119 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxGrid
*arg1
= (wxGrid
*) 0 ;
14122 wxColour
*arg2
= 0 ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self",(char *) "c", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14135 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 Py_INCREF(Py_None
); resultobj
= Py_None
;
14151 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxGrid
*arg1
= (wxGrid
*) 0 ;
14154 wxString
*arg2
= 0 ;
14155 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
14156 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
14157 bool temp2
= False
;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 PyObject
* obj2
= 0 ;
14161 PyObject
* obj3
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14170 arg2
= wxString_in_helper(obj1
);
14171 if (arg2
== NULL
) SWIG_fail
;
14174 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
,
14175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 Py_INCREF(Py_None
); resultobj
= Py_None
;
14200 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxGrid
*arg1
= (wxGrid
*) 0 ;
14205 wxGridCellEditor
*result
;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 PyObject
* obj2
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "self",(char *) "row",(char *) "col", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14216 arg2
= (int) SWIG_AsInt(obj1
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14218 arg3
= (int) SWIG_AsInt(obj2
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
14236 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxGrid
*arg1
= (wxGrid
*) 0 ;
14241 wxGridCellRenderer
*result
;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 PyObject
* obj2
= 0 ;
14245 char *kwnames
[] = {
14246 (char *) "self",(char *) "row",(char *) "col", NULL
14249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14252 arg2
= (int) SWIG_AsInt(obj1
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14254 arg3
= (int) SWIG_AsInt(obj2
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
14272 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxGrid
*arg1
= (wxGrid
*) 0 ;
14275 wxString
*arg2
= 0 ;
14276 wxGridCellEditor
*result
;
14277 bool temp2
= False
;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "typeName", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14288 arg2
= wxString_in_helper(obj1
);
14289 if (arg2
== NULL
) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
14316 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxGrid
*arg1
= (wxGrid
*) 0 ;
14319 wxString
*arg2
= 0 ;
14320 wxGridCellRenderer
*result
;
14321 bool temp2
= False
;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self",(char *) "typeName", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 arg2
= wxString_in_helper(obj1
);
14333 if (arg2
== NULL
) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
14360 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxGrid
*arg1
= (wxGrid
*) 0 ;
14365 PyObject
* obj0
= 0 ;
14366 PyObject
* obj1
= 0 ;
14367 PyObject
* obj2
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 arg2
= (int) SWIG_AsInt(obj1
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14377 arg3
= (int) SWIG_AsInt(obj2
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 (arg1
)->SetMargins(arg2
,arg3
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 Py_INCREF(Py_None
); resultobj
= Py_None
;
14393 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxGrid
*arg1
= (wxGrid
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= wxPyMake_wxObject(result
, 0);
14421 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxGrid
*arg1
= (wxGrid
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "self", NULL
14430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= wxPyMake_wxObject(result
, 0);
14449 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxGrid
*arg1
= (wxGrid
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= wxPyMake_wxObject(result
, 0);
14477 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxGrid
*arg1
= (wxGrid
*) 0 ;
14481 PyObject
* obj0
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= wxPyMake_wxObject(result
, 0);
14505 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14508 wxVisualAttributes result
;
14509 PyObject
* obj0
= 0 ;
14510 char *kwnames
[] = {
14511 (char *) "variant", NULL
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14516 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 if (!wxPyCheckForApp()) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= wxGrid::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 wxVisualAttributes
* resultptr
;
14529 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14538 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
14540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14541 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14543 return Py_BuildValue((char *)"");
14545 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
;
14549 wxGrid
*arg3
= (wxGrid
*) 0 ;
14550 int arg4
= (int) -1 ;
14551 int arg5
= (int) -1 ;
14552 int arg6
= (int) -1 ;
14553 int arg7
= (int) -1 ;
14554 bool arg8
= (bool) True
;
14555 bool arg9
= (bool) False
;
14556 bool arg10
= (bool) False
;
14557 bool arg11
= (bool) False
;
14558 bool arg12
= (bool) False
;
14559 wxGridEvent
*result
;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 PyObject
* obj2
= 0 ;
14563 PyObject
* obj3
= 0 ;
14564 PyObject
* obj4
= 0 ;
14565 PyObject
* obj5
= 0 ;
14566 PyObject
* obj6
= 0 ;
14567 PyObject
* obj7
= 0 ;
14568 PyObject
* obj8
= 0 ;
14569 PyObject
* obj9
= 0 ;
14570 PyObject
* obj10
= 0 ;
14571 PyObject
* obj11
= 0 ;
14572 char *kwnames
[] = {
14573 (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
14576 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
;
14577 arg1
= (int) SWIG_AsInt(obj0
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14579 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14581 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14584 arg4
= (int) SWIG_AsInt(obj3
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 arg5
= (int) SWIG_AsInt(obj4
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 arg6
= (int) SWIG_AsInt(obj5
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14596 arg7
= (int) SWIG_AsInt(obj6
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 arg8
= (bool) SWIG_AsBool(obj7
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14604 arg9
= (bool) SWIG_AsBool(obj8
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14608 arg10
= (bool) SWIG_AsBool(obj9
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14612 arg11
= (bool) SWIG_AsBool(obj10
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14616 arg12
= (bool) SWIG_AsBool(obj11
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
14633 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 result
= (int)(arg1
)->GetRow();
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= SWIG_FromInt((int)result
);
14659 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (int)(arg1
)->GetCol();
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= SWIG_FromInt((int)result
);
14685 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "self", NULL
14694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (arg1
)->GetPosition();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14705 wxPoint
* resultptr
;
14706 resultptr
= new wxPoint((wxPoint
&) result
);
14707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14715 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (bool)(arg1
)->Selecting();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14743 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "self", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 result
= (bool)(arg1
)->ControlDown();
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14771 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (bool)(arg1
)->MetaDown();
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14799 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 result
= (bool)(arg1
)->ShiftDown();
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14827 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "self", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (bool)(arg1
)->AltDown();
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14855 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14858 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14860 return Py_BuildValue((char *)"");
14862 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14866 wxGrid
*arg3
= (wxGrid
*) 0 ;
14867 int arg4
= (int) -1 ;
14868 int arg5
= (int) -1 ;
14869 int arg6
= (int) -1 ;
14870 bool arg7
= (bool) False
;
14871 bool arg8
= (bool) False
;
14872 bool arg9
= (bool) False
;
14873 bool arg10
= (bool) False
;
14874 wxGridSizeEvent
*result
;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 PyObject
* obj2
= 0 ;
14878 PyObject
* obj3
= 0 ;
14879 PyObject
* obj4
= 0 ;
14880 PyObject
* obj5
= 0 ;
14881 PyObject
* obj6
= 0 ;
14882 PyObject
* obj7
= 0 ;
14883 PyObject
* obj8
= 0 ;
14884 PyObject
* obj9
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14890 arg1
= (int) SWIG_AsInt(obj0
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14892 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14894 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 arg4
= (int) SWIG_AsInt(obj3
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14901 arg5
= (int) SWIG_AsInt(obj4
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 arg6
= (int) SWIG_AsInt(obj5
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14909 arg7
= (bool) SWIG_AsBool(obj6
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 arg8
= (bool) SWIG_AsBool(obj7
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14917 arg9
= (bool) SWIG_AsBool(obj8
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14921 arg10
= (bool) SWIG_AsBool(obj9
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
14938 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (int)(arg1
)->GetRowOrCol();
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_FromInt((int)result
);
14964 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (arg1
)->GetPosition();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14984 wxPoint
* resultptr
;
14985 resultptr
= new wxPoint((wxPoint
&) result
);
14986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14994 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (bool)(arg1
)->ControlDown();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15022 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (bool)(arg1
)->MetaDown();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15050 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (bool)(arg1
)->ShiftDown();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15078 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (bool)(arg1
)->AltDown();
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15106 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15109 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
15111 return Py_BuildValue((char *)"");
15113 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15117 wxGrid
*arg3
= (wxGrid
*) 0 ;
15118 wxGridCellCoords
*arg4
= 0 ;
15119 wxGridCellCoords
*arg5
= 0 ;
15120 bool arg6
= (bool) True
;
15121 bool arg7
= (bool) False
;
15122 bool arg8
= (bool) False
;
15123 bool arg9
= (bool) False
;
15124 bool arg10
= (bool) False
;
15125 wxGridRangeSelectEvent
*result
;
15126 wxGridCellCoords temp4
;
15127 wxGridCellCoords temp5
;
15128 PyObject
* obj0
= 0 ;
15129 PyObject
* obj1
= 0 ;
15130 PyObject
* obj2
= 0 ;
15131 PyObject
* obj3
= 0 ;
15132 PyObject
* obj4
= 0 ;
15133 PyObject
* obj5
= 0 ;
15134 PyObject
* obj6
= 0 ;
15135 PyObject
* obj7
= 0 ;
15136 PyObject
* obj8
= 0 ;
15137 PyObject
* obj9
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15143 arg1
= (int) SWIG_AsInt(obj0
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15145 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15147 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15151 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
15155 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
15158 arg6
= (bool) SWIG_AsBool(obj5
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15162 arg7
= (bool) SWIG_AsBool(obj6
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 arg8
= (bool) SWIG_AsBool(obj7
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15170 arg9
= (bool) SWIG_AsBool(obj8
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15174 arg10
= (bool) SWIG_AsBool(obj9
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
15191 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15194 wxGridCellCoords result
;
15195 PyObject
* obj0
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (arg1
)->GetTopLeftCoords();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15211 wxGridCellCoords
* resultptr
;
15212 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
15213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
15221 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15224 wxGridCellCoords result
;
15225 PyObject
* obj0
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
15231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= (arg1
)->GetBottomRightCoords();
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15241 wxGridCellCoords
* resultptr
;
15242 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
15243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
15251 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (int)(arg1
)->GetTopRow();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= SWIG_FromInt((int)result
);
15277 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (int)(arg1
)->GetBottomRow();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= SWIG_FromInt((int)result
);
15303 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (int)(arg1
)->GetLeftCol();
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= SWIG_FromInt((int)result
);
15329 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (int)(arg1
)->GetRightCol();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= SWIG_FromInt((int)result
);
15355 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (bool)(arg1
)->Selecting();
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15383 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (bool)(arg1
)->ControlDown();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15411 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= (bool)(arg1
)->MetaDown();
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15439 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (bool)(arg1
)->ShiftDown();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15467 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (bool)(arg1
)->AltDown();
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15495 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15498 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15500 return Py_BuildValue((char *)"");
15502 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15506 wxObject
*arg3
= (wxObject
*) 0 ;
15509 wxControl
*arg6
= (wxControl
*) 0 ;
15510 wxGridEditorCreatedEvent
*result
;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 PyObject
* obj2
= 0 ;
15514 PyObject
* obj3
= 0 ;
15515 PyObject
* obj4
= 0 ;
15516 PyObject
* obj5
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15522 arg1
= (int) SWIG_AsInt(obj0
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15524 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15526 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 arg4
= (int) SWIG_AsInt(obj3
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15530 arg5
= (int) SWIG_AsInt(obj4
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15532 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
,
15533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15548 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15552 PyObject
* obj0
= 0 ;
15553 char *kwnames
[] = {
15554 (char *) "self", NULL
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 result
= (int)(arg1
)->GetRow();
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_FromInt((int)result
);
15574 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15578 PyObject
* obj0
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (int)(arg1
)->GetCol();
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_FromInt((int)result
);
15600 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (wxControl
*)(arg1
)->GetControl();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= wxPyMake_wxObject(result
, 0);
15628 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self",(char *) "row", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15641 arg2
= (int) SWIG_AsInt(obj1
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 (arg1
)->SetRow(arg2
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 Py_INCREF(Py_None
); resultobj
= Py_None
;
15657 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self",(char *) "col", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15670 arg2
= (int) SWIG_AsInt(obj1
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 (arg1
)->SetCol(arg2
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 Py_INCREF(Py_None
); resultobj
= Py_None
;
15686 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15689 wxControl
*arg2
= (wxControl
*) 0 ;
15690 PyObject
* obj0
= 0 ;
15691 PyObject
* obj1
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self",(char *) "ctrl", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->SetControl(arg2
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 Py_INCREF(Py_None
); resultobj
= Py_None
;
15715 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15718 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15720 return Py_BuildValue((char *)"");
15722 static PyMethodDef SwigMethods
[] = {
15723 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15724 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15725 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15726 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15727 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15728 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15729 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15730 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
15731 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15732 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15733 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15734 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
15735 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15736 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
15737 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15738 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
15739 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15740 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15741 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15742 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15743 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15744 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
15745 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15746 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
15747 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15748 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
15749 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15750 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
15751 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15752 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
15753 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15754 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15755 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15756 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15757 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15758 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15759 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15760 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15761 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15762 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15763 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15764 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15765 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15766 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15767 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15768 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15769 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15770 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15771 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15772 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15773 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15774 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15775 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
15776 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15777 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15778 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15779 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15780 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15781 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15782 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15783 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15784 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15785 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15786 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15787 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
15788 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15789 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15790 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
15791 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15792 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15793 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
15794 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15795 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15796 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
15797 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15798 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15799 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
15800 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15801 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15802 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
15803 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15804 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15805 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
15806 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15807 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15808 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
15809 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15810 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15811 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15812 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15813 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15814 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15815 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15816 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15817 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15818 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15819 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15820 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15821 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15822 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15823 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15824 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15825 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15826 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15827 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15828 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15829 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15830 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15831 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15832 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
15833 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15834 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15835 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15836 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15837 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15838 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15839 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15840 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15841 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15842 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
15843 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15844 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
15845 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15846 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15847 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15848 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15849 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15850 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15851 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15852 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15853 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
15854 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15855 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15856 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15857 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15858 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15859 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15860 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
15861 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15862 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15863 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15864 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15865 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15866 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15867 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15868 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15869 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15870 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15871 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15872 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15873 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15874 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15875 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15876 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15877 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15878 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15879 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15880 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15881 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15882 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15883 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15884 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15885 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15886 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15887 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15888 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15889 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15890 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15891 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15892 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15893 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15894 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15895 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15896 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
15897 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15898 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15899 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15900 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15901 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15902 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15903 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15904 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15905 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15906 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15907 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15908 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15909 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15910 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15911 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15912 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15913 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15914 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15915 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15916 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15917 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15918 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15919 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
15920 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15921 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
15922 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15923 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15924 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15925 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15926 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15927 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15928 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15929 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15930 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15931 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15932 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
15933 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15934 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15935 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15936 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15937 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15938 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15939 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15940 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15941 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15942 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
},
15943 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
15944 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
15945 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
},
15946 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
},
15947 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15948 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15949 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15950 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15951 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15952 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15953 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15954 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15955 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15956 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15957 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15958 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15959 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15960 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15961 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15962 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15963 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15964 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15965 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15966 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15967 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15968 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15969 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15970 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15971 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15972 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15973 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15974 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15975 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15976 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15977 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15978 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15979 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15980 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15981 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15982 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15983 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15984 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15985 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15986 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15987 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15988 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15989 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15990 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15991 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15992 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15993 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15994 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15995 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15996 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15997 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15998 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15999 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
16000 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
16001 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
16002 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
16003 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
16004 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
16005 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
16006 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
16007 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
16008 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
16009 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
16010 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
16011 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
16012 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
16013 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
16014 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16015 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
16016 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
16017 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
16018 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
16019 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
16020 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
16021 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
16022 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
16023 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
16024 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
16025 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
16026 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
16027 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
16028 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16029 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
16030 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
16031 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
16032 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
16033 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
16034 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
16035 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
16036 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
16037 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
16038 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
16039 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
16040 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
},
16041 { (char *)"Grid_DisableDragCell", (PyCFunction
) _wrap_Grid_DisableDragCell
, METH_VARARGS
| METH_KEYWORDS
},
16042 { (char *)"Grid_CanDragCell", (PyCFunction
) _wrap_Grid_CanDragCell
, METH_VARARGS
| METH_KEYWORDS
},
16043 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
16044 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
16045 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
16046 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
16047 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
16048 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
16049 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
16050 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
16051 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
16052 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
16053 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
16054 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
16055 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
16056 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
16057 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
16058 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
16059 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
16060 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
16061 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
16062 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
16063 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
16064 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
16065 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
16066 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
16067 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
16068 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
16069 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
16070 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
16071 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
16072 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
16073 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
16074 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
16075 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
16076 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
16077 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
16078 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
16079 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
16080 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
16081 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
16082 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
16083 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
16084 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
16085 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
16086 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
16087 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
16088 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
16089 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
16090 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
16091 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
16092 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
16093 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
16094 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
16095 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
16096 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
16097 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
16098 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
16099 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
16100 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
16101 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
16102 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
16103 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
16104 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
16105 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
16106 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
16107 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
16108 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
16109 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
16110 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
16111 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
16112 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
16113 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
16114 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
16115 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
16116 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
16117 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
16118 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
16119 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
16120 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
16121 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
16122 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
16123 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
16124 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
16125 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
16126 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
16127 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
16128 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
16129 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
16130 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
16131 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
16132 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
16133 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
16134 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
16135 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
16136 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
16137 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
16138 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
16139 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
16140 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
16141 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
16142 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
16143 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
16144 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
16145 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
16146 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
16147 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
16148 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
16149 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
16150 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
16151 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
16152 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
16153 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
16154 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
16155 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
16156 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
16157 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
16158 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
16159 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
16160 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
16161 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
16162 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
16163 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
16164 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
16165 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
16166 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
16167 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
16168 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
16169 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
16170 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
16171 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
16172 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
16173 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
16174 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
16175 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
16176 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
16177 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
16182 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16184 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
16185 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
16187 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
16188 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
16190 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
16191 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16193 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
16194 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16196 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
16197 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
16199 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
16200 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16202 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
16203 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16205 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
16206 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16208 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
16209 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16211 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
16212 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16214 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
16215 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16217 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
16218 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16220 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
16221 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16223 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
16224 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
16226 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
16227 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16229 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
16230 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16232 static void *_p_wxGridTo_p_wxPanel(void *x
) {
16233 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
16235 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
16236 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16238 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
16239 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16241 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
16242 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
16244 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
16245 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16247 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
16248 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
16250 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
16251 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16253 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
16254 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16256 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
16257 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16259 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
16260 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16262 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
16263 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
16265 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
16266 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16268 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
16269 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
16271 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
16272 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16274 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
16275 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16277 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
16278 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16280 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
16281 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
16283 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
16284 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
16286 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
16287 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16289 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
16290 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16292 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
16293 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16295 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
16296 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16298 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
16299 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16301 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
16302 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16304 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
16305 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16307 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
16308 return (void *)((wxWindow
*) ((wxPanel
*) x
));
16310 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
16311 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
16313 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
16314 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
16316 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
16317 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16319 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
16320 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16322 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
16323 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16325 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
16326 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
16328 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
16329 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16331 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
16332 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
16334 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
16335 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
16337 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
16338 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
16340 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
16341 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
16343 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
16344 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
16346 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
16347 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16349 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16350 return (void *)((wxWindow
*) ((wxControl
*) x
));
16352 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
16353 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16355 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
16356 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16358 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
16359 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16361 static void *_p_wxGridTo_p_wxWindow(void *x
) {
16362 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16364 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16365 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16367 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
16368 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
16370 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
16371 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16373 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16374 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16376 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16377 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16379 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16380 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16382 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16383 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16385 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16386 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16388 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16389 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16391 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16392 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16394 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16395 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16397 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16398 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16400 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16401 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16403 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16404 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16406 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16407 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16409 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16410 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16412 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16413 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16415 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16416 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16418 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16419 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16421 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16422 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16424 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16425 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16427 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16428 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16430 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16431 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16433 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16434 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16436 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16437 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16439 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16440 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16442 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16443 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16445 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16446 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16448 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16449 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16451 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16452 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16454 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16455 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16457 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16458 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16460 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16461 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16463 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16464 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16466 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16467 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16469 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16470 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16472 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16473 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16475 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16476 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16478 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16479 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16481 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16482 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16484 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16485 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16487 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16490 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16491 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16493 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16494 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16496 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16497 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16499 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16500 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16502 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16503 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16505 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16506 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16508 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16509 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16511 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16512 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16514 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16515 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16517 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16520 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16521 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16523 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16524 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16526 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16527 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16529 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16530 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16532 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16535 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16536 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16538 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16539 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16541 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16542 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16544 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16545 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16547 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16548 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16550 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16551 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16553 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16556 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16559 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16560 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16562 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16563 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16565 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16568 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16569 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16571 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16572 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16574 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16575 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16577 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16578 return (void *)((wxObject
*) ((wxSizer
*) x
));
16580 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16581 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16583 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16586 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16589 static void *_p_wxEventTo_p_wxObject(void *x
) {
16590 return (void *)((wxObject
*) ((wxEvent
*) x
));
16592 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16593 return (void *)((wxObject
*) ((wxFontData
*) x
));
16595 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16596 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16598 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16599 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16601 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16602 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16604 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16605 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16607 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16608 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16610 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16611 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16613 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16616 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16617 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16619 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16620 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16622 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16623 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16625 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16626 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16628 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16629 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16631 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16632 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16634 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16635 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16637 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16640 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16643 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16646 static void *_p_wxControlTo_p_wxObject(void *x
) {
16647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16649 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16650 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16652 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16655 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16656 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16658 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16659 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16661 static void *_p_wxGridTo_p_wxObject(void *x
) {
16662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16664 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16665 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16667 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16670 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16671 return (void *)((wxObject
*) ((wxColourData
*) x
));
16673 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16674 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16676 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16677 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16679 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16682 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16685 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16688 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16691 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16694 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16697 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16700 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16703 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16706 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16707 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16709 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16710 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16712 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16713 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16715 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16716 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16718 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16719 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16721 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16722 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16724 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16725 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16727 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16728 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16730 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16731 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16733 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16734 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16736 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16737 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16739 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16742 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16745 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16746 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16748 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16751 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16754 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16755 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16757 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16758 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16760 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16761 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16763 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16764 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16766 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16767 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16769 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16772 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16773 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16775 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16776 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16778 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16779 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16781 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16782 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16784 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16787 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16790 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16793 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16794 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16796 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16799 static void *_p_wxImageTo_p_wxObject(void *x
) {
16800 return (void *)((wxObject
*) ((wxImage
*) x
));
16802 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16805 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16806 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16808 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16809 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16811 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16812 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16814 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16817 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16820 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16823 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16824 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16826 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16827 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16829 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16830 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16832 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16833 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16835 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16838 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16841 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16844 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16847 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16850 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16853 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16856 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16859 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16862 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16865 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16868 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
16869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
16871 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
16872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16874 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
16875 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
16877 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
16878 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
16880 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
16881 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
16883 static void *_p_wxPanelTo_p_wxObject(void *x
) {
16884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
16886 static void *_p_wxDialogTo_p_wxObject(void *x
) {
16887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16889 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
16890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16892 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
16893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16895 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
16896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16898 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
16899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16901 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
16902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16904 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16905 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16907 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16908 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16910 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16911 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16913 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16914 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16916 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16917 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16919 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16920 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16922 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16923 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16925 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
16926 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
16928 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
16929 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16931 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16934 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16935 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16937 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
16938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16940 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
16941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16943 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16944 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16946 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16947 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16949 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16952 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16955 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
16956 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
16958 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
16959 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
16961 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16964 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16965 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16967 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
16968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16970 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
16971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16973 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
16974 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16976 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
16977 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
16979 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
16980 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
16982 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
16983 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
16985 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
16986 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
16988 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
16989 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16991 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
16992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16994 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
16995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16997 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
16998 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
17000 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
17001 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
17003 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
17004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
17006 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
17007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
17009 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
17010 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
17012 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
17013 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
17015 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
17016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
17018 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
17019 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
17021 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
17022 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
17024 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
17025 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
17027 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
17028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
17030 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
17031 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
17033 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
17034 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
17036 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
17037 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
17039 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
17040 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
17042 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
17043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
17045 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
17046 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
17048 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
17049 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
17051 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
17052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
17054 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
17055 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
17057 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
17058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
17060 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
17061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
17063 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
17064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
17066 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
17067 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
17069 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
17070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
17072 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
17073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
17075 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
17076 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
17078 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
17079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
17081 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
17082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
17084 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
17085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
17087 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
17088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
17090 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
17091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
17093 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
17094 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
17096 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
17097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
17099 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
17100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
17102 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
17103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
17105 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
17106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
17108 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
17109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
17111 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
17112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
17114 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
17115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
17117 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
17118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
17120 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
17121 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
17123 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
17124 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
17126 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
17127 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
17129 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
17130 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
17132 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
17133 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
17135 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
17136 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17138 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
17139 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
17141 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
17142 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
17144 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
17145 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17147 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
17148 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17150 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
17151 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
17153 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
17154 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17156 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
17157 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17159 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
17160 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
17162 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
17163 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17165 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
17166 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17168 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
17169 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
17171 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
17172 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17174 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
17175 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17177 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
17178 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
17180 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
17181 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
17183 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
17184 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
17186 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
17187 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17189 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
17190 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
17192 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
17193 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
17195 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
17196 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17198 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
17199 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17201 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
17202 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17204 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
17205 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
17207 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
17208 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17210 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}};
17211 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}};
17212 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}};
17213 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}};
17214 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}};
17215 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}};
17216 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}};
17217 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}};
17218 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}};
17219 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}};
17220 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}};
17221 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}};
17222 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}};
17223 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}};
17224 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}};
17225 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}};
17226 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}};
17227 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}};
17228 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}};
17229 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}};
17230 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}};
17231 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}};
17232 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}};
17233 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}};
17234 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}};
17235 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}};
17236 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}};
17237 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}};
17238 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}};
17239 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}};
17240 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}};
17241 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}};
17242 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}};
17243 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}};
17244 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}};
17245 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}};
17246 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}};
17247 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}};
17248 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}};
17249 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}};
17250 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}};
17251 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}};
17252 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}};
17253 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}};
17254 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}};
17255 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}};
17256 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}};
17257 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}};
17258 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}};
17259 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}};
17260 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}};
17261 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}};
17262 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}};
17264 static swig_type_info
*swig_types_initial
[] = {
17265 _swigt__p_wxGridCellAutoWrapStringRenderer
,
17266 _swigt__p_wxGridCellEnumRenderer
,
17267 _swigt__p_wxGridCellDateTimeRenderer
,
17268 _swigt__p_wxGridCellBoolRenderer
,
17269 _swigt__p_wxGridCellFloatRenderer
,
17270 _swigt__p_wxGridCellNumberRenderer
,
17271 _swigt__p_wxPyGridCellRenderer
,
17272 _swigt__p_wxGridCellRenderer
,
17273 _swigt__p_wxGridCellStringRenderer
,
17274 _swigt__p_wxGridCellAttr
,
17275 _swigt__p_wxColour
,
17277 _swigt__p_wxGridTableMessage
,
17279 _swigt__p_wxVisualAttributes
,
17282 _swigt__p_wxNotifyEvent
,
17283 _swigt__p_wxGridRangeSelectEvent
,
17285 _swigt__p_wxGridCellCoords
,
17286 _swigt__p_wxScrolledWindow
,
17287 _swigt__p_wxWindow
,
17289 _swigt__p_wxControl
,
17291 _swigt__p_wxObject
,
17292 _swigt__p_wxGridSizeEvent
,
17295 _swigt__p_wxString
,
17296 _swigt__p_wxEvtHandler
,
17298 _swigt__p_wxGridEvent
,
17299 _swigt__p_wxGridEditorCreatedEvent
,
17300 _swigt__p_wxGridTableBase
,
17301 _swigt__p_wxGridCellNumberEditor
,
17302 _swigt__p_wxPyGridCellEditor
,
17303 _swigt__p_wxGridCellEditor
,
17304 _swigt__p_wxGridCellTextEditor
,
17305 _swigt__p_wxGridCellFloatEditor
,
17306 _swigt__p_wxGridCellBoolEditor
,
17307 _swigt__p_wxPyGridTableBase
,
17308 _swigt__p_wxGridStringTable
,
17309 _swigt__p_wxArrayString
,
17310 _swigt__p_wxCommandEvent
,
17311 _swigt__p_wxGridCellAttrProvider
,
17312 _swigt__p_wxKeyEvent
,
17313 _swigt__p_wxGridCellChoiceEditor
,
17314 _swigt__p_wxGridCellEnumEditor
,
17315 _swigt__p_wxGridCellAutoWrapStringEditor
,
17317 _swigt__p_wxPyGridCellAttrProvider
,
17322 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17324 static swig_const_info swig_const_table
[] = {
17325 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17326 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
17327 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17328 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
17329 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
17330 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17331 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17332 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
17333 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
17343 SWIGEXPORT(void) SWIG_init(void) {
17344 static PyObject
*SWIG_globals
= 0;
17345 static int typeinit
= 0;
17348 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17349 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17350 d
= PyModule_GetDict(m
);
17353 for (i
= 0; swig_types_initial
[i
]; i
++) {
17354 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17358 SWIG_InstallConstants(d
,swig_const_table
);
17360 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17361 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
17362 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17363 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17364 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17365 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17366 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17367 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17368 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17369 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17370 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17371 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
17372 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
17373 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_FromInt((int)wxGRID_DEFAULT_NUMBER_ROWS
));
17374 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_FromInt((int)wxGRID_DEFAULT_NUMBER_COLS
));
17375 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_FromInt((int)wxGRID_DEFAULT_ROW_HEIGHT
));
17376 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_FromInt((int)wxGRID_DEFAULT_COL_WIDTH
));
17377 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_FromInt((int)wxGRID_DEFAULT_COL_LABEL_HEIGHT
));
17378 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_FromInt((int)wxGRID_DEFAULT_ROW_LABEL_WIDTH
));
17379 PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_FromInt((int)wxGRID_LABEL_EDGE_ZONE
));
17380 PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_FromInt((int)wxGRID_MIN_ROW_HEIGHT
));
17381 PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_FromInt((int)wxGRID_MIN_COL_WIDTH
));
17382 PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_FromInt((int)wxGRID_DEFAULT_SCROLLBAR_WIDTH
));
17383 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any
));
17384 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default
));
17385 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell
));
17386 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row
));
17387 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col
));
17388 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged
));
17389 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
17390 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
17391 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
17392 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
17393 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
17394 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
17395 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
17396 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
17397 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells
));
17398 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows
));
17399 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns
));
17400 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17401 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17402 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17403 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17404 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17405 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17406 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17407 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17408 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17409 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17410 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17411 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17412 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17413 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17414 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17415 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
17416 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));