1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
210 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
211 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
212 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
213 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
214 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
215 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
216 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
217 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
218 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
219 #define SWIGTYPE_p_wxColour swig_types[10]
220 #define SWIGTYPE_p_wxDC swig_types[11]
221 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
222 #define SWIGTYPE_p_wxGrid swig_types[13]
223 #define SWIGTYPE_p_char swig_types[14]
224 #define SWIGTYPE_p_wxPanel swig_types[15]
225 #define SWIGTYPE_p_wxNotifyEvent swig_types[16]
226 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxGridCellCoords swig_types[19]
229 #define SWIGTYPE_p_wxScrolledWindow swig_types[20]
230 #define SWIGTYPE_p_wxWindow swig_types[21]
231 #define SWIGTYPE_p_wxFont swig_types[22]
232 #define SWIGTYPE_p_wxControl swig_types[23]
233 #define SWIGTYPE_p_wxEvent swig_types[24]
234 #define SWIGTYPE_p_wxObject swig_types[25]
235 #define SWIGTYPE_p_wxGridSizeEvent swig_types[26]
236 #define SWIGTYPE_p_wxRect swig_types[27]
237 #define SWIGTYPE_p_long swig_types[28]
238 #define SWIGTYPE_p_wxString swig_types[29]
239 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
240 #define SWIGTYPE_p_wxPoint swig_types[31]
241 #define SWIGTYPE_p_wxGridEvent swig_types[32]
242 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]
243 #define SWIGTYPE_p_wxGridTableBase swig_types[34]
244 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
245 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
246 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
247 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
248 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]
249 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]
250 #define SWIGTYPE_p_wxPyGridTableBase swig_types[41]
251 #define SWIGTYPE_p_wxGridStringTable swig_types[42]
252 #define SWIGTYPE_p_wxArrayString swig_types[43]
253 #define SWIGTYPE_p_wxCommandEvent swig_types[44]
254 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]
255 #define SWIGTYPE_p_wxKeyEvent swig_types[46]
256 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]
257 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]
258 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]
261 static swig_type_info
*swig_types
[53];
263 /* -------- TYPES TABLE (END) -------- */
266 /*-----------------------------------------------
268 ------------------------------------------------*/
269 #define SWIG_init init_grid
271 #define SWIG_name "_grid"
273 /* Auxiliar swig macros */
276 #define SWIGSTATICINLINE(a) static inline a
277 #define SWIGSTATIC(a) static a
278 #define swig_new_array(type, size) (new type[(size)])
279 #define swig_delete_array(cptr) delete[] cptr
280 #define swig_const_cast(type,a) const_cast<type>(a)
281 #define swig_static_cast(type,a) static_cast<type>(a)
282 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
284 #ifdef HAVE_NUMERIC_CAST
285 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
287 #define swig_numeric_cast(type,a) static_cast<type>(a)
292 #define SWIGSTATICINLINE(a) static a
293 #define SWIGSTATIC(a) static a
294 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
295 #define swig_delete_array(cptr) free((char*)cptr)
296 #define swig_const_cast(type,a) (type)(a)
297 #define swig_static_cast(type,a) (type)(a)
298 #define swig_reinterpret_cast(type,a) (type)(a)
299 #define swig_numeric_cast(type,a) (type)(a)
301 #endif /* __cplusplus */
304 #define SWIG_FromSignedChar PyInt_FromLong
305 #define SWIG_FromUnsignedChar PyInt_FromLong
306 #define SWIG_FromShort PyInt_FromLong
307 #define SWIG_FromUnsignedShort PyInt_FromLong
308 #define SWIG_FromInt PyInt_FromLong
309 #define SWIG_FromLong PyInt_FromLong
310 #define SWIG_FromFloat PyFloat_FromDouble
311 #define SWIG_FromDouble PyFloat_FromDouble
312 #define SWIG_FromFloat PyFloat_FromDouble
313 #define SWIG_FromDouble PyFloat_FromDouble
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
318 #include "wx/wxPython/printfw.h"
321 #include <wx/generic/gridctrl.h>
324 static const wxString
wxPyEmptyString(wxEmptyString
);
325 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
326 static const wxString
wxPyDateTimeFormatStr(wxT("%c"));
329 #define wxPyMake_TEMPLATE(TYPE) \
330 PyObject* wxPyMake_##TYPE(TYPE* source) { \
331 PyObject* target = NULL; \
333 /* Check if there is already a pointer to a Python object in the \
334 OOR data that we can use. */ \
335 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
337 target = data->m_obj; \
340 /* Otherwise make a new wrapper for it the old fashioned way and \
341 give it the OOR treatment */ \
343 target = wxPyConstructObject(source, wxT(#TYPE), False); \
345 source->SetClientObject(new wxPyOORClientData(target)); \
347 } else { /* source was NULL so return None. */ \
348 Py_INCREF(Py_None); target = Py_None; \
354 wxPyMake_TEMPLATE(wxGridCellRenderer)
355 wxPyMake_TEMPLATE(wxGridCellEditor
)
356 wxPyMake_TEMPLATE(wxGridCellAttr
)
357 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
358 wxPyMake_TEMPLATE(wxGridTableBase
)
362 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
363 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
364 wxGridCellAttr* rval = NULL; \
366 bool blocked = wxPyBeginBlockThreads(); \
367 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
369 wxGridCellAttr* ptr; \
370 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
372 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
377 wxPyEndBlockThreads(blocked); \
379 rval = PCLASS::CBNAME(a, b, c); \
382 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
383 return PCLASS::CBNAME(a, b, c); \
388 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
389 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
390 bool blocked = wxPyBeginBlockThreads(); \
392 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
393 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
394 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
397 wxPyEndBlockThreads(blocked); \
399 PCLASS::CBNAME(attr, a, b); \
401 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
402 PCLASS::CBNAME(attr, a, b); \
407 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
408 void CBNAME(wxGridCellAttr *attr, int val) { \
409 bool blocked = wxPyBeginBlockThreads(); \
411 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
413 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
416 wxPyEndBlockThreads(blocked); \
418 PCLASS::CBNAME(attr, val); \
420 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
421 PCLASS::CBNAME(attr, val); \
426 #define PYCALLBACK_INT__pure(CBNAME) \
428 bool blocked = wxPyBeginBlockThreads(); \
430 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
431 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
432 wxPyEndBlockThreads(blocked); \
438 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
439 bool CBNAME(int a, int b) { \
440 bool blocked = wxPyBeginBlockThreads(); \
442 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
443 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
444 wxPyEndBlockThreads(blocked); \
449 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
450 wxString CBNAME(int a, int b) { \
451 bool blocked = wxPyBeginBlockThreads(); \
453 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
455 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
457 rval = Py2wxString(ro); \
461 wxPyEndBlockThreads(blocked); \
466 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
467 void CBNAME(int a, int b, const wxString& c) { \
468 bool blocked = wxPyBeginBlockThreads(); \
469 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
470 PyObject* s = wx2PyString(c); \
471 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
474 wxPyEndBlockThreads(blocked); \
478 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
479 wxString CBNAME(int a, int b) { \
481 bool blocked = wxPyBeginBlockThreads(); \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
485 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
487 rval = Py2wxString(ro); \
491 wxPyEndBlockThreads(blocked); \
493 rval = PCLASS::CBNAME(a, b); \
496 wxString base_##CBNAME(int a, int b) { \
497 return PCLASS::CBNAME(a, b); \
501 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
502 bool CBNAME(int a, int b, const wxString& c) { \
505 bool blocked = wxPyBeginBlockThreads(); \
506 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
507 PyObject* s = wx2PyString(c); \
508 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
511 wxPyEndBlockThreads(blocked); \
513 rval = PCLASS::CBNAME(a,b,c); \
516 bool base_##CBNAME(int a, int b, const wxString& c) { \
517 return PCLASS::CBNAME(a,b,c); \
523 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
524 long CBNAME(int a, int b) { \
527 bool blocked = wxPyBeginBlockThreads(); \
528 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
529 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
530 wxPyEndBlockThreads(blocked); \
532 rval = PCLASS::CBNAME(a,b); \
535 long base_##CBNAME(int a, int b) { \
536 return PCLASS::CBNAME(a,b); \
541 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
542 bool CBNAME(int a, int b) { \
545 bool blocked = wxPyBeginBlockThreads(); \
546 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
547 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
548 wxPyEndBlockThreads(blocked); \
550 rval = PCLASS::CBNAME(a,b); \
553 bool base_##CBNAME(int a, int b) { \
554 return PCLASS::CBNAME(a,b); \
559 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
560 double CBNAME(int a, int b) { \
562 bool blocked = wxPyBeginBlockThreads(); \
564 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
566 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
568 PyObject* str = PyObject_Str(ro); \
569 rval = PyFloat_AsDouble(str); \
570 Py_DECREF(ro); Py_DECREF(str); \
573 wxPyEndBlockThreads(blocked); \
575 rval = PCLASS::CBNAME(a, b); \
578 double base_##CBNAME(int a, int b) { \
579 return PCLASS::CBNAME(a, b); \
584 #define PYCALLBACK__(PCLASS, CBNAME) \
587 bool blocked = wxPyBeginBlockThreads(); \
588 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
589 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
590 wxPyEndBlockThreads(blocked); \
594 void base_##CBNAME() { \
601 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
602 bool CBNAME(size_t a, size_t b) { \
605 bool blocked = wxPyBeginBlockThreads(); \
606 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
607 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
608 wxPyEndBlockThreads(blocked); \
610 rval = PCLASS::CBNAME(a,b); \
613 bool base_##CBNAME(size_t a, size_t b) { \
614 return PCLASS::CBNAME(a,b); \
619 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
620 bool CBNAME(size_t a) { \
623 bool blocked = wxPyBeginBlockThreads(); \
624 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
626 wxPyEndBlockThreads(blocked); \
628 rval = PCLASS::CBNAME(a); \
631 bool base_##CBNAME(size_t a) { \
632 return PCLASS::CBNAME(a); \
636 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
637 wxString CBNAME(int a) { \
639 bool blocked = wxPyBeginBlockThreads(); \
641 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
643 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
645 rval = Py2wxString(ro); \
649 wxPyEndBlockThreads(blocked); \
651 rval = PCLASS::CBNAME(a); \
654 wxString base_##CBNAME(int a) { \
655 return PCLASS::CBNAME(a); \
659 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
660 void CBNAME(int a, const wxString& c) { \
662 bool blocked = wxPyBeginBlockThreads(); \
663 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
664 PyObject* s = wx2PyString(c); \
665 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
668 wxPyEndBlockThreads(blocked); \
670 PCLASS::CBNAME(a,c); \
672 void base_##CBNAME(int a, const wxString& c) { \
673 PCLASS::CBNAME(a,c); \
679 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
683 bool blocked = wxPyBeginBlockThreads(); \
684 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
685 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
686 wxPyEndBlockThreads(blocked); \
688 rval = PCLASS::CBNAME(); \
691 bool base_##CBNAME() { \
692 return PCLASS::CBNAME(); \
697 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
698 void CBNAME(size_t a, int b) { \
700 bool blocked = wxPyBeginBlockThreads(); \
701 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
702 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
703 wxPyEndBlockThreads(blocked); \
705 PCLASS::CBNAME(a,b); \
707 void base_##CBNAME(size_t a, int b) { \
708 PCLASS::CBNAME(a,b); \
714 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
715 void CBNAME(int a, int b, long c) { \
717 bool blocked = wxPyBeginBlockThreads(); \
718 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
719 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
720 wxPyEndBlockThreads(blocked); \
722 PCLASS::CBNAME(a,b,c); \
724 void base_##CBNAME(int a, int b, long c) { \
725 PCLASS::CBNAME(a,b,c); \
731 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
732 void CBNAME(int a, int b, double c) { \
734 bool blocked = wxPyBeginBlockThreads(); \
735 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
736 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
737 wxPyEndBlockThreads(blocked); \
739 PCLASS::CBNAME(a,b,c); \
741 void base_##CBNAME(int a, int b, double c) { \
742 PCLASS::CBNAME(a,b,c); \
747 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
748 void CBNAME(int a, int b, bool c) { \
750 bool blocked = wxPyBeginBlockThreads(); \
751 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
752 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
753 wxPyEndBlockThreads(blocked); \
755 PCLASS::CBNAME(a,b,c); \
757 void base_##CBNAME(int a, int b, bool c) { \
758 PCLASS::CBNAME(a,b,c); \
766 SWIGSTATICINLINE(PyObject
*)
767 SWIG_FromCharPtr(const char* cptr
)
769 size_t size
= cptr
? strlen(cptr
) : 0;
771 if (size
> INT_MAX
) {
772 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
773 SWIG_TypeQuery("char *"), 0);
775 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
783 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
784 self
->SetClientObject(new wxPyOORClientData(_self
));
790 SWIGSTATICINLINE(long)
791 SWIG_CheckLongInRange(long value
, const char* type
,
792 long min_value
, long max_value
)
794 if (!PyErr_Occurred()) {
795 if (value
< min_value
) {
797 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
798 value
, type
, min_value
);
800 PyErr_SetObject(PyExc_OverflowError
, err
);
802 } else if (value
> max_value
) {
804 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
805 value
, type
, max_value
);
806 PyErr_SetObject(PyExc_OverflowError
, err
);
814 SWIGSTATICINLINE(long)
815 SWIG_AsLong(PyObject
* obj
)
817 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
821 #if INT_MAX != LONG_MAX
822 SWIGSTATICINLINE(int)
823 SWIG_AsInt(PyObject
*obj
)
825 return swig_numeric_cast(int,
826 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
827 "int", INT_MIN
, INT_MAX
));
830 #define SWIG_AsInt SWIG_AsLong
834 SWIGSTATICINLINE(bool)
835 SWIG_AsBool(PyObject
*obj
)
837 return PyObject_IsTrue(obj
) ? true : false;
841 SWIGSTATICINLINE(int)
842 SWIG_CheckInt(PyObject
* obj
)
845 if (PyErr_Occurred()) {
854 SWIGSTATICINLINE(int)
855 SWIG_CheckBool(PyObject
* obj
)
858 if (PyErr_Occurred()) {
867 class wxPyGridCellRenderer
: public wxGridCellRenderer
870 wxPyGridCellRenderer() : wxGridCellRenderer() {};
872 // Implement Python callback aware virtual methods
873 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
874 wxDC
& dc
, const wxRect
& rect
,
875 int row
, int col
, bool isSelected
) {
876 bool blocked
= wxPyBeginBlockThreads();
877 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
878 PyObject
* go
= wxPyMake_wxObject(&grid
);
879 PyObject
* dco
= wxPyMake_wxObject(&dc
);
880 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
881 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
883 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
884 row
, col
, isSelected
));
890 wxPyEndBlockThreads(blocked
);
893 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
896 bool blocked
= wxPyBeginBlockThreads();
897 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
900 PyObject
* go
= wxPyMake_wxObject(&grid
);
901 PyObject
* dco
= wxPyMake_wxObject(&dc
);
902 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
904 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
912 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
913 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
916 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
917 PyObject
* o1
= PySequence_GetItem(ro
, 0);
918 PyObject
* o2
= PySequence_GetItem(ro
, 1);
919 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
920 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
922 PyErr_SetString(PyExc_TypeError
, errmsg
);
927 PyErr_SetString(PyExc_TypeError
, errmsg
);
932 wxPyEndBlockThreads(blocked
);
937 wxGridCellRenderer
*Clone() const {
938 wxGridCellRenderer
* rval
= NULL
;
939 bool blocked
= wxPyBeginBlockThreads();
940 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
942 wxGridCellRenderer
* ptr
;
943 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
945 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
950 wxPyEndBlockThreads(blocked
);
954 DEC_PYCALLBACK__STRING(SetParameters
);
959 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
962 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
963 self
->SetClientObject(new wxPyOORClientData(_self
));
966 class wxPyGridCellEditor
: public wxGridCellEditor
969 wxPyGridCellEditor() : wxGridCellEditor() {}
971 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
972 bool blocked
= wxPyBeginBlockThreads();
973 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
974 PyObject
* po
= wxPyMake_wxObject(parent
);
975 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
977 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
981 wxPyEndBlockThreads(blocked
);
985 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
986 bool blocked
= wxPyBeginBlockThreads();
987 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
988 PyObject
* go
= wxPyMake_wxObject(grid
);
989 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
992 wxPyEndBlockThreads(blocked
);
996 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
998 bool blocked
= wxPyBeginBlockThreads();
999 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
1000 PyObject
* go
= wxPyMake_wxObject(grid
);
1001 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1004 wxPyEndBlockThreads(blocked
);
1009 wxGridCellEditor
* Clone() const {
1010 wxGridCellEditor
* rval
= NULL
;
1011 bool blocked
= wxPyBeginBlockThreads();
1012 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
1014 wxGridCellEditor
* ptr
;
1015 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1017 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
1022 wxPyEndBlockThreads(blocked
);
1027 void Show(bool show
, wxGridCellAttr
*attr
) {
1029 bool blocked
= wxPyBeginBlockThreads();
1030 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
1031 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1032 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
1035 wxPyEndBlockThreads(blocked
);
1037 wxGridCellEditor::Show(show
, attr
);
1039 void base_Show(bool show
, wxGridCellAttr
*attr
) {
1040 wxGridCellEditor::Show(show
, attr
);
1044 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1046 bool blocked
= wxPyBeginBlockThreads();
1047 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
1048 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1049 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
1051 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
1056 wxPyEndBlockThreads(blocked
);
1058 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1060 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1061 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1065 DEC_PYCALLBACK___pure(Reset
);
1066 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
1067 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
1068 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
1069 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
1070 DEC_PYCALLBACK__(StartingClick
);
1071 DEC_PYCALLBACK__(Destroy
);
1072 DEC_PYCALLBACK__STRING(SetParameters
);
1073 DEC_PYCALLBACK_STRING__constpure(GetValue
);
1079 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
1080 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
1081 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
1082 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
1083 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
1084 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
1085 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
1086 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
1087 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
1090 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
1091 self
->SetClientObject(new wxPyOORClientData(_self
));
1094 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1100 } else if (target
== Py_None
) {
1104 if (!PyTuple_Check(target
)) {
1106 target
= PyTuple_New(1);
1107 PyTuple_SetItem(target
, 0, o2
);
1109 o3
= PyTuple_New(1);
1110 PyTuple_SetItem(o3
, 0, o
);
1113 target
= PySequence_Concat(o2
, o3
);
1120 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1121 self
->SetClientObject(new wxPyOORClientData(_self
));
1124 SWIGSTATICINLINE(unsigned long)
1125 SWIG_AsUnsignedLong(PyObject
* obj
)
1127 if (PyLong_Check(obj
)) {
1128 return PyLong_AsUnsignedLong(obj
);
1130 long i
= PyInt_AsLong(obj
);
1131 if ( !PyErr_Occurred() && (i
< 0)) {
1132 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
1139 SWIGSTATICINLINE(int)
1140 SWIG_CheckUnsignedLong(PyObject
* obj
)
1142 SWIG_AsUnsignedLong(obj
);
1143 if (PyErr_Occurred()) {
1152 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1155 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1157 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1158 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1159 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1160 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1165 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1166 self
->SetClientObject(new wxPyOORClientData(_self
));
1169 SWIGSTATICINLINE(int)
1170 SWIG_CheckLong(PyObject
* obj
)
1173 if (PyErr_Occurred()) {
1182 SWIGSTATICINLINE(double)
1183 SWIG_AsDouble(PyObject
*obj
)
1185 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1187 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1189 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1191 if (PyErr_Occurred()) {
1193 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1199 SWIGSTATICINLINE(int)
1200 SWIG_CheckDouble(PyObject
* obj
)
1203 if (PyErr_Occurred()) {
1212 class wxPyGridTableBase
: public wxGridTableBase
1215 wxPyGridTableBase() : wxGridTableBase() {}
1217 PYCALLBACK_INT__pure(GetNumberRows
);
1218 PYCALLBACK_INT__pure(GetNumberCols
);
1219 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1220 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1221 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1222 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1223 PYCALLBACK__(wxGridTableBase
, Clear
);
1224 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1225 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1226 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1227 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1228 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1229 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1230 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1231 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1232 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1233 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1234 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1235 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1236 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1237 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1238 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1241 wxString
GetValue(int row
, int col
) {
1242 bool blocked
= wxPyBeginBlockThreads();
1244 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1246 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1248 rval
= Py2wxString(ro
);
1252 wxPyEndBlockThreads(blocked
);
1256 void SetValue(int row
, int col
, const wxString
& val
) {
1257 bool blocked
= wxPyBeginBlockThreads();
1258 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1259 PyObject
* s
= wx2PyString(val
);
1260 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1263 wxPyEndBlockThreads(blocked
);
1267 // Map the Get/Set methods for the standard non-string types to
1268 // the GetValue and SetValue python methods.
1269 long GetValueAsLong( int row
, int col
) {
1271 bool blocked
= wxPyBeginBlockThreads();
1272 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1275 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1276 if (ro
&& PyNumber_Check(ro
)) {
1277 num
= PyNumber_Int(ro
);
1279 rval
= PyInt_AsLong(num
);
1285 wxPyEndBlockThreads(blocked
);
1289 double GetValueAsDouble( int row
, int col
) {
1291 bool blocked
= wxPyBeginBlockThreads();
1292 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1295 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1296 if (ro
&& PyNumber_Check(ro
)) {
1297 num
= PyNumber_Float(ro
);
1299 rval
= PyFloat_AsDouble(num
);
1305 wxPyEndBlockThreads(blocked
);
1309 bool GetValueAsBool( int row
, int col
) {
1310 return (bool)GetValueAsLong(row
, col
);
1313 void SetValueAsLong( int row
, int col
, long value
) {
1314 bool blocked
= wxPyBeginBlockThreads();
1315 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1316 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1318 wxPyEndBlockThreads(blocked
);
1321 void SetValueAsDouble( int row
, int col
, double value
) {
1322 bool blocked
= wxPyBeginBlockThreads();
1323 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1324 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1326 wxPyEndBlockThreads(blocked
);
1329 void SetValueAsBool( int row
, int col
, bool value
) {
1330 SetValueAsLong( row
, col
, (long)value
);
1337 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1339 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1341 if (source
== Py_None
) {
1342 **obj
= wxGridCellCoords(-1,-1);
1346 // If source is an object instance then it may already be the right type
1347 if (wxPySwigInstance_Check(source
)) {
1348 wxGridCellCoords
* ptr
;
1349 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1354 // otherwise a 2-tuple of integers is expected
1355 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1356 PyObject
* o1
= PySequence_GetItem(source
, 0);
1357 PyObject
* o2
= PySequence_GetItem(source
, 1);
1358 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1363 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1370 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1375 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1378 if (wxPySwigInstance_Check(source
) &&
1379 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1383 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1390 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1392 PyObject
* list
= PyList_New(0);
1394 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1395 wxGridCellCoords
& coord
= source
.Item(idx
);
1396 PyObject
* tup
= PyTuple_New(2);
1397 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1398 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1399 PyList_Append(list
, tup
);
1405 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1406 PyObject
* tup
= PyTuple_New(2);
1407 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1408 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1412 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1414 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1415 wxGridCellCoords rv
;
1416 self
->XYToCell(x
, y
, rv
);
1422 static int _wrap_DateTimeFormatStr_set(PyObject
*_val
) {
1423 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1428 static PyObject
*_wrap_DateTimeFormatStr_get() {
1433 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1435 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1442 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1443 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1448 static PyObject
*_wrap_GridNoCellCoords_get() {
1451 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
1456 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1457 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1462 static PyObject
*_wrap_GridNoCellRect_get() {
1465 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
1470 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1473 PyObject
*arg2
= (PyObject
*) 0 ;
1474 PyObject
* obj0
= 0 ;
1475 PyObject
* obj1
= 0 ;
1477 (char *) "self",(char *) "_self", NULL
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1486 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1488 wxPyEndAllowThreads(__tstate
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1491 Py_INCREF(Py_None
); resultobj
= Py_None
;
1498 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1501 wxString
*arg2
= 0 ;
1502 bool temp2
= False
;
1503 PyObject
* obj0
= 0 ;
1504 PyObject
* obj1
= 0 ;
1506 (char *) "self",(char *) "params", NULL
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1513 arg2
= wxString_in_helper(obj1
);
1514 if (arg2
== NULL
) SWIG_fail
;
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 (arg1
)->SetParameters((wxString
const &)*arg2
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1524 Py_INCREF(Py_None
); resultobj
= Py_None
;
1539 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
*resultobj
;
1541 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1542 PyObject
* obj0
= 0 ;
1544 (char *) "self", NULL
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) SWIG_fail
;
1557 Py_INCREF(Py_None
); resultobj
= Py_None
;
1564 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
*resultobj
;
1566 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1567 PyObject
* obj0
= 0 ;
1569 (char *) "self", NULL
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) SWIG_fail
;
1582 Py_INCREF(Py_None
); resultobj
= Py_None
;
1589 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1591 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1593 wxGridCellAttr
*arg3
= 0 ;
1600 PyObject
* obj0
= 0 ;
1601 PyObject
* obj1
= 0 ;
1602 PyObject
* obj2
= 0 ;
1603 PyObject
* obj3
= 0 ;
1604 PyObject
* obj4
= 0 ;
1605 PyObject
* obj5
= 0 ;
1606 PyObject
* obj6
= 0 ;
1607 PyObject
* obj7
= 0 ;
1609 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1619 PyErr_SetString(PyExc_TypeError
,"null reference");
1622 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1626 PyErr_SetString(PyExc_TypeError
,"null reference");
1629 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1633 PyErr_SetString(PyExc_TypeError
,"null reference");
1638 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1640 arg6
= (int) SWIG_AsInt(obj5
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1642 arg7
= (int) SWIG_AsInt(obj6
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1644 arg8
= (bool) SWIG_AsBool(obj7
);
1645 if (PyErr_Occurred()) SWIG_fail
;
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 Py_INCREF(Py_None
); resultobj
= Py_None
;
1660 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
*resultobj
;
1662 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1664 wxGridCellAttr
*arg3
= 0 ;
1669 PyObject
* obj0
= 0 ;
1670 PyObject
* obj1
= 0 ;
1671 PyObject
* obj2
= 0 ;
1672 PyObject
* obj3
= 0 ;
1673 PyObject
* obj4
= 0 ;
1674 PyObject
* obj5
= 0 ;
1676 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1686 PyErr_SetString(PyExc_TypeError
,"null reference");
1689 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1693 PyErr_SetString(PyExc_TypeError
,"null reference");
1696 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1700 PyErr_SetString(PyExc_TypeError
,"null reference");
1703 arg5
= (int) SWIG_AsInt(obj4
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1705 arg6
= (int) SWIG_AsInt(obj5
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1716 resultptr
= new wxSize((wxSize
&) result
);
1717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1725 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1728 wxGridCellRenderer
*result
;
1729 PyObject
* obj0
= 0 ;
1731 (char *) "self", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1745 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1753 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1756 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1758 return Py_BuildValue((char *)"");
1760 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxPyGridCellRenderer
*result
;
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1782 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1785 PyObject
*arg2
= (PyObject
*) 0 ;
1786 PyObject
*arg3
= (PyObject
*) 0 ;
1787 PyObject
* obj0
= 0 ;
1788 PyObject
* obj1
= 0 ;
1789 PyObject
* obj2
= 0 ;
1791 (char *) "self",(char *) "self",(char *) "_class", NULL
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 Py_INCREF(Py_None
); resultobj
= Py_None
;
1813 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1816 wxString
*arg2
= 0 ;
1817 bool temp2
= False
;
1818 PyObject
* obj0
= 0 ;
1819 PyObject
* obj1
= 0 ;
1821 (char *) "self",(char *) "params", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 arg2
= wxString_in_helper(obj1
);
1829 if (arg2
== NULL
) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 Py_INCREF(Py_None
); resultobj
= Py_None
;
1854 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1857 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1859 return Py_BuildValue((char *)"");
1861 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxGridCellStringRenderer
*result
;
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1883 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1886 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1888 return Py_BuildValue((char *)"");
1890 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxGridCellNumberRenderer
*result
;
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1912 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1915 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1917 return Py_BuildValue((char *)"");
1919 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 int arg1
= (int) -1 ;
1922 int arg2
= (int) -1 ;
1923 wxGridCellFloatRenderer
*result
;
1924 PyObject
* obj0
= 0 ;
1925 PyObject
* obj1
= 0 ;
1927 (char *) "width",(char *) "precision", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1932 arg1
= (int) SWIG_AsInt(obj0
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1936 arg2
= (int) SWIG_AsInt(obj1
);
1937 if (PyErr_Occurred()) SWIG_fail
;
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1953 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
*resultobj
;
1955 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1957 PyObject
* obj0
= 0 ;
1959 (char *) "self", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
1964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 resultobj
= SWIG_FromInt((int)result
);
1979 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1986 (char *) "self",(char *) "width", NULL
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
1991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1992 arg2
= (int) SWIG_AsInt(obj1
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 (arg1
)->SetWidth(arg2
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 Py_INCREF(Py_None
); resultobj
= Py_None
;
2008 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
;
2010 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2012 PyObject
* obj0
= 0 ;
2014 (char *) "self", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 resultobj
= SWIG_FromInt((int)result
);
2034 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2041 (char *) "self",(char *) "precision", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2047 arg2
= (int) SWIG_AsInt(obj1
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 (arg1
)->SetPrecision(arg2
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 Py_INCREF(Py_None
); resultobj
= Py_None
;
2063 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2066 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
2068 return Py_BuildValue((char *)"");
2070 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxGridCellBoolRenderer
*result
;
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
2092 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2095 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
2097 return Py_BuildValue((char *)"");
2099 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
2102 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
2103 wxGridCellDateTimeRenderer
*result
;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "outformat",(char *) "informat", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2113 wxString
* sptr
= wxString_in_helper(obj0
);
2114 if (sptr
== NULL
) SWIG_fail
;
2121 wxString
* sptr
= wxString_in_helper(obj1
);
2122 if (sptr
== NULL
) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2141 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2144 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2146 return Py_BuildValue((char *)"");
2148 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2151 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2152 wxGridCellEnumRenderer
*result
;
2153 bool temp1
= False
;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "choices", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2162 arg1
= wxString_in_helper(obj0
);
2163 if (arg1
== NULL
) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2189 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2192 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2194 return Py_BuildValue((char *)"");
2196 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxGridCellAutoWrapStringRenderer
*result
;
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2218 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2221 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2223 return Py_BuildValue((char *)"");
2225 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
*resultobj
;
2227 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2228 PyObject
*arg2
= (PyObject
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2230 PyObject
* obj1
= 0 ;
2232 (char *) "self",(char *) "_self", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2246 Py_INCREF(Py_None
); resultobj
= Py_None
;
2253 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2259 (char *) "self", NULL
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 result
= (bool)(arg1
)->IsCreated();
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2281 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2285 PyObject
* obj0
= 0 ;
2287 (char *) "self", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (wxControl
*)(arg1
)->GetControl();
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2301 resultobj
= wxPyMake_wxObject(result
);
2309 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2312 wxControl
*arg2
= (wxControl
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2314 PyObject
* obj1
= 0 ;
2316 (char *) "self",(char *) "control", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 (arg1
)->SetControl(arg2
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2338 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2341 wxGridCellAttr
*result
;
2342 PyObject
* obj0
= 0 ;
2344 (char *) "self", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2358 resultobj
= wxPyMake_wxGridCellAttr(result
);
2366 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
*resultobj
;
2368 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2369 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2370 PyObject
* obj0
= 0 ;
2371 PyObject
* obj1
= 0 ;
2373 (char *) "self",(char *) "attr", NULL
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
2380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 (arg1
)->SetCellAttr(arg2
);
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 Py_INCREF(Py_None
); resultobj
= Py_None
;
2395 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2398 wxString
*arg2
= 0 ;
2399 bool temp2
= False
;
2400 PyObject
* obj0
= 0 ;
2401 PyObject
* obj1
= 0 ;
2403 (char *) "self",(char *) "params", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2410 arg2
= wxString_in_helper(obj1
);
2411 if (arg2
== NULL
) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 (arg1
)->SetParameters((wxString
const &)*arg2
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2421 Py_INCREF(Py_None
); resultobj
= Py_None
;
2436 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
;
2438 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2439 PyObject
* obj0
= 0 ;
2441 (char *) "self", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 wxPyEndAllowThreads(__tstate
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2454 Py_INCREF(Py_None
); resultobj
= Py_None
;
2461 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
*resultobj
;
2463 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2464 PyObject
* obj0
= 0 ;
2466 (char *) "self", NULL
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 Py_INCREF(Py_None
); resultobj
= Py_None
;
2486 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2489 wxWindow
*arg2
= (wxWindow
*) 0 ;
2491 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2492 PyObject
* obj0
= 0 ;
2493 PyObject
* obj1
= 0 ;
2494 PyObject
* obj2
= 0 ;
2495 PyObject
* obj3
= 0 ;
2497 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 arg3
= (int) SWIG_AsInt(obj2
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2507 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxEvtHandler
,
2508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 (arg1
)->Create(arg2
,arg3
,arg4
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 Py_INCREF(Py_None
); resultobj
= Py_None
;
2523 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2528 wxGrid
*arg4
= (wxGrid
*) 0 ;
2529 PyObject
* obj0
= 0 ;
2530 PyObject
* obj1
= 0 ;
2531 PyObject
* obj2
= 0 ;
2532 PyObject
* obj3
= 0 ;
2534 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2540 arg2
= (int) SWIG_AsInt(obj1
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2542 arg3
= (int) SWIG_AsInt(obj2
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2544 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2553 Py_INCREF(Py_None
); resultobj
= Py_None
;
2560 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2565 wxGrid
*arg4
= (wxGrid
*) 0 ;
2567 PyObject
* obj0
= 0 ;
2568 PyObject
* obj1
= 0 ;
2569 PyObject
* obj2
= 0 ;
2570 PyObject
* obj3
= 0 ;
2572 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2578 arg2
= (int) SWIG_AsInt(obj1
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2580 arg3
= (int) SWIG_AsInt(obj2
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2582 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2586 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2588 wxPyEndAllowThreads(__tstate
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2600 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
*resultobj
;
2602 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2603 PyObject
* obj0
= 0 ;
2605 (char *) "self", NULL
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 Py_INCREF(Py_None
); resultobj
= Py_None
;
2625 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2628 wxGridCellEditor
*result
;
2629 PyObject
* obj0
= 0 ;
2631 (char *) "self", NULL
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2645 resultobj
= wxPyMake_wxGridCellEditor(result
);
2653 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2658 PyObject
* obj0
= 0 ;
2659 PyObject
* obj1
= 0 ;
2661 (char *) "self",(char *) "rect", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2669 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2673 (arg1
)->SetSize((wxRect
const &)*arg2
);
2675 wxPyEndAllowThreads(__tstate
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2678 Py_INCREF(Py_None
); resultobj
= Py_None
;
2685 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
*resultobj
;
2687 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2689 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2690 PyObject
* obj0
= 0 ;
2691 PyObject
* obj1
= 0 ;
2692 PyObject
* obj2
= 0 ;
2694 (char *) "self",(char *) "show",(char *) "attr", NULL
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2700 arg2
= (bool) SWIG_AsBool(obj1
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2703 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 (arg1
)->Show(arg2
,arg3
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 Py_INCREF(Py_None
); resultobj
= Py_None
;
2720 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2724 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2726 PyObject
* obj0
= 0 ;
2727 PyObject
* obj1
= 0 ;
2728 PyObject
* obj2
= 0 ;
2730 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2738 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2740 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2744 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 Py_INCREF(Py_None
); resultobj
= Py_None
;
2756 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2759 wxKeyEvent
*arg2
= 0 ;
2761 PyObject
* obj0
= 0 ;
2762 PyObject
* obj1
= 0 ;
2764 (char *) "self",(char *) "event", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2774 PyErr_SetString(PyExc_TypeError
,"null reference");
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2793 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2796 wxKeyEvent
*arg2
= 0 ;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2800 (char *) "self",(char *) "event", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2810 PyErr_SetString(PyExc_TypeError
,"null reference");
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 (arg1
)->StartingKey(*arg2
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) SWIG_fail
;
2820 Py_INCREF(Py_None
); resultobj
= Py_None
;
2827 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2829 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2830 PyObject
* obj0
= 0 ;
2832 (char *) "self", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 (arg1
)->StartingClick();
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 Py_INCREF(Py_None
); resultobj
= Py_None
;
2852 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2855 wxKeyEvent
*arg2
= 0 ;
2856 PyObject
* obj0
= 0 ;
2857 PyObject
* obj1
= 0 ;
2859 (char *) "self",(char *) "event", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2869 PyErr_SetString(PyExc_TypeError
,"null reference");
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 (arg1
)->HandleReturn(*arg2
);
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2879 Py_INCREF(Py_None
); resultobj
= Py_None
;
2886 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2889 PyObject
* obj0
= 0 ;
2891 (char *) "self", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 Py_INCREF(Py_None
); resultobj
= Py_None
;
2911 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2914 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2916 return Py_BuildValue((char *)"");
2918 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxPyGridCellEditor
*result
;
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
2940 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2943 PyObject
*arg2
= (PyObject
*) 0 ;
2944 PyObject
*arg3
= (PyObject
*) 0 ;
2945 PyObject
* obj0
= 0 ;
2946 PyObject
* obj1
= 0 ;
2947 PyObject
* obj2
= 0 ;
2949 (char *) "self",(char *) "self",(char *) "_class", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
2954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2964 Py_INCREF(Py_None
); resultobj
= Py_None
;
2971 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
*resultobj
;
2973 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2976 PyObject
* obj0
= 0 ;
2977 PyObject
* obj1
= 0 ;
2979 (char *) "self",(char *) "rect", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2996 Py_INCREF(Py_None
); resultobj
= Py_None
;
3003 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3007 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3008 PyObject
* obj0
= 0 ;
3009 PyObject
* obj1
= 0 ;
3010 PyObject
* obj2
= 0 ;
3012 (char *) "self",(char *) "show",(char *) "attr", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 arg2
= (bool) SWIG_AsBool(obj1
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 (arg1
)->base_Show(arg2
,arg3
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3031 Py_INCREF(Py_None
); resultobj
= Py_None
;
3038 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3042 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3046 PyObject
* obj2
= 0 ;
3048 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3056 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3058 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3067 Py_INCREF(Py_None
); resultobj
= Py_None
;
3074 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3077 wxKeyEvent
*arg2
= 0 ;
3079 PyObject
* obj0
= 0 ;
3080 PyObject
* obj1
= 0 ;
3082 (char *) "self",(char *) "event", NULL
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3092 PyErr_SetString(PyExc_TypeError
,"null reference");
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3111 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
*resultobj
;
3113 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3114 wxKeyEvent
*arg2
= 0 ;
3115 PyObject
* obj0
= 0 ;
3116 PyObject
* obj1
= 0 ;
3118 (char *) "self",(char *) "event", NULL
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3128 PyErr_SetString(PyExc_TypeError
,"null reference");
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 (arg1
)->base_StartingKey(*arg2
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3138 Py_INCREF(Py_None
); resultobj
= Py_None
;
3145 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
*resultobj
;
3147 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 (arg1
)->base_StartingClick();
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3163 Py_INCREF(Py_None
); resultobj
= Py_None
;
3170 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3172 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3173 wxKeyEvent
*arg2
= 0 ;
3174 PyObject
* obj0
= 0 ;
3175 PyObject
* obj1
= 0 ;
3177 (char *) "self",(char *) "event", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3187 PyErr_SetString(PyExc_TypeError
,"null reference");
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 (arg1
)->base_HandleReturn(*arg2
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "self", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 (arg1
)->base_Destroy();
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 Py_INCREF(Py_None
); resultobj
= Py_None
;
3229 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3232 wxString
*arg2
= 0 ;
3233 bool temp2
= False
;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3237 (char *) "self",(char *) "params", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3244 arg2
= wxString_in_helper(obj1
);
3245 if (arg2
== NULL
) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3273 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3275 return Py_BuildValue((char *)"");
3277 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxGridCellTextEditor
*result
;
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
3299 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3303 PyObject
* obj0
= 0 ;
3305 (char *) "self", NULL
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellTextEditor
,
3310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 result
= (arg1
)->GetValue();
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3331 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3334 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3336 return Py_BuildValue((char *)"");
3338 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
*resultobj
;
3340 int arg1
= (int) -1 ;
3341 int arg2
= (int) -1 ;
3342 wxGridCellNumberEditor
*result
;
3343 PyObject
* obj0
= 0 ;
3344 PyObject
* obj1
= 0 ;
3346 (char *) "min",(char *) "max", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3351 arg1
= (int) SWIG_AsInt(obj0
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3355 arg2
= (int) SWIG_AsInt(obj1
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3372 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3378 (char *) "self", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellNumberEditor
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= (arg1
)->GetValue();
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3404 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3407 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3409 return Py_BuildValue((char *)"");
3411 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxGridCellFloatEditor
*result
;
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3433 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3439 (char *) "self", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatEditor
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= (arg1
)->GetValue();
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3465 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3468 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3470 return Py_BuildValue((char *)"");
3472 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxGridCellBoolEditor
*result
;
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3494 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
*resultobj
;
3496 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3498 PyObject
* obj0
= 0 ;
3500 (char *) "self", NULL
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellBoolEditor
,
3505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 result
= (arg1
)->GetValue();
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3526 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3529 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3531 return Py_BuildValue((char *)"");
3533 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 int arg1
= (int) 0 ;
3536 wxString
*arg2
= (wxString
*) NULL
;
3537 bool arg3
= (bool) False
;
3538 wxGridCellChoiceEditor
*result
;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3542 (char *) "choices",(char *) "allowOthers", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3548 arg1
= PyList_Size(obj0
);
3549 arg2
= wxString_LIST_helper(obj0
);
3550 if (arg2
== NULL
) SWIG_fail
;
3554 arg3
= (bool) SWIG_AsBool(obj1
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3566 if (arg2
) delete [] arg2
;
3571 if (arg2
) delete [] arg2
;
3577 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3579 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3581 PyObject
* obj0
= 0 ;
3583 (char *) "self", NULL
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellChoiceEditor
,
3588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 result
= (arg1
)->GetValue();
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3609 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3612 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3614 return Py_BuildValue((char *)"");
3616 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3619 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3620 wxGridCellEnumEditor
*result
;
3621 bool temp1
= False
;
3622 PyObject
* obj0
= 0 ;
3624 (char *) "choices", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3630 arg1
= wxString_in_helper(obj0
);
3631 if (arg1
== NULL
) SWIG_fail
;
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3657 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3663 (char *) "self", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEnumEditor
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 result
= (arg1
)->GetValue();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3689 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3692 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3694 return Py_BuildValue((char *)"");
3696 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
;
3698 wxGridCellAutoWrapStringEditor
*result
;
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3718 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3722 PyObject
* obj0
= 0 ;
3724 (char *) "self", NULL
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,
3729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (arg1
)->GetValue();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3750 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3753 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3755 return Py_BuildValue((char *)"");
3757 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3760 PyObject
*arg2
= (PyObject
*) 0 ;
3761 PyObject
* obj0
= 0 ;
3762 PyObject
* obj1
= 0 ;
3764 (char *) "self",(char *) "_self", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 Py_INCREF(Py_None
); resultobj
= Py_None
;
3785 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3788 wxGridCellAttr
*result
;
3789 PyObject
* obj0
= 0 ;
3791 (char *) "attrDefault", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= wxPyMake_wxGridCellAttr(result
);
3815 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3818 wxGridCellAttr
*result
;
3819 PyObject
* obj0
= 0 ;
3821 (char *) "self", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= wxPyMake_wxGridCellAttr(result
);
3843 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3846 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3847 PyObject
* obj0
= 0 ;
3848 PyObject
* obj1
= 0 ;
3850 (char *) "self",(char *) "mergefrom", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 (arg1
)->MergeWith(arg2
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 Py_INCREF(Py_None
); resultobj
= Py_None
;
3872 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "self", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 Py_INCREF(Py_None
); resultobj
= Py_None
;
3897 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3900 PyObject
* obj0
= 0 ;
3902 (char *) "self", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 Py_INCREF(Py_None
); resultobj
= Py_None
;
3922 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3925 wxColour
*arg2
= 0 ;
3927 PyObject
* obj0
= 0 ;
3928 PyObject
* obj1
= 0 ;
3930 (char *) "self",(char *) "colText", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3938 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 Py_INCREF(Py_None
); resultobj
= Py_None
;
3954 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3957 wxColour
*arg2
= 0 ;
3959 PyObject
* obj0
= 0 ;
3960 PyObject
* obj1
= 0 ;
3962 (char *) "self",(char *) "colBack", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3970 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 Py_INCREF(Py_None
); resultobj
= Py_None
;
3986 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3990 PyObject
* obj0
= 0 ;
3991 PyObject
* obj1
= 0 ;
3993 (char *) "self",(char *) "font", NULL
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
4000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4003 PyErr_SetString(PyExc_TypeError
,"null reference");
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 (arg1
)->SetFont((wxFont
const &)*arg2
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4027 PyObject
* obj2
= 0 ;
4029 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4035 arg2
= (int) SWIG_AsInt(obj1
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4037 arg3
= (int) SWIG_AsInt(obj2
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 (arg1
)->SetAlignment(arg2
,arg3
);
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 Py_INCREF(Py_None
); resultobj
= Py_None
;
4053 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4058 PyObject
* obj0
= 0 ;
4059 PyObject
* obj1
= 0 ;
4060 PyObject
* obj2
= 0 ;
4062 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4068 arg2
= (int) SWIG_AsInt(obj1
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4070 arg3
= (int) SWIG_AsInt(obj2
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 (arg1
)->SetSize(arg2
,arg3
);
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 Py_INCREF(Py_None
); resultobj
= Py_None
;
4086 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4088 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4089 bool arg2
= (bool) True
;
4090 PyObject
* obj0
= 0 ;
4091 PyObject
* obj1
= 0 ;
4093 (char *) "self",(char *) "allow", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
4097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4100 arg2
= (bool) SWIG_AsBool(obj1
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 (arg1
)->SetOverflow(arg2
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 Py_INCREF(Py_None
); resultobj
= Py_None
;
4117 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4120 bool arg2
= (bool) True
;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4124 (char *) "self",(char *) "isReadOnly", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
4128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4131 arg2
= (bool) SWIG_AsBool(obj1
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 (arg1
)->SetReadOnly(arg2
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 Py_INCREF(Py_None
); resultobj
= Py_None
;
4148 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4151 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
4152 PyObject
* obj0
= 0 ;
4153 PyObject
* obj1
= 0 ;
4155 (char *) "self",(char *) "renderer", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
4162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 (arg1
)->SetRenderer(arg2
);
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 Py_INCREF(Py_None
); resultobj
= Py_None
;
4177 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4180 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 (char *) "self",(char *) "editor", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
4191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetEditor(arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4206 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4213 (char *) "self",(char *) "kind", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 arg2
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj1
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 Py_INCREF(Py_None
); resultobj
= Py_None
;
4235 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "self", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4263 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4265 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4269 (char *) "self", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4291 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4297 (char *) "self", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4319 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4323 PyObject
* obj0
= 0 ;
4325 (char *) "self", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4347 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4353 (char *) "self", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4375 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "self", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4403 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4405 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4407 PyObject
* obj0
= 0 ;
4409 (char *) "self", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4431 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4437 (char *) "self", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4459 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4463 PyObject
* obj0
= 0 ;
4465 (char *) "self", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4479 wxColour
* resultptr
;
4480 resultptr
= new wxColour((wxColour
&) result
);
4481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4489 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4495 (char *) "self", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 wxColour
* resultptr
;
4510 resultptr
= new wxColour((wxColour
&) result
);
4511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4519 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4523 PyObject
* obj0
= 0 ;
4525 (char *) "self", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4540 resultptr
= new wxFont((wxFont
&) result
);
4541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
4549 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4551 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4552 int *arg2
= (int *) 0 ;
4553 int *arg3
= (int *) 0 ;
4556 PyObject
* obj0
= 0 ;
4558 (char *) "self", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 Py_INCREF(Py_None
); resultobj
= Py_None
;
4575 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4576 resultobj
= t_output_helper(resultobj
,o
);
4579 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4580 resultobj
= t_output_helper(resultobj
,o
);
4588 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4591 int *arg2
= (int *) 0 ;
4592 int *arg3
= (int *) 0 ;
4595 PyObject
* obj0
= 0 ;
4597 (char *) "self", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 Py_INCREF(Py_None
); resultobj
= Py_None
;
4614 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4615 resultobj
= t_output_helper(resultobj
,o
);
4618 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4619 resultobj
= t_output_helper(resultobj
,o
);
4627 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4633 (char *) "self", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4655 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4658 wxGrid
*arg2
= (wxGrid
*) 0 ;
4661 wxGridCellRenderer
*result
;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4664 PyObject
* obj2
= 0 ;
4665 PyObject
* obj3
= 0 ;
4667 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4675 arg3
= (int) SWIG_AsInt(obj2
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4677 arg4
= (int) SWIG_AsInt(obj3
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4695 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4698 wxGrid
*arg2
= (wxGrid
*) 0 ;
4701 wxGridCellEditor
*result
;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4704 PyObject
* obj2
= 0 ;
4705 PyObject
* obj3
= 0 ;
4707 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4715 arg3
= (int) SWIG_AsInt(obj2
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4717 arg4
= (int) SWIG_AsInt(obj3
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= wxPyMake_wxGridCellEditor(result
);
4735 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4739 PyObject
* obj0
= 0 ;
4741 (char *) "self", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4763 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4766 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4767 PyObject
* obj0
= 0 ;
4768 PyObject
* obj1
= 0 ;
4770 (char *) "self",(char *) "defAttr", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 (arg1
)->SetDefAttr(arg2
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 Py_INCREF(Py_None
); resultobj
= Py_None
;
4792 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4795 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4797 return Py_BuildValue((char *)"");
4799 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4801 wxGridCellAttrProvider
*result
;
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4815 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4823 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4826 PyObject
*arg2
= (PyObject
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4830 (char *) "self",(char *) "_self", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 Py_INCREF(Py_None
); resultobj
= Py_None
;
4851 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4857 wxGridCellAttr
*result
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 PyObject
* obj2
= 0 ;
4861 PyObject
* obj3
= 0 ;
4863 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4869 arg2
= (int) SWIG_AsInt(obj1
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4871 arg3
= (int) SWIG_AsInt(obj2
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4873 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4883 resultobj
= wxPyMake_wxGridCellAttr(result
);
4891 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4894 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4899 PyObject
* obj2
= 0 ;
4900 PyObject
* obj3
= 0 ;
4902 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 arg3
= (int) SWIG_AsInt(obj2
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4912 arg4
= (int) SWIG_AsInt(obj3
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4931 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4935 PyObject
* obj2
= 0 ;
4937 (char *) "self",(char *) "attr",(char *) "row", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4945 arg3
= (int) SWIG_AsInt(obj2
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 (arg1
)->SetRowAttr(arg2
,arg3
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 Py_INCREF(Py_None
); resultobj
= Py_None
;
4961 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4964 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4966 PyObject
* obj0
= 0 ;
4967 PyObject
* obj1
= 0 ;
4968 PyObject
* obj2
= 0 ;
4970 (char *) "self",(char *) "attr",(char *) "col", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 (arg1
)->SetColAttr(arg2
,arg3
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5001 PyObject
* obj2
= 0 ;
5003 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5011 arg3
= (int) SWIG_AsInt(obj2
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 (arg1
)->UpdateAttrRows(arg2
,arg3
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 Py_INCREF(Py_None
); resultobj
= Py_None
;
5027 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5034 PyObject
* obj2
= 0 ;
5036 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5044 arg3
= (int) SWIG_AsInt(obj2
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 (arg1
)->UpdateAttrCols(arg2
,arg3
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 Py_INCREF(Py_None
); resultobj
= Py_None
;
5060 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5063 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
5065 return Py_BuildValue((char *)"");
5067 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxPyGridCellAttrProvider
*result
;
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
5089 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5092 PyObject
*arg2
= (PyObject
*) 0 ;
5093 PyObject
*arg3
= (PyObject
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5096 PyObject
* obj2
= 0 ;
5098 (char *) "self",(char *) "self",(char *) "_class", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 Py_INCREF(Py_None
); resultobj
= Py_None
;
5120 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5126 wxGridCellAttr
*result
;
5127 PyObject
* obj0
= 0 ;
5128 PyObject
* obj1
= 0 ;
5129 PyObject
* obj2
= 0 ;
5130 PyObject
* obj3
= 0 ;
5132 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5138 arg2
= (int) SWIG_AsInt(obj1
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5140 arg3
= (int) SWIG_AsInt(obj2
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5142 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5152 resultobj
= wxPyMake_wxGridCellAttr(result
);
5160 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5163 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5166 PyObject
* obj0
= 0 ;
5167 PyObject
* obj1
= 0 ;
5168 PyObject
* obj2
= 0 ;
5169 PyObject
* obj3
= 0 ;
5171 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5179 arg3
= (int) SWIG_AsInt(obj2
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5181 arg4
= (int) SWIG_AsInt(obj3
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 Py_INCREF(Py_None
); resultobj
= Py_None
;
5197 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5200 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 PyObject
* obj2
= 0 ;
5206 (char *) "self",(char *) "attr",(char *) "row", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5214 arg3
= (int) SWIG_AsInt(obj2
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 Py_INCREF(Py_None
); resultobj
= Py_None
;
5230 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5233 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5237 PyObject
* obj2
= 0 ;
5239 (char *) "self",(char *) "attr",(char *) "col", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 (arg1
)->base_SetColAttr(arg2
,arg3
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 Py_INCREF(Py_None
); resultobj
= Py_None
;
5263 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5266 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5268 return Py_BuildValue((char *)"");
5270 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5273 PyObject
*arg2
= (PyObject
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5277 (char *) "self",(char *) "_self", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 wxGridTableBase__setOORInfo(arg1
,arg2
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5301 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5305 (char *) "self",(char *) "attrProvider", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
,
5312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 (arg1
)->SetAttrProvider(arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 Py_INCREF(Py_None
); resultobj
= Py_None
;
5327 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5330 wxGridCellAttrProvider
*result
;
5331 PyObject
* obj0
= 0 ;
5333 (char *) "self", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
5355 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
*resultobj
;
5357 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5358 wxGrid
*arg2
= (wxGrid
*) 0 ;
5359 PyObject
* obj0
= 0 ;
5360 PyObject
* obj1
= 0 ;
5362 (char *) "self",(char *) "grid", NULL
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
5369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 (arg1
)->SetView(arg2
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5390 (char *) "self", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= wxPyMake_wxObject(result
);
5412 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5414 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5418 (char *) "self", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 result
= (int)(arg1
)->GetNumberRows();
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= SWIG_FromInt((int)result
);
5438 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5444 (char *) "self", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= (int)(arg1
)->GetNumberCols();
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= SWIG_FromInt((int)result
);
5464 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5471 PyObject
* obj1
= 0 ;
5472 PyObject
* obj2
= 0 ;
5474 (char *) "self",(char *) "row",(char *) "col", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5480 arg2
= (int) SWIG_AsInt(obj1
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5482 arg3
= (int) SWIG_AsInt(obj2
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5500 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5508 PyObject
* obj2
= 0 ;
5510 (char *) "self",(char *) "row",(char *) "col", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5516 arg2
= (int) SWIG_AsInt(obj1
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5518 arg3
= (int) SWIG_AsInt(obj2
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= (arg1
)->GetValue(arg2
,arg3
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5540 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5545 wxString
*arg4
= 0 ;
5546 bool temp4
= False
;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5549 PyObject
* obj2
= 0 ;
5550 PyObject
* obj3
= 0 ;
5552 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 arg2
= (int) SWIG_AsInt(obj1
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5560 arg3
= (int) SWIG_AsInt(obj2
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 arg4
= wxString_in_helper(obj3
);
5564 if (arg4
== NULL
) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5589 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5596 PyObject
* obj1
= 0 ;
5597 PyObject
* obj2
= 0 ;
5599 (char *) "self",(char *) "row",(char *) "col", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 arg2
= (int) SWIG_AsInt(obj1
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5607 arg3
= (int) SWIG_AsInt(obj2
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5629 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5634 wxString
*arg4
= 0 ;
5636 bool temp4
= False
;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5639 PyObject
* obj2
= 0 ;
5640 PyObject
* obj3
= 0 ;
5642 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 arg2
= (int) SWIG_AsInt(obj1
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5650 arg3
= (int) SWIG_AsInt(obj2
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 arg4
= wxString_in_helper(obj3
);
5654 if (arg4
== NULL
) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5681 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5686 wxString
*arg4
= 0 ;
5688 bool temp4
= False
;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 PyObject
* obj2
= 0 ;
5692 PyObject
* obj3
= 0 ;
5694 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5700 arg2
= (int) SWIG_AsInt(obj1
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5702 arg3
= (int) SWIG_AsInt(obj2
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 arg4
= wxString_in_helper(obj3
);
5706 if (arg4
== NULL
) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5733 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5741 PyObject
* obj2
= 0 ;
5743 (char *) "self",(char *) "row",(char *) "col", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 arg2
= (int) SWIG_AsInt(obj1
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5751 arg3
= (int) SWIG_AsInt(obj2
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= SWIG_FromLong((long)result
);
5767 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5769 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 PyObject
* obj2
= 0 ;
5777 (char *) "self",(char *) "row",(char *) "col", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 arg2
= (int) SWIG_AsInt(obj1
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5785 arg3
= (int) SWIG_AsInt(obj2
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= SWIG_FromDouble((double)result
);
5801 static PyObject
*_wrap_GridTableBase_GetValueAsBool(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_GetValueAsBool",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
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5837 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 PyObject
* obj2
= 0 ;
5846 PyObject
* obj3
= 0 ;
5848 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 arg2
= (int) SWIG_AsInt(obj1
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5856 arg3
= (int) SWIG_AsInt(obj2
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5858 arg4
= (long) SWIG_AsLong(obj3
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 Py_INCREF(Py_None
); resultobj
= Py_None
;
5874 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5882 PyObject
* obj2
= 0 ;
5883 PyObject
* obj3
= 0 ;
5885 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5891 arg2
= (int) SWIG_AsInt(obj1
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5893 arg3
= (int) SWIG_AsInt(obj2
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5895 arg4
= (double) SWIG_AsDouble(obj3
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 Py_INCREF(Py_None
); resultobj
= Py_None
;
5911 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
;
5913 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5919 PyObject
* obj2
= 0 ;
5920 PyObject
* obj3
= 0 ;
5922 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5928 arg2
= (int) SWIG_AsInt(obj1
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5930 arg3
= (int) SWIG_AsInt(obj2
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5932 arg4
= (bool) SWIG_AsBool(obj3
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 Py_INCREF(Py_None
); resultobj
= Py_None
;
5948 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5953 (char *) "self", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 Py_INCREF(Py_None
); resultobj
= Py_None
;
5973 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5976 size_t arg2
= (size_t) 0 ;
5977 size_t arg3
= (size_t) 1 ;
5979 PyObject
* obj0
= 0 ;
5980 PyObject
* obj1
= 0 ;
5981 PyObject
* obj2
= 0 ;
5983 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5994 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6013 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6016 size_t arg2
= (size_t) 1 ;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6021 (char *) "self",(char *) "numRows", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6028 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (bool)(arg1
)->AppendRows(arg2
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6047 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6050 size_t arg2
= (size_t) 0 ;
6051 size_t arg3
= (size_t) 1 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6055 PyObject
* obj2
= 0 ;
6057 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6064 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6068 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6087 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6090 size_t arg2
= (size_t) 0 ;
6091 size_t arg3
= (size_t) 1 ;
6093 PyObject
* obj0
= 0 ;
6094 PyObject
* obj1
= 0 ;
6095 PyObject
* obj2
= 0 ;
6097 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6127 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6130 size_t arg2
= (size_t) 1 ;
6132 PyObject
* obj0
= 0 ;
6133 PyObject
* obj1
= 0 ;
6135 (char *) "self",(char *) "numCols", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 result
= (bool)(arg1
)->AppendCols(arg2
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6161 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6164 size_t arg2
= (size_t) 0 ;
6165 size_t arg3
= (size_t) 1 ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 PyObject
* obj2
= 0 ;
6171 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6201 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6207 PyObject
* obj1
= 0 ;
6209 (char *) "self",(char *) "row", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6215 arg2
= (int) SWIG_AsInt(obj1
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (arg1
)->GetRowLabelValue(arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6237 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
;
6239 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6243 PyObject
* obj1
= 0 ;
6245 (char *) "self",(char *) "col", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6251 arg2
= (int) SWIG_AsInt(obj1
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (arg1
)->GetColLabelValue(arg2
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6273 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6277 wxString
*arg3
= 0 ;
6278 bool temp3
= False
;
6279 PyObject
* obj0
= 0 ;
6280 PyObject
* obj1
= 0 ;
6281 PyObject
* obj2
= 0 ;
6283 (char *) "self",(char *) "row",(char *) "value", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6289 arg2
= (int) SWIG_AsInt(obj1
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 arg3
= wxString_in_helper(obj2
);
6293 if (arg3
== NULL
) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 Py_INCREF(Py_None
); resultobj
= Py_None
;
6318 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6322 wxString
*arg3
= 0 ;
6323 bool temp3
= False
;
6324 PyObject
* obj0
= 0 ;
6325 PyObject
* obj1
= 0 ;
6326 PyObject
* obj2
= 0 ;
6328 (char *) "self",(char *) "col",(char *) "value", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 arg2
= (int) SWIG_AsInt(obj1
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 arg3
= wxString_in_helper(obj2
);
6338 if (arg3
== NULL
) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (bool)(arg1
)->CanHaveAttributes();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6391 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6397 wxGridCellAttr
*result
;
6398 PyObject
* obj0
= 0 ;
6399 PyObject
* obj1
= 0 ;
6400 PyObject
* obj2
= 0 ;
6401 PyObject
* obj3
= 0 ;
6403 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6409 arg2
= (int) SWIG_AsInt(obj1
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6411 arg3
= (int) SWIG_AsInt(obj2
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6413 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= wxPyMake_wxGridCellAttr(result
);
6431 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6434 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6439 PyObject
* obj2
= 0 ;
6440 PyObject
* obj3
= 0 ;
6442 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 arg3
= (int) SWIG_AsInt(obj2
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6452 arg4
= (int) SWIG_AsInt(obj3
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 Py_INCREF(Py_None
); resultobj
= Py_None
;
6468 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6471 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6475 PyObject
* obj2
= 0 ;
6477 (char *) "self",(char *) "attr",(char *) "row", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 arg3
= (int) SWIG_AsInt(obj2
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 (arg1
)->SetRowAttr(arg2
,arg3
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 Py_INCREF(Py_None
); resultobj
= Py_None
;
6501 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6504 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6508 PyObject
* obj2
= 0 ;
6510 (char *) "self",(char *) "attr",(char *) "col", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 (arg1
)->SetColAttr(arg2
,arg3
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 Py_INCREF(Py_None
); resultobj
= Py_None
;
6534 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6537 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6539 return Py_BuildValue((char *)"");
6541 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxPyGridTableBase
*result
;
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
6563 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6566 PyObject
*arg2
= (PyObject
*) 0 ;
6567 PyObject
*arg3
= (PyObject
*) 0 ;
6568 PyObject
* obj0
= 0 ;
6569 PyObject
* obj1
= 0 ;
6570 PyObject
* obj2
= 0 ;
6572 (char *) "self",(char *) "self",(char *) "_class", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6594 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6599 (char *) "self", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 wxPyGridTableBase_Destroy(arg1
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 Py_INCREF(Py_None
); resultobj
= Py_None
;
6619 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6625 PyObject
* obj0
= 0 ;
6626 PyObject
* obj1
= 0 ;
6627 PyObject
* obj2
= 0 ;
6629 (char *) "self",(char *) "row",(char *) "col", NULL
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6635 arg2
= (int) SWIG_AsInt(obj1
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6637 arg3
= (int) SWIG_AsInt(obj2
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6659 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6664 wxString
*arg4
= 0 ;
6666 bool temp4
= False
;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6669 PyObject
* obj2
= 0 ;
6670 PyObject
* obj3
= 0 ;
6672 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 arg2
= (int) SWIG_AsInt(obj1
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6680 arg3
= (int) SWIG_AsInt(obj2
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6683 arg4
= wxString_in_helper(obj3
);
6684 if (arg4
== NULL
) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6711 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6716 wxString
*arg4
= 0 ;
6718 bool temp4
= False
;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6721 PyObject
* obj2
= 0 ;
6722 PyObject
* obj3
= 0 ;
6724 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6730 arg2
= (int) SWIG_AsInt(obj1
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6732 arg3
= (int) SWIG_AsInt(obj2
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 arg4
= wxString_in_helper(obj3
);
6736 if (arg4
== NULL
) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6763 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6768 (char *) "self", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 (arg1
)->base_Clear();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6791 size_t arg2
= (size_t) 0 ;
6792 size_t arg3
= (size_t) 1 ;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6796 PyObject
* obj2
= 0 ;
6798 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6809 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6828 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6831 size_t arg2
= (size_t) 1 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "numRows", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6843 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6862 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6865 size_t arg2
= (size_t) 0 ;
6866 size_t arg3
= (size_t) 1 ;
6868 PyObject
* obj0
= 0 ;
6869 PyObject
* obj1
= 0 ;
6870 PyObject
* obj2
= 0 ;
6872 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6879 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6883 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6902 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6905 size_t arg2
= (size_t) 0 ;
6906 size_t arg3
= (size_t) 1 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6910 PyObject
* obj2
= 0 ;
6912 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6919 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6923 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6942 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6945 size_t arg2
= (size_t) 1 ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6950 (char *) "self",(char *) "numCols", NULL
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6976 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6979 size_t arg2
= (size_t) 0 ;
6980 size_t arg3
= (size_t) 1 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6984 PyObject
* obj2
= 0 ;
6986 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6993 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6997 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7016 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7024 (char *) "self",(char *) "row", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 arg2
= (int) SWIG_AsInt(obj1
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (arg1
)->base_GetRowLabelValue(arg2
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7052 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7058 PyObject
* obj1
= 0 ;
7060 (char *) "self",(char *) "col", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 arg2
= (int) SWIG_AsInt(obj1
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (arg1
)->base_GetColLabelValue(arg2
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7088 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7092 wxString
*arg3
= 0 ;
7093 bool temp3
= False
;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7096 PyObject
* obj2
= 0 ;
7098 (char *) "self",(char *) "row",(char *) "value", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7104 arg2
= (int) SWIG_AsInt(obj1
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 arg3
= wxString_in_helper(obj2
);
7108 if (arg3
== NULL
) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7118 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7137 wxString
*arg3
= 0 ;
7138 bool temp3
= False
;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7141 PyObject
* obj2
= 0 ;
7143 (char *) "self",(char *) "col",(char *) "value", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7149 arg2
= (int) SWIG_AsInt(obj1
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 arg3
= wxString_in_helper(obj2
);
7153 if (arg3
== NULL
) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 Py_INCREF(Py_None
); resultobj
= Py_None
;
7178 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7182 PyObject
* obj0
= 0 ;
7184 (char *) "self", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (bool)(arg1
)->base_CanHaveAttributes();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7212 wxGridCellAttr
*result
;
7213 PyObject
* obj0
= 0 ;
7214 PyObject
* obj1
= 0 ;
7215 PyObject
* obj2
= 0 ;
7216 PyObject
* obj3
= 0 ;
7218 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7224 arg2
= (int) SWIG_AsInt(obj1
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7226 arg3
= (int) SWIG_AsInt(obj2
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7228 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= wxPyMake_wxGridCellAttr(result
);
7246 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7249 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7254 PyObject
* obj2
= 0 ;
7255 PyObject
* obj3
= 0 ;
7257 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7265 arg3
= (int) SWIG_AsInt(obj2
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7267 arg4
= (int) SWIG_AsInt(obj3
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 Py_INCREF(Py_None
); resultobj
= Py_None
;
7283 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7286 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7290 PyObject
* obj2
= 0 ;
7292 (char *) "self",(char *) "attr",(char *) "row", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7300 arg3
= (int) SWIG_AsInt(obj2
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7319 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7323 PyObject
* obj2
= 0 ;
7325 (char *) "self",(char *) "attr",(char *) "col", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 (arg1
)->base_SetColAttr(arg2
,arg3
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7349 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
7351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7352 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7354 return Py_BuildValue((char *)"");
7356 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 int arg1
= (int) 0 ;
7359 int arg2
= (int) 0 ;
7360 wxGridStringTable
*result
;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7364 (char *) "numRows",(char *) "numCols", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7369 arg1
= (int) SWIG_AsInt(obj0
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7373 arg2
= (int) SWIG_AsInt(obj1
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
7390 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
7392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7393 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7395 return Py_BuildValue((char *)"");
7397 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7401 int arg3
= (int) -1 ;
7402 int arg4
= (int) -1 ;
7403 wxGridTableMessage
*result
;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 PyObject
* obj2
= 0 ;
7407 PyObject
* obj3
= 0 ;
7409 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 arg2
= (int) SWIG_AsInt(obj1
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 arg3
= (int) SWIG_AsInt(obj2
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7422 arg4
= (int) SWIG_AsInt(obj3
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
7439 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7442 PyObject
* obj0
= 0 ;
7444 (char *) "self", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7467 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7468 PyObject
* obj0
= 0 ;
7469 PyObject
* obj1
= 0 ;
7471 (char *) "self",(char *) "table", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
7478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 (arg1
)->SetTableObject(arg2
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 Py_INCREF(Py_None
); resultobj
= Py_None
;
7493 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7496 wxGridTableBase
*result
;
7497 PyObject
* obj0
= 0 ;
7499 (char *) "self", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= wxPyMake_wxGridTableBase(result
);
7521 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "id", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7534 arg2
= (int) SWIG_AsInt(obj1
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 (arg1
)->SetId(arg2
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 Py_INCREF(Py_None
); resultobj
= Py_None
;
7550 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7556 (char *) "self", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (int)(arg1
)->GetId();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_FromInt((int)result
);
7576 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7583 (char *) "self",(char *) "comInt1", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7589 arg2
= (int) SWIG_AsInt(obj1
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 (arg1
)->SetCommandInt(arg2
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 Py_INCREF(Py_None
); resultobj
= Py_None
;
7605 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7609 PyObject
* obj0
= 0 ;
7611 (char *) "self", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (int)(arg1
)->GetCommandInt();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_FromInt((int)result
);
7631 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7636 PyObject
* obj1
= 0 ;
7638 (char *) "self",(char *) "comInt2", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7644 arg2
= (int) SWIG_AsInt(obj1
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 (arg1
)->SetCommandInt2(arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 Py_INCREF(Py_None
); resultobj
= Py_None
;
7660 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7666 (char *) "self", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (int)(arg1
)->GetCommandInt2();
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_FromInt((int)result
);
7686 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
7688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7689 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7691 return Py_BuildValue((char *)"");
7693 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 int arg1
= (int) -1 ;
7696 int arg2
= (int) -1 ;
7697 wxGridCellCoords
*result
;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7701 (char *) "r",(char *) "c", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7706 arg1
= (int) SWIG_AsInt(obj0
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 arg2
= (int) SWIG_AsInt(obj1
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
7727 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7732 (char *) "self", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 Py_INCREF(Py_None
); resultobj
= Py_None
;
7752 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "self", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_FromInt((int)result
);
7778 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7783 PyObject
* obj1
= 0 ;
7785 (char *) "self",(char *) "n", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7791 arg2
= (int) SWIG_AsInt(obj1
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 (arg1
)->SetRow(arg2
);
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 Py_INCREF(Py_None
); resultobj
= Py_None
;
7807 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7813 (char *) "self", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_FromInt((int)result
);
7833 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7837 PyObject
* obj0
= 0 ;
7838 PyObject
* obj1
= 0 ;
7840 (char *) "self",(char *) "n", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
7844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7846 arg2
= (int) SWIG_AsInt(obj1
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 (arg1
)->SetCol(arg2
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 Py_INCREF(Py_None
); resultobj
= Py_None
;
7862 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7867 PyObject
* obj0
= 0 ;
7868 PyObject
* obj1
= 0 ;
7869 PyObject
* obj2
= 0 ;
7871 (char *) "self",(char *) "row",(char *) "col", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7877 arg2
= (int) SWIG_AsInt(obj1
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7879 arg3
= (int) SWIG_AsInt(obj2
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 (arg1
)->Set(arg2
,arg3
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7898 wxGridCellCoords
*arg2
= 0 ;
7900 wxGridCellCoords temp2
;
7901 PyObject
* obj0
= 0 ;
7902 PyObject
* obj1
= 0 ;
7904 (char *) "self",(char *) "other", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7912 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7930 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7933 wxGridCellCoords
*arg2
= 0 ;
7935 wxGridCellCoords temp2
;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7939 (char *) "self",(char *) "other", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7965 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7991 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7994 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7996 return Py_BuildValue((char *)"");
7998 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxWindow
*arg1
= (wxWindow
*) 0 ;
8002 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8003 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8004 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8005 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8006 long arg5
= (long) wxWANTS_CHARS
;
8007 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8008 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8012 bool temp6
= False
;
8013 PyObject
* obj0
= 0 ;
8014 PyObject
* obj1
= 0 ;
8015 PyObject
* obj2
= 0 ;
8016 PyObject
* obj3
= 0 ;
8017 PyObject
* obj4
= 0 ;
8018 PyObject
* obj5
= 0 ;
8020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8026 arg2
= (int) SWIG_AsInt(obj1
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8041 arg5
= (long) SWIG_AsLong(obj4
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8046 arg6
= wxString_in_helper(obj5
);
8047 if (arg6
== NULL
) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8059 resultobj
= wxPyMake_wxObject(result
);
8075 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxGrid
*arg1
= (wxGrid
*) 0 ;
8080 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 PyObject
* obj2
= 0 ;
8085 PyObject
* obj3
= 0 ;
8087 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8093 arg2
= (int) SWIG_AsInt(obj1
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8095 arg3
= (int) SWIG_AsInt(obj2
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8117 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxGrid
*arg1
= (wxGrid
*) 0 ;
8120 WXGRIDSELECTIONMODES arg2
;
8121 PyObject
* obj0
= 0 ;
8122 PyObject
* obj1
= 0 ;
8124 (char *) "self",(char *) "selmode", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8130 arg2
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj1
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 (arg1
)->SetSelectionMode(arg2
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 Py_INCREF(Py_None
); resultobj
= Py_None
;
8146 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxGrid
*arg1
= (wxGrid
*) 0 ;
8149 WXGRIDSELECTIONMODES result
;
8150 PyObject
* obj0
= 0 ;
8152 (char *) "self", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_FromInt((int)result
);
8172 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxGrid
*arg1
= (wxGrid
*) 0 ;
8176 PyObject
* obj0
= 0 ;
8178 (char *) "self", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 result
= (int)(arg1
)->GetNumberRows();
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= SWIG_FromInt((int)result
);
8198 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxGrid
*arg1
= (wxGrid
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8204 (char *) "self", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (int)(arg1
)->GetNumberCols();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_FromInt((int)result
);
8224 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxGrid
*arg1
= (wxGrid
*) 0 ;
8227 wxGridTableMessage
*arg2
= 0 ;
8229 PyObject
* obj0
= 0 ;
8230 PyObject
* obj1
= 0 ;
8232 (char *) "self","arg2", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
,
8239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8242 PyErr_SetString(PyExc_TypeError
,"null reference");
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8261 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxGrid
*arg1
= (wxGrid
*) 0 ;
8264 wxGridTableBase
*result
;
8265 PyObject
* obj0
= 0 ;
8267 (char *) "self", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= wxPyMake_wxGridTableBase(result
);
8289 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxGrid
*arg1
= (wxGrid
*) 0 ;
8292 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8293 bool arg3
= (bool) False
;
8294 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8298 PyObject
* obj2
= 0 ;
8299 PyObject
* obj3
= 0 ;
8301 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
8308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8310 arg3
= (bool) SWIG_AsBool(obj2
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8314 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8333 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxGrid
*arg1
= (wxGrid
*) 0 ;
8336 PyObject
* obj0
= 0 ;
8338 (char *) "self", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 (arg1
)->ClearGrid();
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 Py_INCREF(Py_None
); resultobj
= Py_None
;
8358 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxGrid
*arg1
= (wxGrid
*) 0 ;
8361 int arg2
= (int) 0 ;
8362 int arg3
= (int) 1 ;
8363 bool arg4
= (bool) True
;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8367 PyObject
* obj2
= 0 ;
8368 PyObject
* obj3
= 0 ;
8370 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8377 arg2
= (int) SWIG_AsInt(obj1
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8381 arg3
= (int) SWIG_AsInt(obj2
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8385 arg4
= (bool) SWIG_AsBool(obj3
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8404 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxGrid
*arg1
= (wxGrid
*) 0 ;
8407 int arg2
= (int) 1 ;
8408 bool arg3
= (bool) True
;
8410 PyObject
* obj0
= 0 ;
8411 PyObject
* obj1
= 0 ;
8412 PyObject
* obj2
= 0 ;
8414 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8421 arg2
= (int) SWIG_AsInt(obj1
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8425 arg3
= (bool) SWIG_AsBool(obj2
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8444 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
;
8446 wxGrid
*arg1
= (wxGrid
*) 0 ;
8447 int arg2
= (int) 0 ;
8448 int arg3
= (int) 1 ;
8449 bool arg4
= (bool) True
;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8453 PyObject
* obj2
= 0 ;
8454 PyObject
* obj3
= 0 ;
8456 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8463 arg2
= (int) SWIG_AsInt(obj1
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8467 arg3
= (int) SWIG_AsInt(obj2
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8471 arg4
= (bool) SWIG_AsBool(obj3
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8490 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxGrid
*arg1
= (wxGrid
*) 0 ;
8493 int arg2
= (int) 0 ;
8494 int arg3
= (int) 1 ;
8495 bool arg4
= (bool) True
;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8499 PyObject
* obj2
= 0 ;
8500 PyObject
* obj3
= 0 ;
8502 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8509 arg2
= (int) SWIG_AsInt(obj1
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8513 arg3
= (int) SWIG_AsInt(obj2
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 arg4
= (bool) SWIG_AsBool(obj3
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8536 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxGrid
*arg1
= (wxGrid
*) 0 ;
8539 int arg2
= (int) 1 ;
8540 bool arg3
= (bool) True
;
8542 PyObject
* obj0
= 0 ;
8543 PyObject
* obj1
= 0 ;
8544 PyObject
* obj2
= 0 ;
8546 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8553 arg2
= (int) SWIG_AsInt(obj1
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8557 arg3
= (bool) SWIG_AsBool(obj2
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8576 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxGrid
*arg1
= (wxGrid
*) 0 ;
8579 int arg2
= (int) 0 ;
8580 int arg3
= (int) 1 ;
8581 bool arg4
= (bool) True
;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 PyObject
* obj2
= 0 ;
8586 PyObject
* obj3
= 0 ;
8588 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 arg2
= (int) SWIG_AsInt(obj1
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8599 arg3
= (int) SWIG_AsInt(obj2
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8603 arg4
= (bool) SWIG_AsBool(obj3
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8622 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxGrid
*arg1
= (wxGrid
*) 0 ;
8626 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 PyObject
* obj2
= 0 ;
8631 (char *) "self",(char *) "dc",(char *) "attr", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8641 PyErr_SetString(PyExc_TypeError
,"null reference");
8644 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8660 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxGrid
*arg1
= (wxGrid
*) 0 ;
8664 wxString
*arg3
= 0 ;
8666 int arg5
= (int) wxLEFT
;
8667 int arg6
= (int) wxTOP
;
8668 int arg7
= (int) wxHORIZONTAL
;
8669 bool temp3
= False
;
8671 PyObject
* obj0
= 0 ;
8672 PyObject
* obj1
= 0 ;
8673 PyObject
* obj2
= 0 ;
8674 PyObject
* obj3
= 0 ;
8675 PyObject
* obj4
= 0 ;
8676 PyObject
* obj5
= 0 ;
8677 PyObject
* obj6
= 0 ;
8679 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8689 PyErr_SetString(PyExc_TypeError
,"null reference");
8693 arg3
= wxString_in_helper(obj2
);
8694 if (arg3
== NULL
) SWIG_fail
;
8699 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8702 arg5
= (int) SWIG_AsInt(obj4
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8706 arg6
= (int) SWIG_AsInt(obj5
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8710 arg7
= (int) SWIG_AsInt(obj6
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 Py_INCREF(Py_None
); resultobj
= Py_None
;
8735 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxGrid
*arg1
= (wxGrid
*) 0 ;
8739 wxArrayString
*arg3
= 0 ;
8740 long *arg4
= (long *) 0 ;
8741 long *arg5
= (long *) 0 ;
8742 bool temp3
= False
;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8749 (char *) "self",(char *) "dc",(char *) "lines", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8761 PyErr_SetString(PyExc_TypeError
,"null reference");
8765 if (! PySequence_Check(obj2
)) {
8766 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8769 arg3
= new wxArrayString
;
8771 int i
, len
=PySequence_Length(obj2
);
8772 for (i
=0; i
<len
; i
++) {
8773 PyObject
* item
= PySequence_GetItem(obj2
, i
);
8775 PyObject
* str
= PyObject_Unicode(item
);
8777 PyObject
* str
= PyObject_Str(item
);
8779 arg3
->Add(Py2wxString(str
));
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8793 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8794 resultobj
= t_output_helper(resultobj
,o
);
8797 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8798 resultobj
= t_output_helper(resultobj
,o
);
8801 if (temp3
) delete arg3
;
8806 if (temp3
) delete arg3
;
8812 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxGrid
*arg1
= (wxGrid
*) 0 ;
8815 PyObject
* obj0
= 0 ;
8817 (char *) "self", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 (arg1
)->BeginBatch();
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxGrid
*arg1
= (wxGrid
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8842 (char *) "self", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxGrid
*arg1
= (wxGrid
*) 0 ;
8866 PyObject
* obj0
= 0 ;
8868 (char *) "self", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (int)(arg1
)->GetBatchCount();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_FromInt((int)result
);
8888 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxGrid
*arg1
= (wxGrid
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8893 (char *) "self", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 (arg1
)->ForceRefresh();
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8913 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxGrid
*arg1
= (wxGrid
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (bool)(arg1
)->IsEditable();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8941 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxGrid
*arg1
= (wxGrid
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8948 (char *) "self",(char *) "edit", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
8952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 arg2
= (bool) SWIG_AsBool(obj1
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 (arg1
)->EnableEditing(arg2
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxGrid
*arg1
= (wxGrid
*) 0 ;
8973 bool arg2
= (bool) True
;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8977 (char *) "self",(char *) "enable", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 arg2
= (bool) SWIG_AsBool(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 (arg1
)->EnableCellEditControl(arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxGrid
*arg1
= (wxGrid
*) 0 ;
9004 PyObject
* obj0
= 0 ;
9006 (char *) "self", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 (arg1
)->DisableCellEditControl();
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 Py_INCREF(Py_None
); resultobj
= Py_None
;
9026 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxGrid
*arg1
= (wxGrid
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9032 (char *) "self", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9054 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxGrid
*arg1
= (wxGrid
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9060 (char *) "self", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9082 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxGrid
*arg1
= (wxGrid
*) 0 ;
9086 PyObject
* obj0
= 0 ;
9088 (char *) "self", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9110 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxGrid
*arg1
= (wxGrid
*) 0 ;
9114 PyObject
* obj0
= 0 ;
9116 (char *) "self", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
9120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9138 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxGrid
*arg1
= (wxGrid
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 (arg1
)->ShowCellEditControl();
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 Py_INCREF(Py_None
); resultobj
= Py_None
;
9163 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxGrid
*arg1
= (wxGrid
*) 0 ;
9166 PyObject
* obj0
= 0 ;
9168 (char *) "self", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 (arg1
)->HideCellEditControl();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 Py_INCREF(Py_None
); resultobj
= Py_None
;
9188 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxGrid
*arg1
= (wxGrid
*) 0 ;
9191 PyObject
* obj0
= 0 ;
9193 (char *) "self", NULL
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 (arg1
)->SaveEditControlValue();
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 Py_INCREF(Py_None
); resultobj
= Py_None
;
9213 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxGrid
*arg1
= (wxGrid
*) 0 ;
9218 wxGridCellCoords result
;
9219 PyObject
* obj0
= 0 ;
9220 PyObject
* obj1
= 0 ;
9221 PyObject
* obj2
= 0 ;
9223 (char *) "self",(char *) "x",(char *) "y", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9229 arg2
= (int) SWIG_AsInt(obj1
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9231 arg3
= (int) SWIG_AsInt(obj2
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9241 wxGridCellCoords
* resultptr
;
9242 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
9251 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxGrid
*arg1
= (wxGrid
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9257 PyObject
* obj1
= 0 ;
9259 (char *) "self",(char *) "y", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 arg2
= (int) SWIG_AsInt(obj1
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (int)(arg1
)->YToRow(arg2
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_FromInt((int)result
);
9281 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxGrid
*arg1
= (wxGrid
*) 0 ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9289 (char *) "self",(char *) "x", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9295 arg2
= (int) SWIG_AsInt(obj1
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (int)(arg1
)->XToCol(arg2
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_FromInt((int)result
);
9311 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxGrid
*arg1
= (wxGrid
*) 0 ;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9319 (char *) "self",(char *) "y", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 arg2
= (int) SWIG_AsInt(obj1
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= SWIG_FromInt((int)result
);
9341 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxGrid
*arg1
= (wxGrid
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9349 (char *) "self",(char *) "x", NULL
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9355 arg2
= (int) SWIG_AsInt(obj1
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_FromInt((int)result
);
9371 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxGrid
*arg1
= (wxGrid
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9379 PyObject
* obj2
= 0 ;
9381 (char *) "self",(char *) "row",(char *) "col", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 arg2
= (int) SWIG_AsInt(obj1
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9389 arg3
= (int) SWIG_AsInt(obj2
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (arg1
)->CellToRect(arg2
,arg3
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9400 resultptr
= new wxRect((wxRect
&) result
);
9401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9409 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxGrid
*arg1
= (wxGrid
*) 0 ;
9413 PyObject
* obj0
= 0 ;
9415 (char *) "self", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 result
= (int)(arg1
)->GetGridCursorRow();
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= SWIG_FromInt((int)result
);
9435 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxGrid
*arg1
= (wxGrid
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9441 (char *) "self", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (int)(arg1
)->GetGridCursorCol();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_FromInt((int)result
);
9461 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxGrid
*arg1
= (wxGrid
*) 0 ;
9466 bool arg4
= (bool) True
;
9468 PyObject
* obj0
= 0 ;
9469 PyObject
* obj1
= 0 ;
9470 PyObject
* obj2
= 0 ;
9471 PyObject
* obj3
= 0 ;
9473 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9479 arg2
= (int) SWIG_AsInt(obj1
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9481 arg3
= (int) SWIG_AsInt(obj2
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 arg4
= (bool) SWIG_AsBool(obj3
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9503 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxGrid
*arg1
= (wxGrid
*) 0 ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 PyObject
* obj2
= 0 ;
9512 (char *) "self",(char *) "row",(char *) "col", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9518 arg2
= (int) SWIG_AsInt(obj1
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9520 arg3
= (int) SWIG_AsInt(obj2
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 (arg1
)->MakeCellVisible(arg2
,arg3
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 Py_INCREF(Py_None
); resultobj
= Py_None
;
9536 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxGrid
*arg1
= (wxGrid
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 PyObject
* obj2
= 0 ;
9545 (char *) "self",(char *) "row",(char *) "col", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 arg2
= (int) SWIG_AsInt(obj1
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9553 arg3
= (int) SWIG_AsInt(obj2
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 (arg1
)->SetGridCursor(arg2
,arg3
);
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 Py_INCREF(Py_None
); resultobj
= Py_None
;
9569 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxGrid
*arg1
= (wxGrid
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9575 PyObject
* obj1
= 0 ;
9577 (char *) "self",(char *) "expandSelection", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9583 arg2
= (bool) SWIG_AsBool(obj1
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9601 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxGrid
*arg1
= (wxGrid
*) 0 ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9609 (char *) "self",(char *) "expandSelection", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9615 arg2
= (bool) SWIG_AsBool(obj1
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9633 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxGrid
*arg1
= (wxGrid
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9641 (char *) "self",(char *) "expandSelection", NULL
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 arg2
= (bool) SWIG_AsBool(obj1
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9665 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxGrid
*arg1
= (wxGrid
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9671 PyObject
* obj1
= 0 ;
9673 (char *) "self",(char *) "expandSelection", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9679 arg2
= (bool) SWIG_AsBool(obj1
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9697 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxGrid
*arg1
= (wxGrid
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "self", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (bool)(arg1
)->MovePageDown();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9725 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
;
9727 wxGrid
*arg1
= (wxGrid
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9731 (char *) "self", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 result
= (bool)(arg1
)->MovePageUp();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9753 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxGrid
*arg1
= (wxGrid
*) 0 ;
9758 PyObject
* obj0
= 0 ;
9759 PyObject
* obj1
= 0 ;
9761 (char *) "self",(char *) "expandSelection", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9767 arg2
= (bool) SWIG_AsBool(obj1
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9785 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxGrid
*arg1
= (wxGrid
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9793 (char *) "self",(char *) "expandSelection", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9799 arg2
= (bool) SWIG_AsBool(obj1
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9817 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxGrid
*arg1
= (wxGrid
*) 0 ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9825 (char *) "self",(char *) "expandSelection", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9831 arg2
= (bool) SWIG_AsBool(obj1
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9849 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxGrid
*arg1
= (wxGrid
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9857 (char *) "self",(char *) "expandSelection", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9863 arg2
= (bool) SWIG_AsBool(obj1
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9881 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxGrid
*arg1
= (wxGrid
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9887 (char *) "self", NULL
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
9891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 result
= (int)(arg1
)->GetDefaultRowLabelSize();
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_FromInt((int)result
);
9907 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
;
9909 wxGrid
*arg1
= (wxGrid
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9913 (char *) "self", NULL
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
9917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (int)(arg1
)->GetRowLabelSize();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_FromInt((int)result
);
9933 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxGrid
*arg1
= (wxGrid
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9939 (char *) "self", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (int)(arg1
)->GetDefaultColLabelSize();
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_FromInt((int)result
);
9959 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxGrid
*arg1
= (wxGrid
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (int)(arg1
)->GetColLabelSize();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= SWIG_FromInt((int)result
);
9985 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxGrid
*arg1
= (wxGrid
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (arg1
)->GetLabelBackgroundColour();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10005 wxColour
* resultptr
;
10006 resultptr
= new wxColour((wxColour
&) result
);
10007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10015 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxGrid
*arg1
= (wxGrid
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (arg1
)->GetLabelTextColour();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10035 wxColour
* resultptr
;
10036 resultptr
= new wxColour((wxColour
&) result
);
10037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10045 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxGrid
*arg1
= (wxGrid
*) 0 ;
10049 PyObject
* obj0
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "self", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
10055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 result
= (arg1
)->GetLabelFont();
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10065 wxFont
* resultptr
;
10066 resultptr
= new wxFont((wxFont
&) result
);
10067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
10075 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxGrid
*arg1
= (wxGrid
*) 0 ;
10078 int *arg2
= (int *) 0 ;
10079 int *arg3
= (int *) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
10090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 Py_INCREF(Py_None
); resultobj
= Py_None
;
10101 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10102 resultobj
= t_output_helper(resultobj
,o
);
10105 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10106 resultobj
= t_output_helper(resultobj
,o
);
10114 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxGrid
*arg1
= (wxGrid
*) 0 ;
10117 int *arg2
= (int *) 0 ;
10118 int *arg3
= (int *) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
10129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 Py_INCREF(Py_None
); resultobj
= Py_None
;
10140 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10141 resultobj
= t_output_helper(resultobj
,o
);
10144 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10145 resultobj
= t_output_helper(resultobj
,o
);
10153 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxGrid
*arg1
= (wxGrid
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (int)(arg1
)->GetColLabelTextOrientation();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_FromInt((int)result
);
10179 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxGrid
*arg1
= (wxGrid
*) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self",(char *) "row", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10193 arg2
= (int) SWIG_AsInt(obj1
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (arg1
)->GetRowLabelValue(arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10215 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxGrid
*arg1
= (wxGrid
*) 0 ;
10220 PyObject
* obj0
= 0 ;
10221 PyObject
* obj1
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self",(char *) "col", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10229 arg2
= (int) SWIG_AsInt(obj1
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (arg1
)->GetColLabelValue(arg2
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10251 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxGrid
*arg1
= (wxGrid
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (arg1
)->GetGridLineColour();
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10271 wxColour
* resultptr
;
10272 resultptr
= new wxColour((wxColour
&) result
);
10273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10281 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxGrid
*arg1
= (wxGrid
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (arg1
)->GetCellHighlightColour();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10301 wxColour
* resultptr
;
10302 resultptr
= new wxColour((wxColour
&) result
);
10303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10311 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxGrid
*arg1
= (wxGrid
*) 0 ;
10315 PyObject
* obj0
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "self", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= SWIG_FromInt((int)result
);
10337 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
;
10339 wxGrid
*arg1
= (wxGrid
*) 0 ;
10341 PyObject
* obj0
= 0 ;
10342 char *kwnames
[] = {
10343 (char *) "self", NULL
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= SWIG_FromInt((int)result
);
10363 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxGrid
*arg1
= (wxGrid
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self",(char *) "width", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10376 arg2
= (int) SWIG_AsInt(obj1
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->SetRowLabelSize(arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10392 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxGrid
*arg1
= (wxGrid
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "height", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",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 (arg1
)->SetColLabelSize(arg2
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 Py_INCREF(Py_None
); resultobj
= Py_None
;
10421 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxGrid
*arg1
= (wxGrid
*) 0 ;
10424 wxColour
*arg2
= 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self","arg2", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxGrid
*arg1
= (wxGrid
*) 0 ;
10456 wxColour
*arg2
= 0 ;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "self","arg2", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10469 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 Py_INCREF(Py_None
); resultobj
= Py_None
;
10485 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
;
10487 wxGrid
*arg1
= (wxGrid
*) 0 ;
10489 PyObject
* obj0
= 0 ;
10490 PyObject
* obj1
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self","arg2", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
10499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10501 if (arg2
== NULL
) {
10502 PyErr_SetString(PyExc_TypeError
,"null reference");
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 Py_INCREF(Py_None
); resultobj
= Py_None
;
10519 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxGrid
*arg1
= (wxGrid
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 PyObject
* obj2
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 arg2
= (int) SWIG_AsInt(obj1
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10536 arg3
= (int) SWIG_AsInt(obj2
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 Py_INCREF(Py_None
); resultobj
= Py_None
;
10552 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxGrid
*arg1
= (wxGrid
*) 0 ;
10557 PyObject
* obj0
= 0 ;
10558 PyObject
* obj1
= 0 ;
10559 PyObject
* obj2
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10567 arg2
= (int) SWIG_AsInt(obj1
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10569 arg3
= (int) SWIG_AsInt(obj2
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 Py_INCREF(Py_None
); resultobj
= Py_None
;
10585 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
;
10587 wxGrid
*arg1
= (wxGrid
*) 0 ;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "self",(char *) "textOrientation", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10598 arg2
= (int) SWIG_AsInt(obj1
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 (arg1
)->SetColLabelTextOrientation(arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 Py_INCREF(Py_None
); resultobj
= Py_None
;
10614 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
;
10616 wxGrid
*arg1
= (wxGrid
*) 0 ;
10618 wxString
*arg3
= 0 ;
10619 bool temp3
= False
;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 PyObject
* obj2
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self",(char *) "row","arg3", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10630 arg2
= (int) SWIG_AsInt(obj1
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 arg3
= wxString_in_helper(obj2
);
10634 if (arg3
== NULL
) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 Py_INCREF(Py_None
); resultobj
= Py_None
;
10659 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxGrid
*arg1
= (wxGrid
*) 0 ;
10663 wxString
*arg3
= 0 ;
10664 bool temp3
= False
;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 PyObject
* obj2
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self",(char *) "col","arg3", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10675 arg2
= (int) SWIG_AsInt(obj1
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 arg3
= wxString_in_helper(obj2
);
10679 if (arg3
== NULL
) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10704 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxGrid
*arg1
= (wxGrid
*) 0 ;
10707 wxColour
*arg2
= 0 ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self","arg2", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 Py_INCREF(Py_None
); resultobj
= Py_None
;
10736 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxGrid
*arg1
= (wxGrid
*) 0 ;
10739 wxColour
*arg2
= 0 ;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "self","arg2", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 Py_INCREF(Py_None
); resultobj
= Py_None
;
10768 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxGrid
*arg1
= (wxGrid
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 PyObject
* obj1
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self",(char *) "width", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 arg2
= (int) SWIG_AsInt(obj1
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->SetCellHighlightPenWidth(arg2
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxGrid
*arg1
= (wxGrid
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "width", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 arg2
= (int) SWIG_AsInt(obj1
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 (arg1
)->SetCellHighlightROPenWidth(arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxGrid
*arg1
= (wxGrid
*) 0 ;
10829 bool arg2
= (bool) True
;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self",(char *) "enable", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 arg2
= (bool) SWIG_AsBool(obj1
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->EnableDragRowSize(arg2
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 Py_INCREF(Py_None
); resultobj
= Py_None
;
10857 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxGrid
*arg1
= (wxGrid
*) 0 ;
10860 PyObject
* obj0
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 (arg1
)->DisableDragRowSize();
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 Py_INCREF(Py_None
); resultobj
= Py_None
;
10882 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxGrid
*arg1
= (wxGrid
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 result
= (bool)(arg1
)->CanDragRowSize();
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10910 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxGrid
*arg1
= (wxGrid
*) 0 ;
10913 bool arg2
= (bool) True
;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self",(char *) "enable", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10924 arg2
= (bool) SWIG_AsBool(obj1
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->EnableDragColSize(arg2
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 Py_INCREF(Py_None
); resultobj
= Py_None
;
10941 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxGrid
*arg1
= (wxGrid
*) 0 ;
10944 PyObject
* obj0
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 (arg1
)->DisableDragColSize();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 Py_INCREF(Py_None
); resultobj
= Py_None
;
10966 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxGrid
*arg1
= (wxGrid
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)(arg1
)->CanDragColSize();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10994 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxGrid
*arg1
= (wxGrid
*) 0 ;
10997 bool arg2
= (bool) True
;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self",(char *) "enable", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11008 arg2
= (bool) SWIG_AsBool(obj1
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 (arg1
)->EnableDragGridSize(arg2
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 Py_INCREF(Py_None
); resultobj
= Py_None
;
11025 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxGrid
*arg1
= (wxGrid
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 (arg1
)->DisableDragGridSize();
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 Py_INCREF(Py_None
); resultobj
= Py_None
;
11050 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxGrid
*arg1
= (wxGrid
*) 0 ;
11054 PyObject
* obj0
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
11060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (bool)(arg1
)->CanDragGridSize();
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxGrid
*arg1
= (wxGrid
*) 0 ;
11083 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 PyObject
* obj2
= 0 ;
11087 PyObject
* obj3
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 arg2
= (int) SWIG_AsInt(obj1
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11097 arg3
= (int) SWIG_AsInt(obj2
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11099 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
,
11100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 Py_INCREF(Py_None
); resultobj
= Py_None
;
11115 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxGrid
*arg1
= (wxGrid
*) 0 ;
11119 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 PyObject
* obj1
= 0 ;
11122 PyObject
* obj2
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self",(char *) "row",(char *) "attr", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11130 arg2
= (int) SWIG_AsInt(obj1
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11132 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 (arg1
)->SetRowAttr(arg2
,arg3
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 Py_INCREF(Py_None
); resultobj
= Py_None
;
11148 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxGrid
*arg1
= (wxGrid
*) 0 ;
11152 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 PyObject
* obj2
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "col",(char *) "attr", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11163 arg2
= (int) SWIG_AsInt(obj1
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11165 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->SetColAttr(arg2
,arg3
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 Py_INCREF(Py_None
); resultobj
= Py_None
;
11181 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxGrid
*arg1
= (wxGrid
*) 0 ;
11185 PyObject
* obj0
= 0 ;
11186 PyObject
* obj1
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self",(char *) "col", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11194 arg2
= (int) SWIG_AsInt(obj1
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 (arg1
)->SetColFormatBool(arg2
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 Py_INCREF(Py_None
); resultobj
= Py_None
;
11210 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
;
11212 wxGrid
*arg1
= (wxGrid
*) 0 ;
11214 PyObject
* obj0
= 0 ;
11215 PyObject
* obj1
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self",(char *) "col", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11223 arg2
= (int) SWIG_AsInt(obj1
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 (arg1
)->SetColFormatNumber(arg2
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 Py_INCREF(Py_None
); resultobj
= Py_None
;
11239 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxGrid
*arg1
= (wxGrid
*) 0 ;
11243 int arg3
= (int) -1 ;
11244 int arg4
= (int) -1 ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 PyObject
* obj3
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11256 arg2
= (int) SWIG_AsInt(obj1
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 arg3
= (int) SWIG_AsInt(obj2
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 arg4
= (int) SWIG_AsInt(obj3
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 Py_INCREF(Py_None
); resultobj
= Py_None
;
11280 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxGrid
*arg1
= (wxGrid
*) 0 ;
11284 wxString
*arg3
= 0 ;
11285 bool temp3
= False
;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 PyObject
* obj2
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self",(char *) "col",(char *) "typeName", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11296 arg2
= (int) SWIG_AsInt(obj1
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11299 arg3
= wxString_in_helper(obj2
);
11300 if (arg3
== NULL
) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 Py_INCREF(Py_None
); resultobj
= Py_None
;
11325 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxGrid
*arg1
= (wxGrid
*) 0 ;
11328 bool arg2
= (bool) True
;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "enable", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 arg2
= (bool) SWIG_AsBool(obj1
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->EnableGridLines(arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxGrid
*arg1
= (wxGrid
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (bool)(arg1
)->GridLinesEnabled();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11384 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxGrid
*arg1
= (wxGrid
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (int)(arg1
)->GetDefaultRowSize();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= SWIG_FromInt((int)result
);
11410 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
;
11412 wxGrid
*arg1
= (wxGrid
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "row", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11424 arg2
= (int) SWIG_AsInt(obj1
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (int)(arg1
)->GetRowSize(arg2
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= SWIG_FromInt((int)result
);
11440 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxGrid
*arg1
= (wxGrid
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (int)(arg1
)->GetDefaultColSize();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_FromInt((int)result
);
11466 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxGrid
*arg1
= (wxGrid
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 PyObject
* obj1
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "self",(char *) "col", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11480 arg2
= (int) SWIG_AsInt(obj1
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 result
= (int)(arg1
)->GetColSize(arg2
);
11486 wxPyEndAllowThreads(__tstate
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= SWIG_FromInt((int)result
);
11496 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxGrid
*arg1
= (wxGrid
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (arg1
)->GetDefaultCellBackgroundColour();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 wxColour
* resultptr
;
11517 resultptr
= new wxColour((wxColour
&) result
);
11518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11526 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxGrid
*arg1
= (wxGrid
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "row",(char *) "col", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11542 arg2
= (int) SWIG_AsInt(obj1
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11544 arg3
= (int) SWIG_AsInt(obj2
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11554 wxColour
* resultptr
;
11555 resultptr
= new wxColour((wxColour
&) result
);
11556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11564 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxGrid
*arg1
= (wxGrid
*) 0 ;
11568 PyObject
* obj0
= 0 ;
11569 char *kwnames
[] = {
11570 (char *) "self", NULL
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (arg1
)->GetDefaultCellTextColour();
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11584 wxColour
* resultptr
;
11585 resultptr
= new wxColour((wxColour
&) result
);
11586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11594 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
;
11596 wxGrid
*arg1
= (wxGrid
*) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 PyObject
* obj1
= 0 ;
11602 PyObject
* obj2
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self",(char *) "row",(char *) "col", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 arg2
= (int) SWIG_AsInt(obj1
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11612 arg3
= (int) SWIG_AsInt(obj2
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 wxColour
* resultptr
;
11623 resultptr
= new wxColour((wxColour
&) result
);
11624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11632 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
;
11634 wxGrid
*arg1
= (wxGrid
*) 0 ;
11636 PyObject
* obj0
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "self", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
11642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= (arg1
)->GetDefaultCellFont();
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11652 wxFont
* resultptr
;
11653 resultptr
= new wxFont((wxFont
&) result
);
11654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11662 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxGrid
*arg1
= (wxGrid
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 PyObject
* obj1
= 0 ;
11670 PyObject
* obj2
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self",(char *) "row",(char *) "col", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11678 arg2
= (int) SWIG_AsInt(obj1
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11680 arg3
= (int) SWIG_AsInt(obj2
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (arg1
)->GetCellFont(arg2
,arg3
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 wxFont
* resultptr
;
11691 resultptr
= new wxFont((wxFont
&) result
);
11692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11700 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxGrid
*arg1
= (wxGrid
*) 0 ;
11703 int *arg2
= (int *) 0 ;
11704 int *arg3
= (int *) 0 ;
11707 PyObject
* obj0
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 Py_INCREF(Py_None
); resultobj
= Py_None
;
11726 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11727 resultobj
= t_output_helper(resultobj
,o
);
11730 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11731 resultobj
= t_output_helper(resultobj
,o
);
11739 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxGrid
*arg1
= (wxGrid
*) 0 ;
11744 int *arg4
= (int *) 0 ;
11745 int *arg5
= (int *) 0 ;
11748 PyObject
* obj0
= 0 ;
11749 PyObject
* obj1
= 0 ;
11750 PyObject
* obj2
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self",(char *) "row",(char *) "col", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11760 arg2
= (int) SWIG_AsInt(obj1
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11762 arg3
= (int) SWIG_AsInt(obj2
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 Py_INCREF(Py_None
); resultobj
= Py_None
;
11773 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11774 resultobj
= t_output_helper(resultobj
,o
);
11777 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11778 resultobj
= t_output_helper(resultobj
,o
);
11786 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxGrid
*arg1
= (wxGrid
*) 0 ;
11790 PyObject
* obj0
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
11796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (bool)(arg1
)->GetDefaultCellOverflow();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11814 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11815 PyObject
*resultobj
;
11816 wxGrid
*arg1
= (wxGrid
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 PyObject
* obj2
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self",(char *) "row",(char *) "col", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11830 arg2
= (int) SWIG_AsInt(obj1
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11832 arg3
= (int) SWIG_AsInt(obj2
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11850 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxGrid
*arg1
= (wxGrid
*) 0 ;
11855 int *arg4
= (int *) 0 ;
11856 int *arg5
= (int *) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 PyObject
* obj1
= 0 ;
11861 PyObject
* obj2
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self",(char *) "row",(char *) "col", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11871 arg2
= (int) SWIG_AsInt(obj1
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11873 arg3
= (int) SWIG_AsInt(obj2
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 Py_INCREF(Py_None
); resultobj
= Py_None
;
11884 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11885 resultobj
= t_output_helper(resultobj
,o
);
11888 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11889 resultobj
= t_output_helper(resultobj
,o
);
11897 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxGrid
*arg1
= (wxGrid
*) 0 ;
11901 bool arg3
= (bool) False
;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 PyObject
* obj2
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11912 arg2
= (int) SWIG_AsInt(obj1
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 arg3
= (bool) SWIG_AsBool(obj2
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 Py_INCREF(Py_None
); resultobj
= Py_None
;
11932 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxGrid
*arg1
= (wxGrid
*) 0 ;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 PyObject
* obj2
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self",(char *) "row",(char *) "height", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11947 arg2
= (int) SWIG_AsInt(obj1
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11949 arg3
= (int) SWIG_AsInt(obj2
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 (arg1
)->SetRowSize(arg2
,arg3
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 Py_INCREF(Py_None
); resultobj
= Py_None
;
11965 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxGrid
*arg1
= (wxGrid
*) 0 ;
11969 bool arg3
= (bool) False
;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 PyObject
* obj2
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11980 arg2
= (int) SWIG_AsInt(obj1
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11983 arg3
= (bool) SWIG_AsBool(obj2
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 (arg1
)->SetDefaultColSize(arg2
,arg3
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 Py_INCREF(Py_None
); resultobj
= Py_None
;
12000 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxGrid
*arg1
= (wxGrid
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 PyObject
* obj2
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "col",(char *) "width", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12015 arg2
= (int) SWIG_AsInt(obj1
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12017 arg3
= (int) SWIG_AsInt(obj2
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 (arg1
)->SetColSize(arg2
,arg3
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 Py_INCREF(Py_None
); resultobj
= Py_None
;
12033 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxGrid
*arg1
= (wxGrid
*) 0 ;
12037 bool arg3
= (bool) True
;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 PyObject
* obj2
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12048 arg2
= (int) SWIG_AsInt(obj1
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 arg3
= (bool) SWIG_AsBool(obj2
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 (arg1
)->AutoSizeColumn(arg2
,arg3
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 Py_INCREF(Py_None
); resultobj
= Py_None
;
12068 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxGrid
*arg1
= (wxGrid
*) 0 ;
12072 bool arg3
= (bool) True
;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 PyObject
* obj2
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 arg2
= (int) SWIG_AsInt(obj1
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 arg3
= (bool) SWIG_AsBool(obj2
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->AutoSizeRow(arg2
,arg3
);
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 Py_INCREF(Py_None
); resultobj
= Py_None
;
12103 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxGrid
*arg1
= (wxGrid
*) 0 ;
12106 bool arg2
= (bool) True
;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self",(char *) "setAsMin", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
12114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12117 arg2
= (bool) SWIG_AsBool(obj1
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 (arg1
)->AutoSizeColumns(arg2
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 Py_INCREF(Py_None
); resultobj
= Py_None
;
12134 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxGrid
*arg1
= (wxGrid
*) 0 ;
12137 bool arg2
= (bool) True
;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "setAsMin", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12148 arg2
= (bool) SWIG_AsBool(obj1
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->AutoSizeRows(arg2
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxGrid
*arg1
= (wxGrid
*) 0 ;
12168 PyObject
* obj0
= 0 ;
12169 char *kwnames
[] = {
12170 (char *) "self", NULL
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 (arg1
)->AutoSize();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 Py_INCREF(Py_None
); resultobj
= Py_None
;
12190 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxGrid
*arg1
= (wxGrid
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 PyObject
* obj1
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self",(char *) "row", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12203 arg2
= (int) SWIG_AsInt(obj1
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 (arg1
)->AutoSizeRowLabelSize(arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxGrid
*arg1
= (wxGrid
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 PyObject
* obj1
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self",(char *) "col", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 arg2
= (int) SWIG_AsInt(obj1
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 (arg1
)->AutoSizeColLabelSize(arg2
);
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 Py_INCREF(Py_None
); resultobj
= Py_None
;
12248 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxGrid
*arg1
= (wxGrid
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 PyObject
* obj2
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self",(char *) "col",(char *) "width", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12263 arg2
= (int) SWIG_AsInt(obj1
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12265 arg3
= (int) SWIG_AsInt(obj2
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 Py_INCREF(Py_None
); resultobj
= Py_None
;
12281 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxGrid
*arg1
= (wxGrid
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 PyObject
* obj1
= 0 ;
12288 PyObject
* obj2
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self",(char *) "row",(char *) "width", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12296 arg2
= (int) SWIG_AsInt(obj1
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12298 arg3
= (int) SWIG_AsInt(obj2
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 Py_INCREF(Py_None
); resultobj
= Py_None
;
12314 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxGrid
*arg1
= (wxGrid
*) 0 ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self",(char *) "width", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12327 arg2
= (int) SWIG_AsInt(obj1
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 Py_INCREF(Py_None
); resultobj
= Py_None
;
12343 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxGrid
*arg1
= (wxGrid
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self",(char *) "width", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12356 arg2
= (int) SWIG_AsInt(obj1
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 Py_INCREF(Py_None
); resultobj
= Py_None
;
12372 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxGrid
*arg1
= (wxGrid
*) 0 ;
12376 PyObject
* obj0
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_FromInt((int)result
);
12398 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxGrid
*arg1
= (wxGrid
*) 0 ;
12402 PyObject
* obj0
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "self", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 resultobj
= SWIG_FromInt((int)result
);
12424 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxGrid
*arg1
= (wxGrid
*) 0 ;
12427 wxColour
*arg2
= 0 ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 char *kwnames
[] = {
12432 (char *) "self","arg2", NULL
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 Py_INCREF(Py_None
); resultobj
= Py_None
;
12456 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxGrid
*arg1
= (wxGrid
*) 0 ;
12461 wxColour
*arg4
= 0 ;
12463 PyObject
* obj0
= 0 ;
12464 PyObject
* obj1
= 0 ;
12465 PyObject
* obj2
= 0 ;
12466 PyObject
* obj3
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 arg2
= (int) SWIG_AsInt(obj1
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12476 arg3
= (int) SWIG_AsInt(obj2
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 Py_INCREF(Py_None
); resultobj
= Py_None
;
12496 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxGrid
*arg1
= (wxGrid
*) 0 ;
12499 wxColour
*arg2
= 0 ;
12501 PyObject
* obj0
= 0 ;
12502 PyObject
* obj1
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self","arg2", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxGrid
*arg1
= (wxGrid
*) 0 ;
12533 wxColour
*arg4
= 0 ;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 PyObject
* obj2
= 0 ;
12538 PyObject
* obj3
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12546 arg2
= (int) SWIG_AsInt(obj1
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12548 arg3
= (int) SWIG_AsInt(obj2
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 Py_INCREF(Py_None
); resultobj
= Py_None
;
12568 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxGrid
*arg1
= (wxGrid
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self","arg2", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12584 if (arg2
== NULL
) {
12585 PyErr_SetString(PyExc_TypeError
,"null reference");
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 Py_INCREF(Py_None
); resultobj
= Py_None
;
12602 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxGrid
*arg1
= (wxGrid
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 PyObject
* obj2
= 0 ;
12611 PyObject
* obj3
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12619 arg2
= (int) SWIG_AsInt(obj1
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12621 arg3
= (int) SWIG_AsInt(obj2
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12623 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12626 if (arg4
== NULL
) {
12627 PyErr_SetString(PyExc_TypeError
,"null reference");
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 Py_INCREF(Py_None
); resultobj
= Py_None
;
12644 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxGrid
*arg1
= (wxGrid
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 PyObject
* obj2
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 arg2
= (int) SWIG_AsInt(obj1
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12661 arg3
= (int) SWIG_AsInt(obj2
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 Py_INCREF(Py_None
); resultobj
= Py_None
;
12677 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxGrid
*arg1
= (wxGrid
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 PyObject
* obj2
= 0 ;
12687 PyObject
* obj3
= 0 ;
12688 PyObject
* obj4
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12696 arg2
= (int) SWIG_AsInt(obj1
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12698 arg3
= (int) SWIG_AsInt(obj2
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12700 arg4
= (int) SWIG_AsInt(obj3
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12702 arg5
= (int) SWIG_AsInt(obj4
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxGrid
*arg1
= (wxGrid
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self",(char *) "allow", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
12729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12731 arg2
= (bool) SWIG_AsBool(obj1
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 (arg1
)->SetDefaultCellOverflow(arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 Py_INCREF(Py_None
); resultobj
= Py_None
;
12747 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxGrid
*arg1
= (wxGrid
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 PyObject
* obj2
= 0 ;
12756 PyObject
* obj3
= 0 ;
12757 char *kwnames
[] = {
12758 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12764 arg2
= (int) SWIG_AsInt(obj1
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12766 arg3
= (int) SWIG_AsInt(obj2
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12768 arg4
= (bool) SWIG_AsBool(obj3
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxGrid
*arg1
= (wxGrid
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 PyObject
* obj2
= 0 ;
12794 PyObject
* obj3
= 0 ;
12795 PyObject
* obj4
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12803 arg2
= (int) SWIG_AsInt(obj1
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12805 arg3
= (int) SWIG_AsInt(obj2
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12807 arg4
= (int) SWIG_AsInt(obj3
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12809 arg5
= (int) SWIG_AsInt(obj4
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12818 Py_INCREF(Py_None
); resultobj
= Py_None
;
12825 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12826 PyObject
*resultobj
;
12827 wxGrid
*arg1
= (wxGrid
*) 0 ;
12828 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
12829 PyObject
* obj0
= 0 ;
12830 PyObject
* obj1
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self",(char *) "renderer", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
12839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 (arg1
)->SetDefaultRenderer(arg2
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 Py_INCREF(Py_None
); resultobj
= Py_None
;
12854 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
;
12856 wxGrid
*arg1
= (wxGrid
*) 0 ;
12859 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 PyObject
* obj1
= 0 ;
12862 PyObject
* obj2
= 0 ;
12863 PyObject
* obj3
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 arg2
= (int) SWIG_AsInt(obj1
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12873 arg3
= (int) SWIG_AsInt(obj2
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12875 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxGrid
*arg1
= (wxGrid
*) 0 ;
12894 wxGridCellRenderer
*result
;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12919 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxGrid
*arg1
= (wxGrid
*) 0 ;
12924 wxGridCellRenderer
*result
;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 PyObject
* obj2
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self",(char *) "row",(char *) "col", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12935 arg2
= (int) SWIG_AsInt(obj1
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12937 arg3
= (int) SWIG_AsInt(obj2
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12955 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxGrid
*arg1
= (wxGrid
*) 0 ;
12958 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 PyObject
* obj1
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self",(char *) "editor", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
12966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
12969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 (arg1
)->SetDefaultEditor(arg2
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 Py_INCREF(Py_None
); resultobj
= Py_None
;
12984 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxGrid
*arg1
= (wxGrid
*) 0 ;
12989 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 PyObject
* obj2
= 0 ;
12993 PyObject
* obj3
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 arg2
= (int) SWIG_AsInt(obj1
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13003 arg3
= (int) SWIG_AsInt(obj2
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13005 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 Py_INCREF(Py_None
); resultobj
= Py_None
;
13021 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
;
13023 wxGrid
*arg1
= (wxGrid
*) 0 ;
13024 wxGridCellEditor
*result
;
13025 PyObject
* obj0
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
13031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= wxPyMake_wxGridCellEditor(result
);
13049 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxGrid
*arg1
= (wxGrid
*) 0 ;
13054 wxGridCellEditor
*result
;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 PyObject
* obj2
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "row",(char *) "col", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13065 arg2
= (int) SWIG_AsInt(obj1
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13067 arg3
= (int) SWIG_AsInt(obj2
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= wxPyMake_wxGridCellEditor(result
);
13085 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxGrid
*arg1
= (wxGrid
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 PyObject
* obj2
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "row",(char *) "col", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13101 arg2
= (int) SWIG_AsInt(obj1
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13103 arg3
= (int) SWIG_AsInt(obj2
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13125 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxGrid
*arg1
= (wxGrid
*) 0 ;
13130 wxString
*arg4
= 0 ;
13131 bool temp4
= False
;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 PyObject
* obj2
= 0 ;
13135 PyObject
* obj3
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13143 arg2
= (int) SWIG_AsInt(obj1
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13145 arg3
= (int) SWIG_AsInt(obj2
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 arg4
= wxString_in_helper(obj3
);
13149 if (arg4
== NULL
) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxGrid
*arg1
= (wxGrid
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 PyObject
* obj2
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self",(char *) "row",(char *) "col", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13190 arg2
= (int) SWIG_AsInt(obj1
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13192 arg3
= (int) SWIG_AsInt(obj2
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13210 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxGrid
*arg1
= (wxGrid
*) 0 ;
13215 bool arg4
= (bool) True
;
13216 PyObject
* obj0
= 0 ;
13217 PyObject
* obj1
= 0 ;
13218 PyObject
* obj2
= 0 ;
13219 PyObject
* obj3
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 arg2
= (int) SWIG_AsInt(obj1
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13229 arg3
= (int) SWIG_AsInt(obj2
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 arg4
= (bool) SWIG_AsBool(obj3
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 Py_INCREF(Py_None
); resultobj
= Py_None
;
13249 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxGrid
*arg1
= (wxGrid
*) 0 ;
13253 bool arg3
= (bool) False
;
13254 PyObject
* obj0
= 0 ;
13255 PyObject
* obj1
= 0 ;
13256 PyObject
* obj2
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13264 arg2
= (int) SWIG_AsInt(obj1
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 arg3
= (bool) SWIG_AsBool(obj2
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->SelectRow(arg2
,arg3
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 Py_INCREF(Py_None
); resultobj
= Py_None
;
13284 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxGrid
*arg1
= (wxGrid
*) 0 ;
13288 bool arg3
= (bool) False
;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 PyObject
* obj2
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 arg2
= (int) SWIG_AsInt(obj1
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 arg3
= (bool) SWIG_AsBool(obj2
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 (arg1
)->SelectCol(arg2
,arg3
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 Py_INCREF(Py_None
); resultobj
= Py_None
;
13319 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxGrid
*arg1
= (wxGrid
*) 0 ;
13326 bool arg6
= (bool) False
;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 PyObject
* obj2
= 0 ;
13330 PyObject
* obj3
= 0 ;
13331 PyObject
* obj4
= 0 ;
13332 PyObject
* obj5
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13340 arg2
= (int) SWIG_AsInt(obj1
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13342 arg3
= (int) SWIG_AsInt(obj2
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13344 arg4
= (int) SWIG_AsInt(obj3
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13346 arg5
= (int) SWIG_AsInt(obj4
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 arg6
= (bool) SWIG_AsBool(obj5
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13359 Py_INCREF(Py_None
); resultobj
= Py_None
;
13366 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
;
13368 wxGrid
*arg1
= (wxGrid
*) 0 ;
13369 PyObject
* obj0
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 (arg1
)->SelectAll();
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 Py_INCREF(Py_None
); resultobj
= Py_None
;
13391 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
;
13393 wxGrid
*arg1
= (wxGrid
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= (bool)(arg1
)->IsSelection();
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13419 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxGrid
*arg1
= (wxGrid
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 (arg1
)->ClearSelection();
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 Py_INCREF(Py_None
); resultobj
= Py_None
;
13444 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxGrid
*arg1
= (wxGrid
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 PyObject
* obj2
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self",(char *) "row",(char *) "col", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13460 arg2
= (int) SWIG_AsInt(obj1
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13462 arg3
= (int) SWIG_AsInt(obj2
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13480 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxGrid
*arg1
= (wxGrid
*) 0 ;
13483 wxGridCellCoordsArray result
;
13484 PyObject
* obj0
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= wxGridCellCoordsArray_helper(result
);
13508 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxGrid
*arg1
= (wxGrid
*) 0 ;
13511 wxGridCellCoordsArray result
;
13512 PyObject
* obj0
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= wxGridCellCoordsArray_helper(result
);
13536 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxGrid
*arg1
= (wxGrid
*) 0 ;
13539 wxGridCellCoordsArray result
;
13540 PyObject
* obj0
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= wxGridCellCoordsArray_helper(result
);
13564 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxGrid
*arg1
= (wxGrid
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= PyList_New(0);
13586 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13587 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13588 PyList_Append(resultobj
, val
);
13598 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxGrid
*arg1
= (wxGrid
*) 0 ;
13602 PyObject
* obj0
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= PyList_New(0);
13620 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13621 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13622 PyList_Append(resultobj
, val
);
13632 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxGrid
*arg1
= (wxGrid
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self",(char *) "row", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13645 arg2
= (int) SWIG_AsInt(obj1
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 (arg1
)->DeselectRow(arg2
);
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 Py_INCREF(Py_None
); resultobj
= Py_None
;
13661 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
;
13663 wxGrid
*arg1
= (wxGrid
*) 0 ;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self",(char *) "col", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13674 arg2
= (int) SWIG_AsInt(obj1
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 (arg1
)->DeselectCol(arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 Py_INCREF(Py_None
); resultobj
= Py_None
;
13690 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 wxGrid
*arg1
= (wxGrid
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 PyObject
* obj2
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "row",(char *) "col", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13705 arg2
= (int) SWIG_AsInt(obj1
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13707 arg3
= (int) SWIG_AsInt(obj2
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 (arg1
)->DeselectCell(arg2
,arg3
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 Py_INCREF(Py_None
); resultobj
= Py_None
;
13723 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxGrid
*arg1
= (wxGrid
*) 0 ;
13726 wxGridCellCoords
*arg2
= 0 ;
13727 wxGridCellCoords
*arg3
= 0 ;
13729 wxGridCellCoords temp2
;
13730 wxGridCellCoords temp3
;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 PyObject
* obj2
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
13747 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13757 wxRect
* resultptr
;
13758 resultptr
= new wxRect((wxRect
&) result
);
13759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13767 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxGrid
*arg1
= (wxGrid
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
13777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13787 wxColour
* resultptr
;
13788 resultptr
= new wxColour((wxColour
&) result
);
13789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13797 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
;
13799 wxGrid
*arg1
= (wxGrid
*) 0 ;
13801 PyObject
* obj0
= 0 ;
13802 char *kwnames
[] = {
13803 (char *) "self", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
13807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13817 wxColour
* resultptr
;
13818 resultptr
= new wxColour((wxColour
&) result
);
13819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13827 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxGrid
*arg1
= (wxGrid
*) 0 ;
13830 wxColour
*arg2
= 0 ;
13832 PyObject
* obj0
= 0 ;
13833 PyObject
* obj1
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self",(char *) "c", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13852 Py_INCREF(Py_None
); resultobj
= Py_None
;
13859 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13860 PyObject
*resultobj
;
13861 wxGrid
*arg1
= (wxGrid
*) 0 ;
13862 wxColour
*arg2
= 0 ;
13864 PyObject
* obj0
= 0 ;
13865 PyObject
* obj1
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self",(char *) "c", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13875 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 Py_INCREF(Py_None
); resultobj
= Py_None
;
13891 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxGrid
*arg1
= (wxGrid
*) 0 ;
13894 wxString
*arg2
= 0 ;
13895 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
13896 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13897 bool temp2
= False
;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 PyObject
* obj2
= 0 ;
13901 PyObject
* obj3
= 0 ;
13902 char *kwnames
[] = {
13903 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13910 arg2
= wxString_in_helper(obj1
);
13911 if (arg2
== NULL
) SWIG_fail
;
13914 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13916 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13940 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxGrid
*arg1
= (wxGrid
*) 0 ;
13945 wxGridCellEditor
*result
;
13946 PyObject
* obj0
= 0 ;
13947 PyObject
* obj1
= 0 ;
13948 PyObject
* obj2
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self",(char *) "row",(char *) "col", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13956 arg2
= (int) SWIG_AsInt(obj1
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13958 arg3
= (int) SWIG_AsInt(obj2
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= wxPyMake_wxGridCellEditor(result
);
13976 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxGrid
*arg1
= (wxGrid
*) 0 ;
13981 wxGridCellRenderer
*result
;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 PyObject
* obj2
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self",(char *) "row",(char *) "col", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 arg2
= (int) SWIG_AsInt(obj1
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13994 arg3
= (int) SWIG_AsInt(obj2
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14012 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxGrid
*arg1
= (wxGrid
*) 0 ;
14015 wxString
*arg2
= 0 ;
14016 wxGridCellEditor
*result
;
14017 bool temp2
= False
;
14018 PyObject
* obj0
= 0 ;
14019 PyObject
* obj1
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self",(char *) "typeName", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14028 arg2
= wxString_in_helper(obj1
);
14029 if (arg2
== NULL
) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14040 resultobj
= wxPyMake_wxGridCellEditor(result
);
14056 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxGrid
*arg1
= (wxGrid
*) 0 ;
14059 wxString
*arg2
= 0 ;
14060 wxGridCellRenderer
*result
;
14061 bool temp2
= False
;
14062 PyObject
* obj0
= 0 ;
14063 PyObject
* obj1
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self",(char *) "typeName", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14072 arg2
= wxString_in_helper(obj1
);
14073 if (arg2
== NULL
) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14100 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxGrid
*arg1
= (wxGrid
*) 0 ;
14105 PyObject
* obj0
= 0 ;
14106 PyObject
* obj1
= 0 ;
14107 PyObject
* obj2
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14115 arg2
= (int) SWIG_AsInt(obj1
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14117 arg3
= (int) SWIG_AsInt(obj2
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 (arg1
)->SetMargins(arg2
,arg3
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 Py_INCREF(Py_None
); resultobj
= Py_None
;
14133 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxGrid
*arg1
= (wxGrid
*) 0 ;
14137 PyObject
* obj0
= 0 ;
14138 char *kwnames
[] = {
14139 (char *) "self", NULL
14142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= wxPyMake_wxObject(result
);
14161 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxGrid
*arg1
= (wxGrid
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 char *kwnames
[] = {
14167 (char *) "self", NULL
14170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= wxPyMake_wxObject(result
);
14189 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxGrid
*arg1
= (wxGrid
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= wxPyMake_wxObject(result
);
14217 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
;
14219 wxGrid
*arg1
= (wxGrid
*) 0 ;
14221 PyObject
* obj0
= 0 ;
14222 char *kwnames
[] = {
14223 (char *) "self", NULL
14226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= wxPyMake_wxObject(result
);
14245 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
14247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14248 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14250 return Py_BuildValue((char *)"");
14252 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14256 wxGrid
*arg3
= (wxGrid
*) 0 ;
14257 int arg4
= (int) -1 ;
14258 int arg5
= (int) -1 ;
14259 int arg6
= (int) -1 ;
14260 int arg7
= (int) -1 ;
14261 bool arg8
= (bool) True
;
14262 bool arg9
= (bool) False
;
14263 bool arg10
= (bool) False
;
14264 bool arg11
= (bool) False
;
14265 bool arg12
= (bool) False
;
14266 wxGridEvent
*result
;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 PyObject
* obj2
= 0 ;
14270 PyObject
* obj3
= 0 ;
14271 PyObject
* obj4
= 0 ;
14272 PyObject
* obj5
= 0 ;
14273 PyObject
* obj6
= 0 ;
14274 PyObject
* obj7
= 0 ;
14275 PyObject
* obj8
= 0 ;
14276 PyObject
* obj9
= 0 ;
14277 PyObject
* obj10
= 0 ;
14278 PyObject
* obj11
= 0 ;
14279 char *kwnames
[] = {
14280 (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
14283 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
;
14284 arg1
= (int) SWIG_AsInt(obj0
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14286 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14288 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14291 arg4
= (int) SWIG_AsInt(obj3
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 arg5
= (int) SWIG_AsInt(obj4
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14299 arg6
= (int) SWIG_AsInt(obj5
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14303 arg7
= (int) SWIG_AsInt(obj6
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14307 arg8
= (bool) SWIG_AsBool(obj7
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 arg9
= (bool) SWIG_AsBool(obj8
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 arg10
= (bool) SWIG_AsBool(obj9
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14319 arg11
= (bool) SWIG_AsBool(obj10
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 arg12
= (bool) SWIG_AsBool(obj11
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
14340 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (int)(arg1
)->GetRow();
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= SWIG_FromInt((int)result
);
14366 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14370 PyObject
* obj0
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (int)(arg1
)->GetCol();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= SWIG_FromInt((int)result
);
14392 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (arg1
)->GetPosition();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14412 wxPoint
* resultptr
;
14413 resultptr
= new wxPoint((wxPoint
&) result
);
14414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14422 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (bool)(arg1
)->Selecting();
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14450 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (bool)(arg1
)->ControlDown();
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14478 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (bool)(arg1
)->MetaDown();
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14506 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (bool)(arg1
)->ShiftDown();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14534 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14538 PyObject
* obj0
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self", NULL
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (bool)(arg1
)->AltDown();
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14562 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14565 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14567 return Py_BuildValue((char *)"");
14569 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14573 wxGrid
*arg3
= (wxGrid
*) 0 ;
14574 int arg4
= (int) -1 ;
14575 int arg5
= (int) -1 ;
14576 int arg6
= (int) -1 ;
14577 bool arg7
= (bool) False
;
14578 bool arg8
= (bool) False
;
14579 bool arg9
= (bool) False
;
14580 bool arg10
= (bool) False
;
14581 wxGridSizeEvent
*result
;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 PyObject
* obj2
= 0 ;
14585 PyObject
* obj3
= 0 ;
14586 PyObject
* obj4
= 0 ;
14587 PyObject
* obj5
= 0 ;
14588 PyObject
* obj6
= 0 ;
14589 PyObject
* obj7
= 0 ;
14590 PyObject
* obj8
= 0 ;
14591 PyObject
* obj9
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14597 arg1
= (int) SWIG_AsInt(obj0
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14599 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14601 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14604 arg4
= (int) SWIG_AsInt(obj3
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14608 arg5
= (int) SWIG_AsInt(obj4
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14612 arg6
= (int) SWIG_AsInt(obj5
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14616 arg7
= (bool) SWIG_AsBool(obj6
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14620 arg8
= (bool) SWIG_AsBool(obj7
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14624 arg9
= (bool) SWIG_AsBool(obj8
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 arg10
= (bool) SWIG_AsBool(obj9
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
14645 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (int)(arg1
)->GetRowOrCol();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= SWIG_FromInt((int)result
);
14671 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (arg1
)->GetPosition();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 wxPoint
* resultptr
;
14692 resultptr
= new wxPoint((wxPoint
&) result
);
14693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14701 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= (bool)(arg1
)->ControlDown();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14729 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (bool)(arg1
)->MetaDown();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14757 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (bool)(arg1
)->ShiftDown();
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14785 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
;
14787 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14789 PyObject
* obj0
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "self", NULL
14794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (bool)(arg1
)->AltDown();
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14813 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14816 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
14818 return Py_BuildValue((char *)"");
14820 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14824 wxGrid
*arg3
= (wxGrid
*) 0 ;
14825 wxGridCellCoords
*arg4
= 0 ;
14826 wxGridCellCoords
*arg5
= 0 ;
14827 bool arg6
= (bool) True
;
14828 bool arg7
= (bool) False
;
14829 bool arg8
= (bool) False
;
14830 bool arg9
= (bool) False
;
14831 bool arg10
= (bool) False
;
14832 wxGridRangeSelectEvent
*result
;
14833 wxGridCellCoords temp4
;
14834 wxGridCellCoords temp5
;
14835 PyObject
* obj0
= 0 ;
14836 PyObject
* obj1
= 0 ;
14837 PyObject
* obj2
= 0 ;
14838 PyObject
* obj3
= 0 ;
14839 PyObject
* obj4
= 0 ;
14840 PyObject
* obj5
= 0 ;
14841 PyObject
* obj6
= 0 ;
14842 PyObject
* obj7
= 0 ;
14843 PyObject
* obj8
= 0 ;
14844 PyObject
* obj9
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14850 arg1
= (int) SWIG_AsInt(obj0
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14852 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14854 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14858 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
14862 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
14865 arg6
= (bool) SWIG_AsBool(obj5
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14869 arg7
= (bool) SWIG_AsBool(obj6
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14873 arg8
= (bool) SWIG_AsBool(obj7
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14877 arg9
= (bool) SWIG_AsBool(obj8
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14881 arg10
= (bool) SWIG_AsBool(obj9
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
14898 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14901 wxGridCellCoords result
;
14902 PyObject
* obj0
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (arg1
)->GetTopLeftCoords();
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 wxGridCellCoords
* resultptr
;
14919 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
14928 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14931 wxGridCellCoords result
;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (arg1
)->GetBottomRightCoords();
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14948 wxGridCellCoords
* resultptr
;
14949 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
14958 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (int)(arg1
)->GetTopRow();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_FromInt((int)result
);
14984 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (int)(arg1
)->GetBottomRow();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= SWIG_FromInt((int)result
);
15010 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 result
= (int)(arg1
)->GetLeftCol();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= SWIG_FromInt((int)result
);
15036 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
15046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (int)(arg1
)->GetRightCol();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= SWIG_FromInt((int)result
);
15062 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
;
15064 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (bool)(arg1
)->Selecting();
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15090 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
;
15092 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 result
= (bool)(arg1
)->ControlDown();
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15118 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (bool)(arg1
)->MetaDown();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15146 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (bool)(arg1
)->ShiftDown();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15174 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (bool)(arg1
)->AltDown();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15202 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15205 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15207 return Py_BuildValue((char *)"");
15209 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15213 wxObject
*arg3
= (wxObject
*) 0 ;
15216 wxControl
*arg6
= (wxControl
*) 0 ;
15217 wxGridEditorCreatedEvent
*result
;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 PyObject
* obj2
= 0 ;
15221 PyObject
* obj3
= 0 ;
15222 PyObject
* obj4
= 0 ;
15223 PyObject
* obj5
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15229 arg1
= (int) SWIG_AsInt(obj0
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15231 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15233 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
,
15234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 arg4
= (int) SWIG_AsInt(obj3
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15237 arg5
= (int) SWIG_AsInt(obj4
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15239 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
,
15240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15255 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15259 PyObject
* obj0
= 0 ;
15260 char *kwnames
[] = {
15261 (char *) "self", NULL
15264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (int)(arg1
)->GetRow();
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= SWIG_FromInt((int)result
);
15281 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (int)(arg1
)->GetCol();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= SWIG_FromInt((int)result
);
15307 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (wxControl
*)(arg1
)->GetControl();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= wxPyMake_wxObject(result
);
15335 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 PyObject
* obj1
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self",(char *) "row", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 arg2
= (int) SWIG_AsInt(obj1
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 (arg1
)->SetRow(arg2
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 Py_INCREF(Py_None
); resultobj
= Py_None
;
15364 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "col", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15377 arg2
= (int) SWIG_AsInt(obj1
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetCol(arg2
);
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 Py_INCREF(Py_None
); resultobj
= Py_None
;
15393 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15396 wxControl
*arg2
= (wxControl
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 char *kwnames
[] = {
15400 (char *) "self",(char *) "ctrl", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 (arg1
)->SetControl(arg2
);
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 Py_INCREF(Py_None
); resultobj
= Py_None
;
15422 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15425 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15427 return Py_BuildValue((char *)"");
15429 static PyMethodDef SwigMethods
[] = {
15430 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15431 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15432 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15433 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15434 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15435 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15436 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15437 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
15438 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15439 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15440 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15441 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
15442 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15443 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
15444 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15445 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
15446 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15447 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15448 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15449 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15450 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15451 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
15452 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15453 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
15454 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15455 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
15456 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15457 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
15458 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15459 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
15460 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15461 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15462 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15463 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15464 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15465 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15466 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15467 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15468 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15469 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15470 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15471 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15472 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15473 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15474 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15475 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15476 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15477 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15478 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15479 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15480 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15481 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15482 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
15483 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15484 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15485 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15486 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15487 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15488 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15489 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15490 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15491 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15492 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15493 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15494 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
15495 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15496 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15497 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
15498 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15499 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15500 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
15501 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15502 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15503 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
15504 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15505 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15506 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
15507 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15508 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15509 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
15510 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15511 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15512 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
15513 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15514 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15515 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
15516 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15517 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15518 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15519 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15520 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15521 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15522 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15523 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15524 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15525 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15526 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15527 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15528 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15529 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15530 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15531 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15532 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15533 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15534 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15535 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15536 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15537 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15538 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15539 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
15540 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15541 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15542 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15543 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15544 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15545 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15546 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15547 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15548 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15549 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15550 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
15551 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15552 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15553 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15554 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15555 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15556 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15557 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15558 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15559 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
15560 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15561 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15562 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15563 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15564 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15565 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15566 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
15567 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15568 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15569 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15570 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15571 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15572 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15573 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15574 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15575 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15576 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15577 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15578 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15579 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15580 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15581 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15582 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15583 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15584 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15585 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15586 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15587 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15588 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15589 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15590 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15591 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15592 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15593 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15594 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15595 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15596 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15597 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15598 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15599 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15600 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15601 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15602 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
15603 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15604 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15605 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15606 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15607 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15608 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15609 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15610 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15611 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15612 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15613 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15614 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15615 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15616 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15617 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15618 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15619 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15620 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15621 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15622 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15623 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15624 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15625 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
15626 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15627 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
15628 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15629 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15630 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15631 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15632 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15633 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15634 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15635 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15636 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15637 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15638 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
15639 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15640 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15641 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15642 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15643 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15644 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15645 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15646 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15647 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15648 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
15649 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
15650 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
15651 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15652 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15653 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15654 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15655 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15656 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15657 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15658 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15659 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15660 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15661 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15662 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15663 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15664 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15665 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15666 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15667 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15668 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15669 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15670 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15671 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15672 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15673 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15674 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15675 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15676 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15677 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15678 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15679 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15680 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15681 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15682 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15683 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15684 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15685 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15686 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15687 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15688 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15689 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15690 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15691 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15692 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15693 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15694 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15695 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15696 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15697 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15698 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15699 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15700 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15701 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15702 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15703 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15704 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15705 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15706 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15707 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15708 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15709 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15710 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15711 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15712 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15713 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15714 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15715 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15716 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15717 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15718 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15719 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15720 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15721 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15722 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15723 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15724 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15725 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15726 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15727 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15728 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15729 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15730 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15731 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15732 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15733 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15734 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15735 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15736 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15737 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15738 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15739 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15740 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15741 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15742 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15743 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15744 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15745 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15746 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15747 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15748 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15749 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15750 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15751 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15752 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15753 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15754 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15755 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15756 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15757 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15758 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15759 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15760 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15761 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15762 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15763 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15764 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15765 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15766 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15767 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15768 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15769 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15770 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15771 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15772 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15773 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15774 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15775 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15776 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15777 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15778 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15779 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15780 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15781 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15782 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15783 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15784 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15785 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15786 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15787 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15788 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15789 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15790 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15791 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15792 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15793 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15794 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15795 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15796 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15797 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15798 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15799 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15800 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15801 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15802 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15803 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15804 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15805 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15806 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15807 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15808 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
15809 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
15810 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
15811 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
15812 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
15813 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
15814 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
15815 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
15816 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
15817 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
15818 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
15819 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
15820 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
15821 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
15822 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
15823 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
15824 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15825 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15826 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15827 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15828 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
15829 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
15830 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
15831 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
15832 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
15833 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
15834 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
15835 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15836 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15837 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15838 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
15839 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
15840 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15841 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15842 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15843 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15844 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15845 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15846 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15847 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15848 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
15849 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
15850 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
15851 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15852 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15853 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15854 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15855 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15856 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
15857 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
15858 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
15859 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
15860 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
15861 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
15862 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
15863 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
15864 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15865 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15866 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15867 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15868 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15869 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
15870 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
15871 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15872 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15873 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15874 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15875 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15876 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15877 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
15882 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15884 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
15885 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
15887 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
15888 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
15890 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
15891 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15893 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
15894 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15896 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
15897 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
15899 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
15900 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15902 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
15903 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15905 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
15906 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15908 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
15909 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15911 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
15912 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15914 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
15915 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15917 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
15918 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15920 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
15921 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15923 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
15924 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
15926 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
15927 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15929 static void *_p_wxGridTo_p_wxPanel(void *x
) {
15930 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
15932 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
15933 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15935 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
15936 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15938 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
15939 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
15941 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
15942 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15944 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
15945 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
15947 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
15948 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15950 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
15951 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15953 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
15954 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15956 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
15957 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15959 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
15960 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
15962 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
15963 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
15965 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
15966 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15968 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
15969 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15971 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
15972 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15974 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
15975 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
15977 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
15978 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
15980 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
15981 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15983 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
15984 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15986 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
15987 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15989 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
15990 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
15992 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
15993 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
15995 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
15996 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
15998 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
15999 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16001 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
16002 return (void *)((wxWindow
*) ((wxPanel
*) x
));
16004 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
16005 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
16007 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
16008 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
16010 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
16011 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16013 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
16014 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16016 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
16017 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16019 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
16020 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
16022 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
16023 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16025 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
16026 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
16028 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
16029 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
16031 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
16032 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
16034 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
16035 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
16037 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
16038 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
16040 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16041 return (void *)((wxWindow
*) ((wxControl
*) x
));
16043 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
16044 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16046 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
16047 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16049 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
16050 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16052 static void *_p_wxGridTo_p_wxWindow(void *x
) {
16053 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16055 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16056 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16058 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
16059 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
16061 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
16062 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16064 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16065 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16067 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16068 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16070 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16071 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16073 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16074 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16076 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16077 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16079 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16080 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16082 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16083 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16085 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16086 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16088 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16089 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16091 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16092 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16094 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16095 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16097 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16098 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16100 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16101 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16103 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16104 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16106 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16107 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16109 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16110 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16112 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16113 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16115 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16116 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16118 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16119 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16121 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16122 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16124 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16125 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16127 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16128 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16130 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16131 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16133 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16134 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16136 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16137 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16139 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16140 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16142 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16143 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16145 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16146 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16148 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16149 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16151 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16152 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16154 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16155 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16157 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16158 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16160 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16161 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16163 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16164 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16166 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16167 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16169 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16170 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16172 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16173 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16175 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16176 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16178 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16179 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16181 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16182 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16184 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16185 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16187 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16188 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16190 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16191 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16193 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16194 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16196 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16199 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16200 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16202 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16203 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16205 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16206 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16208 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16209 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16211 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16212 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16214 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16215 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16217 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16218 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16220 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16221 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16223 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16224 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16226 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16227 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16229 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16230 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16232 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16233 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16235 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16236 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16238 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16239 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16241 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16242 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16244 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16247 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16250 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16251 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16253 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16254 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16256 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16259 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16260 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16262 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16263 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16265 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16266 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16268 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16269 return (void *)((wxObject
*) ((wxSizer
*) x
));
16271 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16272 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16274 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16277 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16280 static void *_p_wxEventTo_p_wxObject(void *x
) {
16281 return (void *)((wxObject
*) ((wxEvent
*) x
));
16283 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16284 return (void *)((wxObject
*) ((wxFontData
*) x
));
16286 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16287 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16289 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16290 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16292 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16293 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16295 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16296 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16298 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16299 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16301 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16302 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16304 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16307 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16308 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16310 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16311 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16313 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16314 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16316 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16317 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16319 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16320 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16322 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16323 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16325 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16326 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16328 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16331 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16334 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16337 static void *_p_wxControlTo_p_wxObject(void *x
) {
16338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16340 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16341 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16343 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16344 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16346 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16347 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16349 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16350 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16352 static void *_p_wxGridTo_p_wxObject(void *x
) {
16353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16355 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16356 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16358 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16361 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16362 return (void *)((wxObject
*) ((wxColourData
*) x
));
16364 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16365 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16367 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16370 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16373 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16376 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16379 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16382 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16385 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16388 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16391 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16394 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16397 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16398 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16400 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16401 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16403 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16404 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16406 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16407 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16409 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16412 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16413 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16415 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16416 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16418 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16419 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16421 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16422 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16424 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16425 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16427 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16428 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16430 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16431 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16433 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16434 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16436 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16439 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16442 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16445 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16448 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16451 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16452 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16454 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16455 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16457 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16458 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16460 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16463 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16464 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16466 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16469 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16470 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16472 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16473 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16475 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16476 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16478 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16481 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16484 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16485 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16487 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16490 static void *_p_wxImageTo_p_wxObject(void *x
) {
16491 return (void *)((wxObject
*) ((wxImage
*) x
));
16493 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16496 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16497 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16499 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16500 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16502 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16503 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16505 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16508 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16511 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16514 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16515 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16517 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16518 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16520 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16521 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16523 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16524 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16526 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16529 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16532 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16535 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16536 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16538 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16541 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16544 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16547 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16550 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16553 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16556 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16559 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
16560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
16562 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
16563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
16565 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
16566 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
16568 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
16569 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
16571 static void *_p_wxPanelTo_p_wxObject(void *x
) {
16572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
16574 static void *_p_wxDialogTo_p_wxObject(void *x
) {
16575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16577 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
16578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16580 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
16581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16583 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
16584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16586 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
16587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16589 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
16590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16592 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16593 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16595 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16598 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16599 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16601 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16602 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16604 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16605 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16607 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16608 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16610 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16611 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16613 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
16614 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
16616 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
16617 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16619 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16622 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16623 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16625 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
16626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16628 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
16629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16631 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16632 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16634 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16635 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16637 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16640 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16643 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
16644 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
16646 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
16647 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
16649 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16652 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16653 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16655 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
16656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16658 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
16659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16661 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
16662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16664 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
16665 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
16667 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
16668 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
16670 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
16671 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
16673 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
16674 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
16676 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
16677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16679 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
16680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16682 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
16683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16685 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
16686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16688 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
16689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16691 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
16692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16694 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
16695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16697 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
16698 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
16700 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
16701 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
16703 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
16704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16706 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
16707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16709 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
16710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16712 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
16713 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
16715 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
16716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16718 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
16719 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
16721 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
16722 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
16724 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
16725 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
16727 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
16728 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
16730 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
16731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16733 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
16734 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
16736 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
16737 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
16739 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
16740 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
16742 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
16743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16745 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
16746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16748 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
16749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16751 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
16752 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
16754 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
16755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16757 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
16758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16760 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
16761 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
16763 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
16764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16766 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
16767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16769 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
16770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16772 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16775 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16778 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
16779 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16781 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
16782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16784 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
16785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16787 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
16788 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16790 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
16791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16793 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
16794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16796 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
16797 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16799 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
16800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16802 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
16803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16805 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
16806 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
16808 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
16809 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16811 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
16812 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
16814 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
16815 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
16817 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
16818 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16820 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
16821 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16823 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
16824 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
16826 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
16827 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
16829 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
16830 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16832 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
16833 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16835 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
16836 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16838 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
16839 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16841 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
16842 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16844 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
16845 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
16847 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
16848 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16850 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
16851 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16853 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
16854 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
16856 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
16857 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16859 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
16860 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16862 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
16863 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16865 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
16866 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16868 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
16869 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16871 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
16872 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16874 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
16875 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
16877 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
16878 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16880 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
16881 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16883 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
16884 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16886 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
16887 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16889 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
16890 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
16892 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
16893 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16895 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}};
16896 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}};
16897 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}};
16898 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}};
16899 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}};
16900 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}};
16901 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}};
16902 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}};
16903 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}};
16904 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}};
16905 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}};
16906 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}};
16907 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}};
16908 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}};
16909 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}};
16910 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_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}};
16911 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}};
16912 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}};
16913 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}};
16914 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}};
16915 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_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16916 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_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}};
16917 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}};
16918 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}};
16919 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}};
16920 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_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}};
16921 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}};
16922 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}};
16923 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}};
16924 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}};
16925 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_wxTipWindow", _p_wxTipWindowTo_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_wxScrolledWindow", _p_wxScrolledWindowTo_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}};
16926 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}};
16927 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}};
16928 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}};
16929 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}};
16930 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}};
16931 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}};
16932 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}};
16933 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}};
16934 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}};
16935 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}};
16936 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}};
16937 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}};
16938 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}};
16939 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}};
16940 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}};
16941 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}};
16942 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}};
16943 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}};
16944 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}};
16945 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}};
16946 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}};
16948 static swig_type_info
*swig_types_initial
[] = {
16949 _swigt__p_wxGridCellAutoWrapStringRenderer
,
16950 _swigt__p_wxGridCellEnumRenderer
,
16951 _swigt__p_wxGridCellDateTimeRenderer
,
16952 _swigt__p_wxGridCellBoolRenderer
,
16953 _swigt__p_wxGridCellFloatRenderer
,
16954 _swigt__p_wxGridCellNumberRenderer
,
16955 _swigt__p_wxPyGridCellRenderer
,
16956 _swigt__p_wxGridCellRenderer
,
16957 _swigt__p_wxGridCellStringRenderer
,
16958 _swigt__p_wxGridCellAttr
,
16959 _swigt__p_wxColour
,
16961 _swigt__p_wxGridTableMessage
,
16965 _swigt__p_wxNotifyEvent
,
16966 _swigt__p_wxGridRangeSelectEvent
,
16968 _swigt__p_wxGridCellCoords
,
16969 _swigt__p_wxScrolledWindow
,
16970 _swigt__p_wxWindow
,
16972 _swigt__p_wxControl
,
16974 _swigt__p_wxObject
,
16975 _swigt__p_wxGridSizeEvent
,
16978 _swigt__p_wxString
,
16979 _swigt__p_wxEvtHandler
,
16981 _swigt__p_wxGridEvent
,
16982 _swigt__p_wxGridEditorCreatedEvent
,
16983 _swigt__p_wxGridTableBase
,
16984 _swigt__p_wxGridCellNumberEditor
,
16985 _swigt__p_wxPyGridCellEditor
,
16986 _swigt__p_wxGridCellEditor
,
16987 _swigt__p_wxGridCellTextEditor
,
16988 _swigt__p_wxGridCellFloatEditor
,
16989 _swigt__p_wxGridCellBoolEditor
,
16990 _swigt__p_wxPyGridTableBase
,
16991 _swigt__p_wxGridStringTable
,
16992 _swigt__p_wxArrayString
,
16993 _swigt__p_wxCommandEvent
,
16994 _swigt__p_wxGridCellAttrProvider
,
16995 _swigt__p_wxKeyEvent
,
16996 _swigt__p_wxGridCellChoiceEditor
,
16997 _swigt__p_wxGridCellEnumEditor
,
16998 _swigt__p_wxGridCellAutoWrapStringEditor
,
17000 _swigt__p_wxPyGridCellAttrProvider
,
17005 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17007 static swig_const_info swig_const_table
[] = {
17008 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17009 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
17010 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17011 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
17012 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
17013 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17014 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17015 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
17016 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
17026 SWIGEXPORT(void) SWIG_init(void) {
17027 static PyObject
*SWIG_globals
= 0;
17028 static int typeinit
= 0;
17031 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17032 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17033 d
= PyModule_GetDict(m
);
17036 for (i
= 0; swig_types_initial
[i
]; i
++) {
17037 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17041 SWIG_InstallConstants(d
,swig_const_table
);
17043 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17044 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
17045 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17046 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17047 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17048 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17049 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17050 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17051 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17052 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17053 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17054 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
17055 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
17056 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any
));
17057 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default
));
17058 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell
));
17059 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row
));
17060 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col
));
17061 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged
));
17062 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
17063 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
17064 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
17065 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
17066 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
17067 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
17068 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
17069 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
17070 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells
));
17071 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows
));
17072 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns
));
17073 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17074 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17075 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17076 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17077 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17078 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17079 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17080 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17081 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17082 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17083 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17084 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17085 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17086 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17087 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17088 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));