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
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
219 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
220 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
221 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
222 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
223 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
224 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
225 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
226 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
227 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
228 #define SWIGTYPE_p_wxColour swig_types[10]
229 #define SWIGTYPE_p_wxDC swig_types[11]
230 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
231 #define SWIGTYPE_p_wxGrid swig_types[13]
232 #define SWIGTYPE_p_wxPanel swig_types[14]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[15]
234 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[16]
235 #define SWIGTYPE_p_wxSize swig_types[17]
236 #define SWIGTYPE_p_wxGridCellCoords swig_types[18]
237 #define SWIGTYPE_p_wxScrolledWindow swig_types[19]
238 #define SWIGTYPE_p_wxWindow swig_types[20]
239 #define SWIGTYPE_p_wxFont swig_types[21]
240 #define SWIGTYPE_p_wxControl swig_types[22]
241 #define SWIGTYPE_p_wxEvent swig_types[23]
242 #define SWIGTYPE_p_wxObject swig_types[24]
243 #define SWIGTYPE_p_wxGridSizeEvent swig_types[25]
244 #define SWIGTYPE_p_wxRect swig_types[26]
245 #define SWIGTYPE_p_long swig_types[27]
246 #define SWIGTYPE_p_wxString swig_types[28]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
248 #define SWIGTYPE_p_wxPoint swig_types[30]
249 #define SWIGTYPE_p_wxGridEvent swig_types[31]
250 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[32]
251 #define SWIGTYPE_p_wxGridTableBase swig_types[33]
252 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[34]
253 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
254 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
255 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
256 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
257 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[39]
258 #define SWIGTYPE_p_wxPyGridTableBase swig_types[40]
259 #define SWIGTYPE_p_wxGridStringTable swig_types[41]
260 #define SWIGTYPE_p_wxArrayString swig_types[42]
261 #define SWIGTYPE_p_wxCommandEvent swig_types[43]
262 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[44]
263 #define SWIGTYPE_p_wxKeyEvent swig_types[45]
264 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[46]
265 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[47]
266 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[48]
267 #define SWIGTYPE_p_int swig_types[49]
268 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[50]
269 static swig_type_info
*swig_types
[52];
271 /* -------- TYPES TABLE (END) -------- */
274 /*-----------------------------------------------
276 ------------------------------------------------*/
277 #define SWIG_init init_grid
279 #define SWIG_name "_grid"
281 #include "wx/wxPython/wxPython.h"
282 #include "wx/wxPython/pyclasses.h"
283 #include "wx/wxPython/printfw.h"
286 #include <wx/generic/gridctrl.h>
288 DECLARE_DEF_STRING(PanelNameStr
);
289 DECLARE_DEF_STRING2(DateTimeFormatStr
, wxT("%c"));
290 static const wxString
wxPyEmptyString(wxT(""));
294 #define wxPyMake_TEMPLATE(TYPE) \
295 PyObject* wxPyMake_##TYPE(TYPE* source) { \
296 PyObject* target = NULL; \
298 /* Check if there is already a pointer to a Python object in the \
299 OOR data that we can use. */ \
300 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
302 target = data->m_obj; \
305 /* Otherwise make a new wrapper for it the old fashioned way and \
306 give it the OOR treatment */ \
308 target = wxPyConstructObject(source, wxT(#TYPE), False); \
310 source->SetClientObject(new wxPyOORClientData(target)); \
312 } else { /* source was NULL so return None. */ \
313 Py_INCREF(Py_None); target = Py_None; \
319 wxPyMake_TEMPLATE(wxGridCellRenderer)
320 wxPyMake_TEMPLATE(wxGridCellEditor
)
321 wxPyMake_TEMPLATE(wxGridCellAttr
)
322 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
323 wxPyMake_TEMPLATE(wxGridTableBase
)
327 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
328 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
329 wxGridCellAttr* rval = NULL; \
331 wxPyBeginBlockThreads(); \
332 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
334 wxGridCellAttr* ptr; \
335 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
337 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
342 wxPyEndBlockThreads(); \
344 rval = PCLASS::CBNAME(a, b, c); \
347 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
348 return PCLASS::CBNAME(a, b, c); \
353 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
354 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
355 wxPyBeginBlockThreads(); \
357 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
358 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
359 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
362 wxPyEndBlockThreads(); \
364 PCLASS::CBNAME(attr, a, b); \
366 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
367 PCLASS::CBNAME(attr, a, b); \
372 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
373 void CBNAME(wxGridCellAttr *attr, int val) { \
374 wxPyBeginBlockThreads(); \
376 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
377 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
378 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
381 wxPyEndBlockThreads(); \
383 PCLASS::CBNAME(attr, val); \
385 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
386 PCLASS::CBNAME(attr, val); \
391 #define PYCALLBACK_INT__pure(CBNAME) \
393 wxPyBeginBlockThreads(); \
395 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
396 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
397 wxPyEndBlockThreads(); \
403 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
404 bool CBNAME(int a, int b) { \
405 wxPyBeginBlockThreads(); \
407 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
408 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
409 wxPyEndBlockThreads(); \
414 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
415 wxString CBNAME(int a, int b) { \
416 wxPyBeginBlockThreads(); \
418 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
420 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
422 rval = Py2wxString(ro); \
426 wxPyEndBlockThreads(); \
431 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
432 void CBNAME(int a, int b, const wxString& c) { \
433 wxPyBeginBlockThreads(); \
434 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
435 PyObject* s = wx2PyString(c); \
436 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
439 wxPyEndBlockThreads(); \
443 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
444 wxString CBNAME(int a, int b) { \
446 wxPyBeginBlockThreads(); \
448 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
450 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
452 rval = Py2wxString(ro); \
456 wxPyEndBlockThreads(); \
458 rval = PCLASS::CBNAME(a, b); \
461 wxString base_##CBNAME(int a, int b) { \
462 return PCLASS::CBNAME(a, b); \
466 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
467 bool CBNAME(int a, int b, const wxString& c) { \
470 wxPyBeginBlockThreads(); \
471 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
472 PyObject* s = wx2PyString(c); \
473 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
476 wxPyEndBlockThreads(); \
478 rval = PCLASS::CBNAME(a,b,c); \
481 bool base_##CBNAME(int a, int b, const wxString& c) { \
482 return PCLASS::CBNAME(a,b,c); \
488 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
489 long CBNAME(int a, int b) { \
492 wxPyBeginBlockThreads(); \
493 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
494 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
495 wxPyEndBlockThreads(); \
497 rval = PCLASS::CBNAME(a,b); \
500 long base_##CBNAME(int a, int b) { \
501 return PCLASS::CBNAME(a,b); \
506 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
507 bool CBNAME(int a, int b) { \
510 wxPyBeginBlockThreads(); \
511 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
512 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
513 wxPyEndBlockThreads(); \
515 rval = PCLASS::CBNAME(a,b); \
518 bool base_##CBNAME(int a, int b) { \
519 return PCLASS::CBNAME(a,b); \
524 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
525 double CBNAME(int a, int b) { \
527 wxPyBeginBlockThreads(); \
529 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
531 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
533 PyObject* str = PyObject_Str(ro); \
534 rval = PyFloat_AsDouble(str); \
535 Py_DECREF(ro); Py_DECREF(str); \
538 wxPyEndBlockThreads(); \
540 rval = PCLASS::CBNAME(a, b); \
543 double base_##CBNAME(int a, int b) { \
544 return PCLASS::CBNAME(a, b); \
549 #define PYCALLBACK__(PCLASS, CBNAME) \
552 wxPyBeginBlockThreads(); \
553 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
554 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
555 wxPyEndBlockThreads(); \
559 void base_##CBNAME() { \
566 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
567 bool CBNAME(size_t a, size_t b) { \
570 wxPyBeginBlockThreads(); \
571 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
572 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
573 wxPyEndBlockThreads(); \
575 rval = PCLASS::CBNAME(a,b); \
578 bool base_##CBNAME(size_t a, size_t b) { \
579 return PCLASS::CBNAME(a,b); \
584 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
585 bool CBNAME(size_t a) { \
588 wxPyBeginBlockThreads(); \
589 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
590 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
591 wxPyEndBlockThreads(); \
593 rval = PCLASS::CBNAME(a); \
596 bool base_##CBNAME(size_t a) { \
597 return PCLASS::CBNAME(a); \
601 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
602 wxString CBNAME(int a) { \
604 wxPyBeginBlockThreads(); \
606 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
608 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
610 rval = Py2wxString(ro); \
614 wxPyEndBlockThreads(); \
616 rval = PCLASS::CBNAME(a); \
619 wxString base_##CBNAME(int a) { \
620 return PCLASS::CBNAME(a); \
624 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
625 void CBNAME(int a, const wxString& c) { \
627 wxPyBeginBlockThreads(); \
628 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
629 PyObject* s = wx2PyString(c); \
630 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
633 wxPyEndBlockThreads(); \
635 PCLASS::CBNAME(a,c); \
637 void base_##CBNAME(int a, const wxString& c) { \
638 PCLASS::CBNAME(a,c); \
644 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
648 wxPyBeginBlockThreads(); \
649 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
650 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
651 wxPyEndBlockThreads(); \
653 rval = PCLASS::CBNAME(); \
656 bool base_##CBNAME() { \
657 return PCLASS::CBNAME(); \
662 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
663 void CBNAME(size_t a, int b) { \
665 wxPyBeginBlockThreads(); \
666 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
667 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
668 wxPyEndBlockThreads(); \
670 PCLASS::CBNAME(a,b); \
672 void base_##CBNAME(size_t a, int b) { \
673 PCLASS::CBNAME(a,b); \
679 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
680 void CBNAME(int a, int b, long c) { \
682 wxPyBeginBlockThreads(); \
683 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
684 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
685 wxPyEndBlockThreads(); \
687 PCLASS::CBNAME(a,b,c); \
689 void base_##CBNAME(int a, int b, long c) { \
690 PCLASS::CBNAME(a,b,c); \
696 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
697 void CBNAME(int a, int b, double c) { \
699 wxPyBeginBlockThreads(); \
700 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
701 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
702 wxPyEndBlockThreads(); \
704 PCLASS::CBNAME(a,b,c); \
706 void base_##CBNAME(int a, int b, double c) { \
707 PCLASS::CBNAME(a,b,c); \
712 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
713 void CBNAME(int a, int b, bool c) { \
715 wxPyBeginBlockThreads(); \
716 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
717 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
718 wxPyEndBlockThreads(); \
720 PCLASS::CBNAME(a,b,c); \
722 void base_##CBNAME(int a, int b, bool c) { \
723 PCLASS::CBNAME(a,b,c); \
730 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
731 self
->SetClientObject(new wxPyOORClientData(_self
));
734 class wxPyGridCellRenderer
: public wxGridCellRenderer
737 wxPyGridCellRenderer() : wxGridCellRenderer() {};
739 // Implement Python callback aware virtual methods
740 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
741 wxDC
& dc
, const wxRect
& rect
,
742 int row
, int col
, bool isSelected
) {
743 wxPyBeginBlockThreads();
744 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
745 PyObject
* go
= wxPyMake_wxObject(&grid
);
746 PyObject
* dco
= wxPyMake_wxObject(&dc
);
747 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
748 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
750 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
751 row
, col
, isSelected
));
757 wxPyEndBlockThreads();
760 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
763 wxPyBeginBlockThreads();
764 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
767 PyObject
* go
= wxPyMake_wxObject(&grid
);
768 PyObject
* dco
= wxPyMake_wxObject(&dc
);
769 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
771 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
779 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
780 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
783 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
784 PyObject
* o1
= PySequence_GetItem(ro
, 0);
785 PyObject
* o2
= PySequence_GetItem(ro
, 1);
786 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
787 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
789 PyErr_SetString(PyExc_TypeError
, errmsg
);
794 PyErr_SetString(PyExc_TypeError
, errmsg
);
799 wxPyEndBlockThreads();
804 wxGridCellRenderer
*Clone() const {
805 wxGridCellRenderer
* rval
= NULL
;
806 wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
809 wxGridCellRenderer
* ptr
;
810 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
812 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
817 wxPyEndBlockThreads();
821 DEC_PYCALLBACK__STRING(SetParameters
);
826 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
829 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
830 self
->SetClientObject(new wxPyOORClientData(_self
));
833 class wxPyGridCellEditor
: public wxGridCellEditor
836 wxPyGridCellEditor() : wxGridCellEditor() {}
838 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
839 wxPyBeginBlockThreads();
840 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
841 PyObject
* po
= wxPyMake_wxObject(parent
);
842 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
844 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
848 wxPyEndBlockThreads();
852 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
853 wxPyBeginBlockThreads();
854 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
855 PyObject
* go
= wxPyMake_wxObject(grid
);
856 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
859 wxPyEndBlockThreads();
863 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
865 wxPyBeginBlockThreads();
866 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
867 PyObject
* go
= wxPyMake_wxObject(grid
);
868 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
871 wxPyEndBlockThreads();
876 wxGridCellEditor
* Clone() const {
877 wxGridCellEditor
* rval
= NULL
;
878 wxPyBeginBlockThreads();
879 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
881 wxGridCellEditor
* ptr
;
882 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
884 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
889 wxPyEndBlockThreads();
894 void Show(bool show
, wxGridCellAttr
*attr
) {
896 wxPyBeginBlockThreads();
897 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
898 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
899 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
902 wxPyEndBlockThreads();
904 wxGridCellEditor::Show(show
, attr
);
906 void base_Show(bool show
, wxGridCellAttr
*attr
) {
907 wxGridCellEditor::Show(show
, attr
);
911 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
913 wxPyBeginBlockThreads();
914 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
915 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
916 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
918 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
923 wxPyEndBlockThreads();
925 wxGridCellEditor::PaintBackground(rectCell
, attr
);
927 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
928 wxGridCellEditor::PaintBackground(rectCell
, attr
);
932 DEC_PYCALLBACK___pure(Reset
);
933 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
934 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
935 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
936 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
937 DEC_PYCALLBACK__(StartingClick
);
938 DEC_PYCALLBACK__(Destroy
);
939 DEC_PYCALLBACK__STRING(SetParameters
);
940 DEC_PYCALLBACK_STRING__constpure(GetValue
);
946 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
947 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
948 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
949 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
950 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
951 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
952 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
953 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
954 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
957 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
958 self
->SetClientObject(new wxPyOORClientData(_self
));
961 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
967 } else if (target
== Py_None
) {
971 if (!PyTuple_Check(target
)) {
973 target
= PyTuple_New(1);
974 PyTuple_SetItem(target
, 0, o2
);
977 PyTuple_SetItem(o3
, 0, o
);
980 target
= PySequence_Concat(o2
, o3
);
987 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
988 self
->SetClientObject(new wxPyOORClientData(_self
));
991 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
994 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
996 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
997 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
998 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
999 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1004 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1005 self
->SetClientObject(new wxPyOORClientData(_self
));
1008 class wxPyGridTableBase
: public wxGridTableBase
1011 wxPyGridTableBase() : wxGridTableBase() {}
1013 PYCALLBACK_INT__pure(GetNumberRows
);
1014 PYCALLBACK_INT__pure(GetNumberCols
);
1015 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1016 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1017 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1018 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1019 PYCALLBACK__(wxGridTableBase
, Clear
);
1020 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1021 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1022 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1023 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1024 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1025 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1026 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1027 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1028 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1029 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1030 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1031 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1032 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1033 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1034 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1037 wxString
GetValue(int row
, int col
) {
1038 wxPyBeginBlockThreads();
1040 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1042 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1044 rval
= Py2wxString(ro
);
1048 wxPyEndBlockThreads();
1052 void SetValue(int row
, int col
, const wxString
& val
) {
1053 wxPyBeginBlockThreads();
1054 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1055 PyObject
* s
= wx2PyString(val
);
1056 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1059 wxPyEndBlockThreads();
1063 // Map the Get/Set methods for the standard non-string types to
1064 // the GetValue and SetValue python methods.
1065 long GetValueAsLong( int row
, int col
) {
1067 wxPyBeginBlockThreads();
1068 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1071 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1072 if (ro
&& PyNumber_Check(ro
)) {
1073 num
= PyNumber_Int(ro
);
1075 rval
= PyInt_AsLong(num
);
1081 wxPyEndBlockThreads();
1085 double GetValueAsDouble( int row
, int col
) {
1087 wxPyBeginBlockThreads();
1088 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1091 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1092 if (ro
&& PyNumber_Check(ro
)) {
1093 num
= PyNumber_Float(ro
);
1095 rval
= PyFloat_AsDouble(num
);
1101 wxPyEndBlockThreads();
1105 bool GetValueAsBool( int row
, int col
) {
1106 return (bool)GetValueAsLong(row
, col
);
1109 void SetValueAsLong( int row
, int col
, long value
) {
1110 wxPyBeginBlockThreads();
1111 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1112 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1114 wxPyEndBlockThreads();
1117 void SetValueAsDouble( int row
, int col
, double value
) {
1118 wxPyBeginBlockThreads();
1119 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1120 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1122 wxPyEndBlockThreads();
1125 void SetValueAsBool( int row
, int col
, bool value
) {
1126 SetValueAsLong( row
, col
, (long)value
);
1133 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1134 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1135 PyObject
* tup
= PyTuple_New(2);
1136 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1137 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1141 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1143 // If source is an object instance then it may already be the right type
1144 if (wxPySwigInstance_Check(source
)) {
1145 wxGridCellCoords
* ptr
;
1146 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1151 // otherwise a 2-tuple of integers is expected
1152 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1153 PyObject
* o1
= PySequence_GetItem(source
, 0);
1154 PyObject
* o2
= PySequence_GetItem(source
, 1);
1155 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1160 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1167 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1172 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1175 if (wxPySwigInstance_Check(source
) &&
1176 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1180 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1187 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1189 PyObject
* list
= PyList_New(0);
1191 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1192 wxGridCellCoords
& coord
= source
.Item(idx
);
1193 PyObject
* tup
= PyTuple_New(2);
1194 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1195 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1196 PyList_Append(list
, tup
);
1203 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1205 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1206 wxGridCellCoords rv
;
1207 self
->XYToCell(x
, y
, rv
);
1213 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1214 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1219 static PyObject
*_wrap_GridNoCellCoords_get() {
1222 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellCoords
, SWIGTYPE_p_wxGridCellCoords
, 0);
1227 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1228 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1233 static PyObject
*_wrap_GridNoCellRect_get() {
1236 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellRect
, SWIGTYPE_p_wxRect
, 0);
1241 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
*resultobj
;
1243 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1244 PyObject
*arg2
= (PyObject
*) 0 ;
1245 PyObject
* obj0
= 0 ;
1246 PyObject
* obj1
= 0 ;
1248 (char *) "self",(char *) "_self", NULL
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1261 Py_INCREF(Py_None
); resultobj
= Py_None
;
1268 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
*resultobj
;
1270 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1271 wxString
*arg2
= 0 ;
1272 bool temp2
= False
;
1273 PyObject
* obj0
= 0 ;
1274 PyObject
* obj1
= 0 ;
1276 (char *) "self",(char *) "params", NULL
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1282 arg2
= wxString_in_helper(obj1
);
1283 if (arg2
== NULL
) SWIG_fail
;
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 (arg1
)->SetParameters((wxString
const &)*arg2
);
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1293 Py_INCREF(Py_None
); resultobj
= Py_None
;
1308 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
*resultobj
;
1310 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1311 PyObject
* obj0
= 0 ;
1313 (char *) "self", NULL
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 wxPyEndAllowThreads(__tstate
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1325 Py_INCREF(Py_None
); resultobj
= Py_None
;
1332 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
*resultobj
;
1334 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1335 PyObject
* obj0
= 0 ;
1337 (char *) "self", NULL
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1349 Py_INCREF(Py_None
); resultobj
= Py_None
;
1356 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
*resultobj
;
1358 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1360 wxGridCellAttr
*arg3
= 0 ;
1367 PyObject
* obj0
= 0 ;
1368 PyObject
* obj1
= 0 ;
1369 PyObject
* obj2
= 0 ;
1370 PyObject
* obj3
= 0 ;
1371 PyObject
* obj4
= 0 ;
1372 PyObject
* obj7
= 0 ;
1374 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOiiO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
)) goto fail
;
1378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1381 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1383 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1387 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1393 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1395 arg8
= PyInt_AsLong(obj7
) ? true : false;
1396 if (PyErr_Occurred()) SWIG_fail
;
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) SWIG_fail
;
1404 Py_INCREF(Py_None
); resultobj
= Py_None
;
1411 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
*resultobj
;
1413 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1415 wxGridCellAttr
*arg3
= 0 ;
1420 PyObject
* obj0
= 0 ;
1421 PyObject
* obj1
= 0 ;
1422 PyObject
* obj2
= 0 ;
1423 PyObject
* obj3
= 0 ;
1425 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOii:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
1429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1434 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1436 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1438 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1440 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1451 resultptr
= new wxSize((wxSize
&) result
);
1452 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1460 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
*resultobj
;
1462 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1463 wxGridCellRenderer
*result
;
1464 PyObject
* obj0
= 0 ;
1466 (char *) "self", NULL
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1479 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1487 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1490 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1492 return Py_BuildValue((char *)"");
1494 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
*resultobj
;
1496 wxPyGridCellRenderer
*result
;
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) SWIG_fail
;
1509 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1516 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
*resultobj
;
1518 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1519 PyObject
*arg2
= (PyObject
*) 0 ;
1520 PyObject
*arg3
= (PyObject
*) 0 ;
1521 PyObject
* obj0
= 0 ;
1522 PyObject
* obj1
= 0 ;
1523 PyObject
* obj2
= 0 ;
1525 (char *) "self",(char *) "self",(char *) "_class", NULL
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) SWIG_fail
;
1539 Py_INCREF(Py_None
); resultobj
= Py_None
;
1546 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
*resultobj
;
1548 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1549 wxString
*arg2
= 0 ;
1550 bool temp2
= False
;
1551 PyObject
* obj0
= 0 ;
1552 PyObject
* obj1
= 0 ;
1554 (char *) "self",(char *) "params", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1560 arg2
= wxString_in_helper(obj1
);
1561 if (arg2
== NULL
) SWIG_fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 Py_INCREF(Py_None
); resultobj
= Py_None
;
1586 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1589 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1591 return Py_BuildValue((char *)"");
1593 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
*resultobj
;
1595 wxGridCellStringRenderer
*result
;
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1615 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1618 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1620 return Py_BuildValue((char *)"");
1622 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxGridCellNumberRenderer
*result
;
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1644 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1647 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1649 return Py_BuildValue((char *)"");
1651 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
*resultobj
;
1653 int arg1
= (int) -1 ;
1654 int arg2
= (int) -1 ;
1655 wxGridCellFloatRenderer
*result
;
1657 (char *) "width",(char *) "precision", NULL
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellFloatRenderer",kwnames
,&arg1
,&arg2
)) goto fail
;
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1675 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
*resultobj
;
1677 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1679 PyObject
* obj0
= 0 ;
1681 (char *) "self", NULL
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 resultobj
= PyInt_FromLong((long)result
);
1700 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1704 PyObject
* obj0
= 0 ;
1706 (char *) "self",(char *) "width", NULL
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 (arg1
)->SetWidth(arg2
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1718 Py_INCREF(Py_None
); resultobj
= Py_None
;
1725 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1729 PyObject
* obj0
= 0 ;
1731 (char *) "self", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1743 resultobj
= PyInt_FromLong((long)result
);
1750 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1754 PyObject
* obj0
= 0 ;
1756 (char *) "self",(char *) "precision", NULL
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&arg2
)) goto fail
;
1760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 (arg1
)->SetPrecision(arg2
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) SWIG_fail
;
1768 Py_INCREF(Py_None
); resultobj
= Py_None
;
1775 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1778 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
1780 return Py_BuildValue((char *)"");
1782 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxGridCellBoolRenderer
*result
;
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
1804 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1807 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
1809 return Py_BuildValue((char *)"");
1811 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
*resultobj
;
1813 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
1814 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
1815 wxGridCellDateTimeRenderer
*result
;
1816 PyObject
* obj0
= 0 ;
1817 PyObject
* obj1
= 0 ;
1819 (char *) "outformat",(char *) "informat", NULL
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1825 wxString
* sptr
= wxString_in_helper(obj0
);
1826 if (sptr
== NULL
) SWIG_fail
;
1833 wxString
* sptr
= wxString_in_helper(obj1
);
1834 if (sptr
== NULL
) SWIG_fail
;
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
1853 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1856 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
1858 return Py_BuildValue((char *)"");
1860 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1863 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1864 wxGridCellEnumRenderer
*result
;
1865 bool temp1
= False
;
1866 PyObject
* obj0
= 0 ;
1868 (char *) "choices", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
1874 arg1
= wxString_in_helper(obj0
);
1875 if (arg1
== NULL
) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
1901 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1904 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
1906 return Py_BuildValue((char *)"");
1908 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxGridCellAutoWrapStringRenderer
*result
;
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1923 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
1930 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1933 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
1935 return Py_BuildValue((char *)"");
1937 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
*resultobj
;
1939 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1940 PyObject
*arg2
= (PyObject
*) 0 ;
1941 PyObject
* obj0
= 0 ;
1942 PyObject
* obj1
= 0 ;
1944 (char *) "self",(char *) "_self", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 wxGridCellEditor__setOORInfo(arg1
,arg2
);
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 Py_INCREF(Py_None
); resultobj
= Py_None
;
1964 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1970 (char *) "self", NULL
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
1974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (bool)(arg1
)->IsCreated();
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= PyInt_FromLong((long)result
);
1989 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1993 PyObject
* obj0
= 0 ;
1995 (char *) "self", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 result
= (wxControl
*)(arg1
)->GetControl();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2008 resultobj
= wxPyMake_wxObject(result
);
2016 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
*resultobj
;
2018 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2019 wxControl
*arg2
= (wxControl
*) 0 ;
2020 PyObject
* obj0
= 0 ;
2021 PyObject
* obj1
= 0 ;
2023 (char *) "self",(char *) "control", NULL
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 (arg1
)->SetControl(arg2
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 Py_INCREF(Py_None
); resultobj
= Py_None
;
2043 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2046 wxGridCellAttr
*result
;
2047 PyObject
* obj0
= 0 ;
2049 (char *) "self", NULL
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2062 resultobj
= wxPyMake_wxGridCellAttr(result
);
2070 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2073 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 (char *) "self",(char *) "attr", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2085 (arg1
)->SetCellAttr(arg2
);
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 Py_INCREF(Py_None
); resultobj
= Py_None
;
2097 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2099 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2100 wxString
*arg2
= 0 ;
2101 bool temp2
= False
;
2102 PyObject
* obj0
= 0 ;
2103 PyObject
* obj1
= 0 ;
2105 (char *) "self",(char *) "params", NULL
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2111 arg2
= wxString_in_helper(obj1
);
2112 if (arg2
== NULL
) SWIG_fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 (arg1
)->SetParameters((wxString
const &)*arg2
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2122 Py_INCREF(Py_None
); resultobj
= Py_None
;
2137 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
*resultobj
;
2139 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2140 PyObject
* obj0
= 0 ;
2142 (char *) "self", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2154 Py_INCREF(Py_None
); resultobj
= Py_None
;
2161 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
*resultobj
;
2163 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2164 PyObject
* obj0
= 0 ;
2166 (char *) "self", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2178 Py_INCREF(Py_None
); resultobj
= Py_None
;
2185 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
*resultobj
;
2187 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2188 wxWindow
*arg2
= (wxWindow
*) 0 ;
2190 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2192 PyObject
* obj1
= 0 ;
2193 PyObject
* obj3
= 0 ;
2195 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2201 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 (arg1
)->Create(arg2
,arg3
,arg4
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 Py_INCREF(Py_None
); resultobj
= Py_None
;
2216 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
;
2218 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2221 wxGrid
*arg4
= (wxGrid
*) 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj3
= 0 ;
2225 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2230 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 Py_INCREF(Py_None
); resultobj
= Py_None
;
2245 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2250 wxGrid
*arg4
= (wxGrid
*) 0 ;
2252 PyObject
* obj0
= 0 ;
2253 PyObject
* obj3
= 0 ;
2255 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_EndEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2260 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 resultobj
= PyInt_FromLong((long)result
);
2275 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2278 PyObject
* obj0
= 0 ;
2280 (char *) "self", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 Py_INCREF(Py_None
); resultobj
= Py_None
;
2299 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2302 wxGridCellEditor
*result
;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "self", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2318 resultobj
= wxPyMake_wxGridCellEditor(result
);
2326 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2332 PyObject
* obj1
= 0 ;
2334 (char *) "self",(char *) "rect", NULL
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 (arg1
)->SetSize((wxRect
const &)*arg2
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 Py_INCREF(Py_None
); resultobj
= Py_None
;
2357 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2361 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2362 PyObject
* obj0
= 0 ;
2363 PyObject
* obj1
= 0 ;
2364 PyObject
* obj2
= 0 ;
2366 (char *) "self",(char *) "show",(char *) "attr", NULL
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2371 arg2
= PyInt_AsLong(obj1
) ? true : false;
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 (arg1
)->Show(arg2
,arg3
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 Py_INCREF(Py_None
); resultobj
= Py_None
;
2390 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2394 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2397 PyObject
* obj1
= 0 ;
2398 PyObject
* obj2
= 0 ;
2400 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2407 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2409 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2417 Py_INCREF(Py_None
); resultobj
= Py_None
;
2424 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2427 wxKeyEvent
*arg2
= 0 ;
2429 PyObject
* obj0
= 0 ;
2430 PyObject
* obj1
= 0 ;
2432 (char *) "self",(char *) "event", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2437 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2439 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 resultobj
= PyInt_FromLong((long)result
);
2455 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2458 wxKeyEvent
*arg2
= 0 ;
2459 PyObject
* obj0
= 0 ;
2460 PyObject
* obj1
= 0 ;
2462 (char *) "self",(char *) "event", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2467 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2469 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 (arg1
)->StartingKey(*arg2
);
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2478 Py_INCREF(Py_None
); resultobj
= Py_None
;
2485 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2488 PyObject
* obj0
= 0 ;
2490 (char *) "self", NULL
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 (arg1
)->StartingClick();
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2502 Py_INCREF(Py_None
); resultobj
= Py_None
;
2509 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2512 wxKeyEvent
*arg2
= 0 ;
2513 PyObject
* obj0
= 0 ;
2514 PyObject
* obj1
= 0 ;
2516 (char *) "self",(char *) "event", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2523 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 (arg1
)->HandleReturn(*arg2
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2532 Py_INCREF(Py_None
); resultobj
= Py_None
;
2539 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
*resultobj
;
2541 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2542 PyObject
* obj0
= 0 ;
2544 (char *) "self", NULL
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2556 Py_INCREF(Py_None
); resultobj
= Py_None
;
2563 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2566 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2568 return Py_BuildValue((char *)"");
2570 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
*resultobj
;
2572 wxPyGridCellEditor
*result
;
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2585 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellEditor
, 1);
2592 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2595 PyObject
*arg2
= (PyObject
*) 0 ;
2596 PyObject
*arg3
= (PyObject
*) 0 ;
2597 PyObject
* obj0
= 0 ;
2598 PyObject
* obj1
= 0 ;
2599 PyObject
* obj2
= 0 ;
2601 (char *) "self",(char *) "self",(char *) "_class", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2612 wxPyEndAllowThreads(__tstate
);
2613 if (PyErr_Occurred()) SWIG_fail
;
2615 Py_INCREF(Py_None
); resultobj
= Py_None
;
2622 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
*resultobj
;
2624 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2627 PyObject
* obj0
= 0 ;
2628 PyObject
* obj1
= 0 ;
2630 (char *) "self",(char *) "rect", NULL
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2637 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2646 Py_INCREF(Py_None
); resultobj
= Py_None
;
2653 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2657 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2658 PyObject
* obj0
= 0 ;
2659 PyObject
* obj1
= 0 ;
2660 PyObject
* obj2
= 0 ;
2662 (char *) "self",(char *) "show",(char *) "attr", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2667 arg2
= PyInt_AsLong(obj1
) ? true : false;
2668 if (PyErr_Occurred()) SWIG_fail
;
2670 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 (arg1
)->base_Show(arg2
,arg3
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2679 Py_INCREF(Py_None
); resultobj
= Py_None
;
2686 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
*resultobj
;
2688 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2690 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2692 PyObject
* obj0
= 0 ;
2693 PyObject
* obj1
= 0 ;
2694 PyObject
* obj2
= 0 ;
2696 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2703 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2705 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 Py_INCREF(Py_None
); resultobj
= Py_None
;
2720 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2723 wxKeyEvent
*arg2
= 0 ;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2728 (char *) "self",(char *) "event", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2735 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 resultobj
= PyInt_FromLong((long)result
);
2751 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2754 wxKeyEvent
*arg2
= 0 ;
2755 PyObject
* obj0
= 0 ;
2756 PyObject
* obj1
= 0 ;
2758 (char *) "self",(char *) "event", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2763 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2765 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 (arg1
)->base_StartingKey(*arg2
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2774 Py_INCREF(Py_None
); resultobj
= Py_None
;
2781 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "self", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
2790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 (arg1
)->base_StartingClick();
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2798 Py_INCREF(Py_None
); resultobj
= Py_None
;
2805 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2808 wxKeyEvent
*arg2
= 0 ;
2809 PyObject
* obj0
= 0 ;
2810 PyObject
* obj1
= 0 ;
2812 (char *) "self",(char *) "event", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 (arg1
)->base_HandleReturn(*arg2
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 Py_INCREF(Py_None
); resultobj
= Py_None
;
2835 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2837 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2838 PyObject
* obj0
= 0 ;
2840 (char *) "self", NULL
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
2844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 (arg1
)->base_Destroy();
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2852 Py_INCREF(Py_None
); resultobj
= Py_None
;
2859 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
*resultobj
;
2861 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2862 wxString
*arg2
= 0 ;
2863 bool temp2
= False
;
2864 PyObject
* obj0
= 0 ;
2865 PyObject
* obj1
= 0 ;
2867 (char *) "self",(char *) "params", NULL
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2873 arg2
= wxString_in_helper(obj1
);
2874 if (arg2
== NULL
) SWIG_fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2884 Py_INCREF(Py_None
); resultobj
= Py_None
;
2899 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2902 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
2904 return Py_BuildValue((char *)"");
2906 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxGridCellTextEditor
*result
;
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2916 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellTextEditor
, 1);
2928 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
2932 PyObject
* obj0
= 0 ;
2934 (char *) "self", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
2938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellTextEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= (arg1
)->GetValue();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2959 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2962 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
2964 return Py_BuildValue((char *)"");
2966 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 int arg1
= (int) -1 ;
2969 int arg2
= (int) -1 ;
2970 wxGridCellNumberEditor
*result
;
2972 (char *) "min",(char *) "max", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellNumberEditor",kwnames
,&arg1
,&arg2
)) goto fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberEditor
, 1);
2990 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
*resultobj
;
2992 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2996 (char *) "self", NULL
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellNumberEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 result
= (arg1
)->GetValue();
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3021 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3024 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3026 return Py_BuildValue((char *)"");
3028 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxGridCellFloatEditor
*result
;
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3050 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3054 PyObject
* obj0
= 0 ;
3056 (char *) "self", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 result
= (arg1
)->GetValue();
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3081 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3084 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3086 return Py_BuildValue((char *)"");
3088 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxGridCellBoolEditor
*result
;
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) SWIG_fail
;
3103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3110 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
*resultobj
;
3112 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3114 PyObject
* obj0
= 0 ;
3116 (char *) "self", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellBoolEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 result
= (arg1
)->GetValue();
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3141 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3144 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3146 return Py_BuildValue((char *)"");
3148 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 int arg1
= (int) 0 ;
3151 wxString
*arg2
= (wxString
*) NULL
;
3152 bool arg3
= (bool) False
;
3153 wxGridCellChoiceEditor
*result
;
3154 PyObject
* obj1
= 0 ;
3155 PyObject
* obj2
= 0 ;
3157 (char *) "LCOUNT",(char *) "choices",(char *) "allowOthers", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOO:new_GridCellChoiceEditor",kwnames
,&arg1
,&obj1
,&obj2
)) goto fail
;
3162 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3165 arg3
= PyInt_AsLong(obj2
) ? true : false;
3166 if (PyErr_Occurred()) SWIG_fail
;
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3182 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3186 PyObject
* obj0
= 0 ;
3188 (char *) "self", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 result
= (arg1
)->GetValue();
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3213 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3216 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3218 return Py_BuildValue((char *)"");
3220 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3223 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3224 wxGridCellEnumEditor
*result
;
3225 bool temp1
= False
;
3226 PyObject
* obj0
= 0 ;
3228 (char *) "choices", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3234 arg1
= wxString_in_helper(obj0
);
3235 if (arg1
== NULL
) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3261 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3265 PyObject
* obj0
= 0 ;
3267 (char *) "self", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEnumEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 result
= (arg1
)->GetValue();
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3292 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3295 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3297 return Py_BuildValue((char *)"");
3299 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxGridCellAutoWrapStringEditor
*result
;
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3321 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
;
3323 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3325 PyObject
* obj0
= 0 ;
3327 (char *) "self", NULL
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 result
= (arg1
)->GetValue();
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3352 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3355 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3357 return Py_BuildValue((char *)"");
3359 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
*resultobj
;
3361 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3362 PyObject
*arg2
= (PyObject
*) 0 ;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3366 (char *) "self",(char *) "_self", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 Py_INCREF(Py_None
); resultobj
= Py_None
;
3386 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3389 wxGridCellAttr
*result
;
3390 PyObject
* obj0
= 0 ;
3392 (char *) "attrDefault", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3407 resultobj
= wxPyMake_wxGridCellAttr(result
);
3415 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3418 wxGridCellAttr
*result
;
3419 PyObject
* obj0
= 0 ;
3421 (char *) "self", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3434 resultobj
= wxPyMake_wxGridCellAttr(result
);
3442 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3445 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3446 PyObject
* obj0
= 0 ;
3447 PyObject
* obj1
= 0 ;
3449 (char *) "self",(char *) "mergefrom", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 (arg1
)->MergeWith(arg2
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 Py_INCREF(Py_None
); resultobj
= Py_None
;
3469 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3471 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3472 PyObject
* obj0
= 0 ;
3474 (char *) "self", NULL
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3486 Py_INCREF(Py_None
); resultobj
= Py_None
;
3493 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
*resultobj
;
3495 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3498 (char *) "self", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3517 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3520 wxColour
*arg2
= 0 ;
3522 PyObject
* obj0
= 0 ;
3523 PyObject
* obj1
= 0 ;
3525 (char *) "self",(char *) "colText", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 Py_INCREF(Py_None
); resultobj
= Py_None
;
3548 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3551 wxColour
*arg2
= 0 ;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3556 (char *) "self",(char *) "colBack", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3563 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 Py_INCREF(Py_None
); resultobj
= Py_None
;
3579 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3584 PyObject
* obj1
= 0 ;
3586 (char *) "self",(char *) "font", NULL
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3593 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 (arg1
)->SetFont((wxFont
const &)*arg2
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3602 Py_INCREF(Py_None
); resultobj
= Py_None
;
3609 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3616 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 (arg1
)->SetAlignment(arg2
,arg3
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 Py_INCREF(Py_None
); resultobj
= Py_None
;
3635 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3640 PyObject
* obj0
= 0 ;
3642 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 (arg1
)->SetSize(arg2
,arg3
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 Py_INCREF(Py_None
); resultobj
= Py_None
;
3661 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
*resultobj
;
3663 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3664 bool arg2
= (bool) True
;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3668 (char *) "self",(char *) "allow", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
3672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3674 arg2
= PyInt_AsLong(obj1
) ? true : false;
3675 if (PyErr_Occurred()) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->SetOverflow(arg2
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3694 bool arg2
= (bool) True
;
3695 PyObject
* obj0
= 0 ;
3696 PyObject
* obj1
= 0 ;
3698 (char *) "self",(char *) "isReadOnly", NULL
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
3702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3704 arg2
= PyInt_AsLong(obj1
) ? true : false;
3705 if (PyErr_Occurred()) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->SetReadOnly(arg2
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3724 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3728 (char *) "self",(char *) "renderer", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 (arg1
)->SetRenderer(arg2
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 Py_INCREF(Py_None
); resultobj
= Py_None
;
3748 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3750 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3751 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
3752 PyObject
* obj0
= 0 ;
3753 PyObject
* obj1
= 0 ;
3755 (char *) "self",(char *) "editor", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 (arg1
)->SetEditor(arg2
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 Py_INCREF(Py_None
); resultobj
= Py_None
;
3775 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3779 PyObject
* obj0
= 0 ;
3781 (char *) "self",(char *) "kind", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellAttr_SetKind",kwnames
,&obj0
,&arg2
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 Py_INCREF(Py_None
); resultobj
= Py_None
;
3800 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3804 PyObject
* obj0
= 0 ;
3806 (char *) "self", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= PyInt_FromLong((long)result
);
3825 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3831 (char *) "self", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= PyInt_FromLong((long)result
);
3850 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3854 PyObject
* obj0
= 0 ;
3856 (char *) "self", NULL
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
3860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 resultobj
= PyInt_FromLong((long)result
);
3875 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
;
3877 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3879 PyObject
* obj0
= 0 ;
3881 (char *) "self", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= PyInt_FromLong((long)result
);
3900 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3906 (char *) "self", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= PyInt_FromLong((long)result
);
3925 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "self", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
3935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 resultobj
= PyInt_FromLong((long)result
);
3950 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3956 (char *) "self", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
3960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= PyInt_FromLong((long)result
);
3975 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3977 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3979 PyObject
* obj0
= 0 ;
3981 (char *) "self", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= PyInt_FromLong((long)result
);
4000 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4004 PyObject
* obj0
= 0 ;
4006 (char *) "self", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4019 wxColour
* resultptr
;
4020 resultptr
= new wxColour((wxColour
&) result
);
4021 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4029 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4035 (char *) "self", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4048 wxColour
* resultptr
;
4049 resultptr
= new wxColour((wxColour
&) result
);
4050 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4058 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4062 PyObject
* obj0
= 0 ;
4064 (char *) "self", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4078 resultptr
= new wxFont((wxFont
&) result
);
4079 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
4087 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4090 int *arg2
= (int *) 0 ;
4091 int *arg3
= (int *) 0 ;
4094 PyObject
* obj0
= 0 ;
4096 (char *) "self", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 Py_INCREF(Py_None
); resultobj
= Py_None
;
4112 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4113 resultobj
= t_output_helper(resultobj
,o
);
4116 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4117 resultobj
= t_output_helper(resultobj
,o
);
4125 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4128 int *arg2
= (int *) 0 ;
4129 int *arg3
= (int *) 0 ;
4132 PyObject
* obj0
= 0 ;
4134 (char *) "self", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 Py_INCREF(Py_None
); resultobj
= Py_None
;
4150 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4151 resultobj
= t_output_helper(resultobj
,o
);
4154 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4155 resultobj
= t_output_helper(resultobj
,o
);
4163 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4167 PyObject
* obj0
= 0 ;
4169 (char *) "self", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= PyInt_FromLong((long)result
);
4188 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4191 wxGrid
*arg2
= (wxGrid
*) 0 ;
4194 wxGridCellRenderer
*result
;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4198 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4220 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4223 wxGrid
*arg2
= (wxGrid
*) 0 ;
4226 wxGridCellEditor
*result
;
4227 PyObject
* obj0
= 0 ;
4228 PyObject
* obj1
= 0 ;
4230 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= wxPyMake_wxGridCellEditor(result
);
4252 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4256 PyObject
* obj0
= 0 ;
4258 (char *) "self", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= PyInt_FromLong((long)result
);
4277 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4280 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4284 (char *) "self",(char *) "defAttr", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 (arg1
)->SetDefAttr(arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 Py_INCREF(Py_None
); resultobj
= Py_None
;
4304 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4307 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4309 return Py_BuildValue((char *)"");
4311 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxGridCellAttrProvider
*result
;
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4335 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4338 PyObject
*arg2
= (PyObject
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4340 PyObject
* obj1
= 0 ;
4342 (char *) "self",(char *) "_self", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 Py_INCREF(Py_None
); resultobj
= Py_None
;
4362 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4368 wxGridCellAttr
*result
;
4369 PyObject
* obj0
= 0 ;
4371 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= wxPyMake_wxGridCellAttr(result
);
4392 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4395 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4401 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 Py_INCREF(Py_None
); resultobj
= Py_None
;
4421 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4423 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4424 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4426 PyObject
* obj0
= 0 ;
4427 PyObject
* obj1
= 0 ;
4429 (char *) "self",(char *) "attr",(char *) "row", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 (arg1
)->SetRowAttr(arg2
,arg3
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 Py_INCREF(Py_None
); resultobj
= Py_None
;
4449 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4452 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4454 PyObject
* obj0
= 0 ;
4455 PyObject
* obj1
= 0 ;
4457 (char *) "self",(char *) "attr",(char *) "col", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 (arg1
)->SetColAttr(arg2
,arg3
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 Py_INCREF(Py_None
); resultobj
= Py_None
;
4477 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4482 PyObject
* obj0
= 0 ;
4483 PyObject
* obj1
= 0 ;
4485 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4490 arg2
= (size_t) PyInt_AsLong(obj1
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 (arg1
)->UpdateAttrRows(arg2
,arg3
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 Py_INCREF(Py_None
); resultobj
= Py_None
;
4506 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4511 PyObject
* obj0
= 0 ;
4512 PyObject
* obj1
= 0 ;
4514 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4519 arg2
= (size_t) PyInt_AsLong(obj1
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 (arg1
)->UpdateAttrCols(arg2
,arg3
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 Py_INCREF(Py_None
); resultobj
= Py_None
;
4535 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4538 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
4540 return Py_BuildValue((char *)"");
4542 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxPyGridCellAttrProvider
*result
;
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
4564 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
;
4566 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4567 PyObject
*arg2
= (PyObject
*) 0 ;
4568 PyObject
*arg3
= (PyObject
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4571 PyObject
* obj2
= 0 ;
4573 (char *) "self",(char *) "self",(char *) "_class", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 Py_INCREF(Py_None
); resultobj
= Py_None
;
4594 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4600 wxGridCellAttr
*result
;
4601 PyObject
* obj0
= 0 ;
4603 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= wxPyMake_wxGridCellAttr(result
);
4624 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4627 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4633 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4646 Py_INCREF(Py_None
); resultobj
= Py_None
;
4653 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4656 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4658 PyObject
* obj0
= 0 ;
4659 PyObject
* obj1
= 0 ;
4661 (char *) "self",(char *) "attr",(char *) "row", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4666 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 (arg1
)->base_SetRowAttr(arg2
,arg3
);
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 Py_INCREF(Py_None
); resultobj
= Py_None
;
4681 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4683 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4684 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4689 (char *) "self",(char *) "attr",(char *) "col", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 (arg1
)->base_SetColAttr(arg2
,arg3
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 Py_INCREF(Py_None
); resultobj
= Py_None
;
4709 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4712 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
4714 return Py_BuildValue((char *)"");
4716 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4719 PyObject
*arg2
= (PyObject
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4721 PyObject
* obj1
= 0 ;
4723 (char *) "self",(char *) "_self", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 wxGridTableBase__setOORInfo(arg1
,arg2
);
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 Py_INCREF(Py_None
); resultobj
= Py_None
;
4743 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4746 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4750 (char *) "self",(char *) "attrProvider", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 (arg1
)->SetAttrProvider(arg2
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 Py_INCREF(Py_None
); resultobj
= Py_None
;
4770 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4773 wxGridCellAttrProvider
*result
;
4774 PyObject
* obj0
= 0 ;
4776 (char *) "self", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4797 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4800 wxGrid
*arg2
= (wxGrid
*) 0 ;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj1
= 0 ;
4804 (char *) "self",(char *) "grid", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 (arg1
)->SetView(arg2
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= wxPyMake_wxObject(result
);
4851 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4855 PyObject
* obj0
= 0 ;
4857 (char *) "self", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 result
= (int)(arg1
)->GetNumberRows();
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= PyInt_FromLong((long)result
);
4876 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4880 PyObject
* obj0
= 0 ;
4882 (char *) "self", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (int)(arg1
)->GetNumberCols();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= PyInt_FromLong((long)result
);
4901 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
;
4903 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "self",(char *) "row",(char *) "col", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= PyInt_FromLong((long)result
);
4928 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4934 PyObject
* obj0
= 0 ;
4936 (char *) "self",(char *) "row",(char *) "col", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 result
= (arg1
)->GetValue(arg2
,arg3
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4961 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4966 wxString
*arg4
= 0 ;
4967 bool temp4
= False
;
4968 PyObject
* obj0
= 0 ;
4969 PyObject
* obj3
= 0 ;
4971 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4977 arg4
= wxString_in_helper(obj3
);
4978 if (arg4
== NULL
) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 Py_INCREF(Py_None
); resultobj
= Py_None
;
5003 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5011 (char *) "self",(char *) "row",(char *) "col", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5036 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5041 wxString
*arg4
= 0 ;
5043 bool temp4
= False
;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj3
= 0 ;
5047 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5053 arg4
= wxString_in_helper(obj3
);
5054 if (arg4
== NULL
) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= PyInt_FromLong((long)result
);
5079 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5084 wxString
*arg4
= 0 ;
5086 bool temp4
= False
;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj3
= 0 ;
5090 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5096 arg4
= wxString_in_helper(obj3
);
5097 if (arg4
== NULL
) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= PyInt_FromLong((long)result
);
5122 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5130 (char *) "self",(char *) "row",(char *) "col", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= PyInt_FromLong((long)result
);
5149 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5157 (char *) "self",(char *) "row",(char *) "col", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= PyFloat_FromDouble(result
);
5176 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5184 (char *) "self",(char *) "row",(char *) "col", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= PyInt_FromLong((long)result
);
5203 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5211 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 Py_INCREF(Py_None
); resultobj
= Py_None
;
5230 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5236 PyObject
* obj0
= 0 ;
5238 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiid:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5257 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj3
= 0 ;
5266 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5271 arg4
= PyInt_AsLong(obj3
) ? true : false;
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 Py_INCREF(Py_None
); resultobj
= Py_None
;
5287 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "self", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5314 size_t arg2
= (size_t) 0 ;
5315 size_t arg3
= (size_t) 1 ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5319 PyObject
* obj2
= 0 ;
5321 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5327 arg2
= (size_t) PyInt_AsLong(obj1
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5331 arg3
= (size_t) PyInt_AsLong(obj2
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= PyInt_FromLong((long)result
);
5348 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5351 size_t arg2
= (size_t) 1 ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5356 (char *) "self",(char *) "numRows", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5362 arg2
= (size_t) PyInt_AsLong(obj1
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= (bool)(arg1
)->AppendRows(arg2
);
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= PyInt_FromLong((long)result
);
5379 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5382 size_t arg2
= (size_t) 0 ;
5383 size_t arg3
= (size_t) 1 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 PyObject
* obj2
= 0 ;
5389 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5395 arg2
= (size_t) PyInt_AsLong(obj1
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 arg3
= (size_t) PyInt_AsLong(obj2
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= PyInt_FromLong((long)result
);
5416 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5419 size_t arg2
= (size_t) 0 ;
5420 size_t arg3
= (size_t) 1 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5424 PyObject
* obj2
= 0 ;
5426 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5432 arg2
= (size_t) PyInt_AsLong(obj1
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5436 arg3
= (size_t) PyInt_AsLong(obj2
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= PyInt_FromLong((long)result
);
5453 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5456 size_t arg2
= (size_t) 1 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5461 (char *) "self",(char *) "numCols", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5467 arg2
= (size_t) PyInt_AsLong(obj1
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 result
= (bool)(arg1
)->AppendCols(arg2
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= PyInt_FromLong((long)result
);
5484 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5487 size_t arg2
= (size_t) 0 ;
5488 size_t arg3
= (size_t) 1 ;
5490 PyObject
* obj0
= 0 ;
5491 PyObject
* obj1
= 0 ;
5492 PyObject
* obj2
= 0 ;
5494 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5500 arg2
= (size_t) PyInt_AsLong(obj1
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5504 arg3
= (size_t) PyInt_AsLong(obj2
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= PyInt_FromLong((long)result
);
5521 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5528 (char *) "self",(char *) "row", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (arg1
)->GetRowLabelValue(arg2
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5553 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5560 (char *) "self",(char *) "col", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (arg1
)->GetColLabelValue(arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5585 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5587 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5589 wxString
*arg3
= 0 ;
5590 bool temp3
= False
;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj2
= 0 ;
5594 (char *) "self",(char *) "row",(char *) "value", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5600 arg3
= wxString_in_helper(obj2
);
5601 if (arg3
== NULL
) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5630 wxString
*arg3
= 0 ;
5631 bool temp3
= False
;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj2
= 0 ;
5635 (char *) "self",(char *) "col",(char *) "value", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5641 arg3
= wxString_in_helper(obj2
);
5642 if (arg3
== NULL
) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 Py_INCREF(Py_None
); resultobj
= Py_None
;
5667 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5671 PyObject
* obj0
= 0 ;
5673 (char *) "self", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 result
= (bool)(arg1
)->CanHaveAttributes();
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 resultobj
= PyInt_FromLong((long)result
);
5692 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5698 wxGridCellAttr
*result
;
5699 PyObject
* obj0
= 0 ;
5701 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridTableBase_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= wxPyMake_wxGridCellAttr(result
);
5722 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5725 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5731 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
5735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 Py_INCREF(Py_None
); resultobj
= Py_None
;
5751 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5754 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5759 (char *) "self",(char *) "attr",(char *) "row", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 (arg1
)->SetRowAttr(arg2
,arg3
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 Py_INCREF(Py_None
); resultobj
= Py_None
;
5779 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5782 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5787 (char *) "self",(char *) "attr",(char *) "col", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 (arg1
)->SetColAttr(arg2
,arg3
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 Py_INCREF(Py_None
); resultobj
= Py_None
;
5807 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
5809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5810 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
5812 return Py_BuildValue((char *)"");
5814 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxPyGridTableBase
*result
;
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridTableBase
, 1);
5836 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5839 PyObject
*arg2
= (PyObject
*) 0 ;
5840 PyObject
*arg3
= (PyObject
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 PyObject
* obj2
= 0 ;
5845 (char *) "self",(char *) "self",(char *) "_class", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 Py_INCREF(Py_None
); resultobj
= Py_None
;
5866 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5871 (char *) "self", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
5875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 wxPyGridTableBase_Destroy(arg1
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 Py_INCREF(Py_None
); resultobj
= Py_None
;
5890 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self",(char *) "row",(char *) "col", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5923 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5928 wxString
*arg4
= 0 ;
5930 bool temp4
= False
;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj3
= 0 ;
5934 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5940 arg4
= wxString_in_helper(obj3
);
5941 if (arg4
== NULL
) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= PyInt_FromLong((long)result
);
5966 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5971 wxString
*arg4
= 0 ;
5973 bool temp4
= False
;
5974 PyObject
* obj0
= 0 ;
5975 PyObject
* obj3
= 0 ;
5977 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5983 arg4
= wxString_in_helper(obj3
);
5984 if (arg4
== NULL
) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 resultobj
= PyInt_FromLong((long)result
);
6009 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 (arg1
)->base_Clear();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6036 size_t arg2
= (size_t) 0 ;
6037 size_t arg3
= (size_t) 1 ;
6039 PyObject
* obj0
= 0 ;
6040 PyObject
* obj1
= 0 ;
6041 PyObject
* obj2
= 0 ;
6043 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6049 arg2
= (size_t) PyInt_AsLong(obj1
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6053 arg3
= (size_t) PyInt_AsLong(obj2
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= PyInt_FromLong((long)result
);
6070 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6073 size_t arg2
= (size_t) 1 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "numRows", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6084 arg2
= (size_t) PyInt_AsLong(obj1
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= PyInt_FromLong((long)result
);
6101 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6104 size_t arg2
= (size_t) 0 ;
6105 size_t arg3
= (size_t) 1 ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6109 PyObject
* obj2
= 0 ;
6111 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6117 arg2
= (size_t) PyInt_AsLong(obj1
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 arg3
= (size_t) PyInt_AsLong(obj2
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 resultobj
= PyInt_FromLong((long)result
);
6138 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6141 size_t arg2
= (size_t) 0 ;
6142 size_t arg3
= (size_t) 1 ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 PyObject
* obj2
= 0 ;
6148 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6154 arg2
= (size_t) PyInt_AsLong(obj1
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6158 arg3
= (size_t) PyInt_AsLong(obj2
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 resultobj
= PyInt_FromLong((long)result
);
6175 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
;
6177 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6178 size_t arg2
= (size_t) 1 ;
6180 PyObject
* obj0
= 0 ;
6181 PyObject
* obj1
= 0 ;
6183 (char *) "self",(char *) "numCols", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 arg2
= (size_t) PyInt_AsLong(obj1
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 resultobj
= PyInt_FromLong((long)result
);
6206 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6209 size_t arg2
= (size_t) 0 ;
6210 size_t arg3
= (size_t) 1 ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6214 PyObject
* obj2
= 0 ;
6216 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6222 arg2
= (size_t) PyInt_AsLong(obj1
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6226 arg3
= (size_t) PyInt_AsLong(obj2
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= PyInt_FromLong((long)result
);
6243 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self",(char *) "row", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (arg1
)->base_GetRowLabelValue(arg2
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6275 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
;
6277 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6280 PyObject
* obj0
= 0 ;
6282 (char *) "self",(char *) "col", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (arg1
)->base_GetColLabelValue(arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6307 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6311 wxString
*arg3
= 0 ;
6312 bool temp3
= False
;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj2
= 0 ;
6316 (char *) "self",(char *) "row",(char *) "value", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6322 arg3
= wxString_in_helper(obj2
);
6323 if (arg3
== NULL
) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 Py_INCREF(Py_None
); resultobj
= Py_None
;
6348 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6352 wxString
*arg3
= 0 ;
6353 bool temp3
= False
;
6354 PyObject
* obj0
= 0 ;
6355 PyObject
* obj2
= 0 ;
6357 (char *) "self",(char *) "col",(char *) "value", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6363 arg3
= wxString_in_helper(obj2
);
6364 if (arg3
== NULL
) SWIG_fail
;
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 Py_INCREF(Py_None
); resultobj
= Py_None
;
6389 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (bool)(arg1
)->base_CanHaveAttributes();
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= PyInt_FromLong((long)result
);
6414 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6420 wxGridCellAttr
*result
;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= wxPyMake_wxGridCellAttr(result
);
6444 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6447 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6451 PyObject
* obj1
= 0 ;
6453 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
6457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 Py_INCREF(Py_None
); resultobj
= Py_None
;
6473 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6476 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6478 PyObject
* obj0
= 0 ;
6479 PyObject
* obj1
= 0 ;
6481 (char *) "self",(char *) "attr",(char *) "row", NULL
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 (arg1
)->base_SetRowAttr(arg2
,arg3
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 Py_INCREF(Py_None
); resultobj
= Py_None
;
6501 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6504 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6509 (char *) "self",(char *) "attr",(char *) "col", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 (arg1
)->base_SetColAttr(arg2
,arg3
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6532 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
6534 return Py_BuildValue((char *)"");
6536 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 int arg1
= (int) 0 ;
6539 int arg2
= (int) 0 ;
6540 wxGridStringTable
*result
;
6542 (char *) "numRows",(char *) "numCols", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridStringTable",kwnames
,&arg1
,&arg2
)) goto fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridStringTable
, 1);
6560 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
6562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6563 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
6565 return Py_BuildValue((char *)"");
6567 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6571 int arg3
= (int) -1 ;
6572 int arg4
= (int) -1 ;
6573 wxGridTableMessage
*result
;
6574 PyObject
* obj0
= 0 ;
6576 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:new_GridTableMessage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridTableMessage
, 1);
6595 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 Py_INCREF(Py_None
); resultobj
= Py_None
;
6619 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6622 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
6623 PyObject
* obj0
= 0 ;
6624 PyObject
* obj1
= 0 ;
6626 (char *) "self",(char *) "table", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 (arg1
)->SetTableObject(arg2
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6639 Py_INCREF(Py_None
); resultobj
= Py_None
;
6646 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6649 wxGridTableBase
*result
;
6650 PyObject
* obj0
= 0 ;
6652 (char *) "self", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
6656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= wxPyMake_wxGridTableBase(result
);
6673 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6679 (char *) "self",(char *) "id", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
6683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 (arg1
)->SetId(arg2
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 Py_INCREF(Py_None
); resultobj
= Py_None
;
6698 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6702 PyObject
* obj0
= 0 ;
6704 (char *) "self", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (int)(arg1
)->GetId();
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= PyInt_FromLong((long)result
);
6723 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6729 (char *) "self",(char *) "comInt1", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&arg2
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 (arg1
)->SetCommandInt(arg2
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 Py_INCREF(Py_None
); resultobj
= Py_None
;
6748 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6754 (char *) "self", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (int)(arg1
)->GetCommandInt();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= PyInt_FromLong((long)result
);
6773 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "self",(char *) "comInt2", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&arg2
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 (arg1
)->SetCommandInt2(arg2
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 Py_INCREF(Py_None
); resultobj
= Py_None
;
6798 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6804 (char *) "self", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (int)(arg1
)->GetCommandInt2();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= PyInt_FromLong((long)result
);
6823 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
6825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6826 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
6828 return Py_BuildValue((char *)"");
6830 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 int arg1
= (int) -1 ;
6833 int arg2
= (int) -1 ;
6834 wxGridCellCoords
*result
;
6836 (char *) "r",(char *) "c", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellCoords",kwnames
,&arg1
,&arg2
)) goto fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellCoords
, 1);
6854 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "self", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
6888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= PyInt_FromLong((long)result
);
6903 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6907 PyObject
* obj0
= 0 ;
6909 (char *) "self",(char *) "n", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
6913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 (arg1
)->SetRow(arg2
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 Py_INCREF(Py_None
); resultobj
= Py_None
;
6928 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6934 (char *) "self", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
6938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= PyInt_FromLong((long)result
);
6953 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
;
6955 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6957 PyObject
* obj0
= 0 ;
6959 (char *) "self",(char *) "n", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
6963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 (arg1
)->SetCol(arg2
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 Py_INCREF(Py_None
); resultobj
= Py_None
;
6978 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6983 PyObject
* obj0
= 0 ;
6985 (char *) "self",(char *) "row",(char *) "col", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellCoords_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 (arg1
)->Set(arg2
,arg3
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 Py_INCREF(Py_None
); resultobj
= Py_None
;
7004 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
;
7006 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7007 wxGridCellCoords
*arg2
= 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7012 (char *) "self",(char *) "other", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7019 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= PyInt_FromLong((long)result
);
7035 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7038 wxGridCellCoords
*arg2
= 0 ;
7040 PyObject
* obj0
= 0 ;
7041 PyObject
* obj1
= 0 ;
7043 (char *) "self",(char *) "other", NULL
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= PyInt_FromLong((long)result
);
7066 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
;
7068 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7070 PyObject
* obj0
= 0 ;
7072 (char *) "self", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7091 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7094 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7096 return Py_BuildValue((char *)"");
7098 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxWindow
*arg1
= (wxWindow
*) 0 ;
7102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7106 long arg5
= (long) wxWANTS_CHARS
;
7107 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7108 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7112 bool temp6
= False
;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj2
= 0 ;
7115 PyObject
* obj3
= 0 ;
7116 PyObject
* obj5
= 0 ;
7118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Grid",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7137 arg6
= wxString_in_helper(obj5
);
7138 if (arg6
== NULL
) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= wxPyMake_wxObject(result
);
7166 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxGrid
*arg1
= (wxGrid
*) 0 ;
7171 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7173 PyObject
* obj0
= 0 ;
7175 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Grid_CreateGrid",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
7179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= PyInt_FromLong((long)result
);
7194 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxGrid
*arg1
= (wxGrid
*) 0 ;
7197 WXGRIDSELECTIONMODES arg2
;
7198 PyObject
* obj0
= 0 ;
7200 (char *) "self",(char *) "selmode", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetSelectionMode",kwnames
,&obj0
,&arg2
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 (arg1
)->SetSelectionMode(arg2
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 Py_INCREF(Py_None
); resultobj
= Py_None
;
7219 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxGrid
*arg1
= (wxGrid
*) 0 ;
7222 WXGRIDSELECTIONMODES result
;
7223 PyObject
* obj0
= 0 ;
7225 (char *) "self", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= PyInt_FromLong((long)result
);
7244 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxGrid
*arg1
= (wxGrid
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 result
= (int)(arg1
)->GetNumberRows();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 resultobj
= PyInt_FromLong((long)result
);
7269 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxGrid
*arg1
= (wxGrid
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "self", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 result
= (int)(arg1
)->GetNumberCols();
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= PyInt_FromLong((long)result
);
7294 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxGrid
*arg1
= (wxGrid
*) 0 ;
7297 wxGridTableMessage
*arg2
= 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7302 (char *) "self","arg2", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7307 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7309 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= PyInt_FromLong((long)result
);
7325 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxGrid
*arg1
= (wxGrid
*) 0 ;
7328 wxGridTableBase
*result
;
7329 PyObject
* obj0
= 0 ;
7331 (char *) "self", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= wxPyMake_wxGridTableBase(result
);
7352 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxGrid
*arg1
= (wxGrid
*) 0 ;
7355 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7356 bool arg3
= (bool) False
;
7357 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7359 PyObject
* obj0
= 0 ;
7360 PyObject
* obj1
= 0 ;
7361 PyObject
* obj2
= 0 ;
7363 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7370 arg3
= PyInt_AsLong(obj2
) ? true : false;
7371 if (PyErr_Occurred()) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= PyInt_FromLong((long)result
);
7387 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxGrid
*arg1
= (wxGrid
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 (arg1
)->ClearGrid();
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 Py_INCREF(Py_None
); resultobj
= Py_None
;
7411 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxGrid
*arg1
= (wxGrid
*) 0 ;
7414 int arg2
= (int) 0 ;
7415 int arg3
= (int) 1 ;
7416 bool arg4
= (bool) True
;
7418 PyObject
* obj0
= 0 ;
7419 PyObject
* obj3
= 0 ;
7421 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7427 arg4
= PyInt_AsLong(obj3
) ? true : false;
7428 if (PyErr_Occurred()) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= PyInt_FromLong((long)result
);
7444 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxGrid
*arg1
= (wxGrid
*) 0 ;
7447 int arg2
= (int) 1 ;
7448 bool arg3
= (bool) True
;
7450 PyObject
* obj0
= 0 ;
7451 PyObject
* obj2
= 0 ;
7453 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendRows",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7459 arg3
= PyInt_AsLong(obj2
) ? true : false;
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= PyInt_FromLong((long)result
);
7476 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
;
7478 wxGrid
*arg1
= (wxGrid
*) 0 ;
7479 int arg2
= (int) 0 ;
7480 int arg3
= (int) 1 ;
7481 bool arg4
= (bool) True
;
7483 PyObject
* obj0
= 0 ;
7484 PyObject
* obj3
= 0 ;
7486 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7492 arg4
= PyInt_AsLong(obj3
) ? true : false;
7493 if (PyErr_Occurred()) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= PyInt_FromLong((long)result
);
7509 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxGrid
*arg1
= (wxGrid
*) 0 ;
7512 int arg2
= (int) 0 ;
7513 int arg3
= (int) 1 ;
7514 bool arg4
= (bool) True
;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj3
= 0 ;
7519 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7525 arg4
= PyInt_AsLong(obj3
) ? true : false;
7526 if (PyErr_Occurred()) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= PyInt_FromLong((long)result
);
7542 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 wxGrid
*arg1
= (wxGrid
*) 0 ;
7545 int arg2
= (int) 1 ;
7546 bool arg3
= (bool) True
;
7548 PyObject
* obj0
= 0 ;
7549 PyObject
* obj2
= 0 ;
7551 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendCols",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7557 arg3
= PyInt_AsLong(obj2
) ? true : false;
7558 if (PyErr_Occurred()) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= PyInt_FromLong((long)result
);
7574 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxGrid
*arg1
= (wxGrid
*) 0 ;
7577 int arg2
= (int) 0 ;
7578 int arg3
= (int) 1 ;
7579 bool arg4
= (bool) True
;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj3
= 0 ;
7584 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7590 arg4
= PyInt_AsLong(obj3
) ? true : false;
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= PyInt_FromLong((long)result
);
7607 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxGrid
*arg1
= (wxGrid
*) 0 ;
7611 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7613 PyObject
* obj1
= 0 ;
7614 PyObject
* obj2
= 0 ;
7616 (char *) "self",(char *) "dc",(char *) "attr", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7625 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 Py_INCREF(Py_None
); resultobj
= Py_None
;
7640 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxGrid
*arg1
= (wxGrid
*) 0 ;
7644 wxString
*arg3
= 0 ;
7646 int arg5
= (int) wxLEFT
;
7647 int arg6
= (int) wxTOP
;
7648 int arg7
= (int) wxHORIZONTAL
;
7649 bool temp3
= False
;
7651 PyObject
* obj0
= 0 ;
7652 PyObject
* obj1
= 0 ;
7653 PyObject
* obj2
= 0 ;
7654 PyObject
* obj3
= 0 ;
7656 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iii:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&arg7
)) goto fail
;
7660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7666 arg3
= wxString_in_helper(obj2
);
7667 if (arg3
== NULL
) SWIG_fail
;
7672 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 Py_INCREF(Py_None
); resultobj
= Py_None
;
7696 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxGrid
*arg1
= (wxGrid
*) 0 ;
7700 wxArrayString
*arg3
= 0 ;
7701 long *arg4
= (long *) 0 ;
7702 long *arg5
= (long *) 0 ;
7705 PyObject
* obj0
= 0 ;
7706 PyObject
* obj1
= 0 ;
7707 PyObject
* obj2
= 0 ;
7709 (char *) "self",(char *) "dc",(char *) "lines", NULL
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7721 if (! PySequence_Check(obj2
)) {
7722 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7725 arg3
= new wxArrayString
;
7726 int i
, len
=PySequence_Length(obj2
);
7727 for (i
=0; i
<len
; i
++) {
7728 PyObject
* item
= PySequence_GetItem(obj2
, i
);
7730 PyObject
* str
= PyObject_Unicode(item
);
7732 PyObject
* str
= PyObject_Str(item
);
7734 arg3
->Add(Py2wxString(str
));
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7748 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7749 resultobj
= t_output_helper(resultobj
,o
);
7752 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
7753 resultobj
= t_output_helper(resultobj
,o
);
7756 if (arg3
) delete arg3
;
7761 if (arg3
) delete arg3
;
7767 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxGrid
*arg1
= (wxGrid
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7772 (char *) "self", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 (arg1
)->BeginBatch();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 Py_INCREF(Py_None
); resultobj
= Py_None
;
7791 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxGrid
*arg1
= (wxGrid
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "self", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
7800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxGrid
*arg1
= (wxGrid
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7821 (char *) "self", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (int)(arg1
)->GetBatchCount();
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= PyInt_FromLong((long)result
);
7840 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxGrid
*arg1
= (wxGrid
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 (arg1
)->ForceRefresh();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 Py_INCREF(Py_None
); resultobj
= Py_None
;
7864 static PyObject
*_wrap_Grid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxGrid
*arg1
= (wxGrid
*) 0 ;
7867 bool arg2
= (bool) True
;
7868 wxRect
*arg3
= (wxRect
*) NULL
;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7873 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7879 arg2
= PyInt_AsLong(obj1
) ? true : false;
7880 if (PyErr_Occurred()) SWIG_fail
;
7883 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxGrid
*arg1
= (wxGrid
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (bool)(arg1
)->IsEditable();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= PyInt_FromLong((long)result
);
7924 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxGrid
*arg1
= (wxGrid
*) 0 ;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7931 (char *) "self",(char *) "edit", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7936 arg2
= PyInt_AsLong(obj1
) ? true : false;
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->EnableEditing(arg2
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 Py_INCREF(Py_None
); resultobj
= Py_None
;
7952 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxGrid
*arg1
= (wxGrid
*) 0 ;
7955 bool arg2
= (bool) True
;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7959 (char *) "self",(char *) "enable", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
7963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7965 arg2
= PyInt_AsLong(obj1
) ? true : false;
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 (arg1
)->EnableCellEditControl(arg2
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 Py_INCREF(Py_None
); resultobj
= Py_None
;
7982 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxGrid
*arg1
= (wxGrid
*) 0 ;
7985 PyObject
* obj0
= 0 ;
7987 (char *) "self", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 (arg1
)->DisableCellEditControl();
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 Py_INCREF(Py_None
); resultobj
= Py_None
;
8006 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
;
8008 wxGrid
*arg1
= (wxGrid
*) 0 ;
8010 PyObject
* obj0
= 0 ;
8012 (char *) "self", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= PyInt_FromLong((long)result
);
8031 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxGrid
*arg1
= (wxGrid
*) 0 ;
8035 PyObject
* obj0
= 0 ;
8037 (char *) "self", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
8041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= PyInt_FromLong((long)result
);
8056 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxGrid
*arg1
= (wxGrid
*) 0 ;
8060 PyObject
* obj0
= 0 ;
8062 (char *) "self", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
8066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= PyInt_FromLong((long)result
);
8081 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxGrid
*arg1
= (wxGrid
*) 0 ;
8085 PyObject
* obj0
= 0 ;
8087 (char *) "self", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= PyInt_FromLong((long)result
);
8106 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxGrid
*arg1
= (wxGrid
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8111 (char *) "self", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 (arg1
)->ShowCellEditControl();
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 Py_INCREF(Py_None
); resultobj
= Py_None
;
8130 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxGrid
*arg1
= (wxGrid
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 (arg1
)->HideCellEditControl();
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 Py_INCREF(Py_None
); resultobj
= Py_None
;
8154 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxGrid
*arg1
= (wxGrid
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8159 (char *) "self", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 (arg1
)->SaveEditControlValue();
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxGrid
*arg1
= (wxGrid
*) 0 ;
8183 wxGridCellCoords result
;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self",(char *) "x",(char *) "y", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_XYToCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8199 wxGridCellCoords
* resultptr
;
8200 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
8201 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
8209 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxGrid
*arg1
= (wxGrid
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "self",(char *) "y", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (int)(arg1
)->YToRow(arg2
);
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= PyInt_FromLong((long)result
);
8235 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxGrid
*arg1
= (wxGrid
*) 0 ;
8240 PyObject
* obj0
= 0 ;
8242 (char *) "self",(char *) "x", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (int)(arg1
)->XToCol(arg2
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 resultobj
= PyInt_FromLong((long)result
);
8261 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxGrid
*arg1
= (wxGrid
*) 0 ;
8266 PyObject
* obj0
= 0 ;
8268 (char *) "self",(char *) "y", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToEdgeOfRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= PyInt_FromLong((long)result
);
8287 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxGrid
*arg1
= (wxGrid
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8294 (char *) "self",(char *) "x", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToEdgeOfCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 resultobj
= PyInt_FromLong((long)result
);
8313 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxGrid
*arg1
= (wxGrid
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "self",(char *) "row",(char *) "col", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_CellToRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (arg1
)->CellToRect(arg2
,arg3
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8335 resultptr
= new wxRect((wxRect
&) result
);
8336 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
8344 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxGrid
*arg1
= (wxGrid
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 result
= (int)(arg1
)->GetGridCursorRow();
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= PyInt_FromLong((long)result
);
8369 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxGrid
*arg1
= (wxGrid
*) 0 ;
8373 PyObject
* obj0
= 0 ;
8375 (char *) "self", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 result
= (int)(arg1
)->GetGridCursorCol();
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= PyInt_FromLong((long)result
);
8394 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
;
8396 wxGrid
*arg1
= (wxGrid
*) 0 ;
8399 bool arg4
= (bool) True
;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj3
= 0 ;
8404 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_IsVisible",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8410 arg4
= PyInt_AsLong(obj3
) ? true : false;
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= PyInt_FromLong((long)result
);
8427 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8429 wxGrid
*arg1
= (wxGrid
*) 0 ;
8432 PyObject
* obj0
= 0 ;
8434 (char *) "self",(char *) "row",(char *) "col", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_MakeCellVisible",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 (arg1
)->MakeCellVisible(arg2
,arg3
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 Py_INCREF(Py_None
); resultobj
= Py_None
;
8453 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxGrid
*arg1
= (wxGrid
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self",(char *) "row",(char *) "col", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetGridCursor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 (arg1
)->SetGridCursor(arg2
,arg3
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 Py_INCREF(Py_None
); resultobj
= Py_None
;
8479 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxGrid
*arg1
= (wxGrid
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8487 (char *) "self",(char *) "expandSelection", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
8491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8492 arg2
= PyInt_AsLong(obj1
) ? true : false;
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= PyInt_FromLong((long)result
);
8508 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxGrid
*arg1
= (wxGrid
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "self",(char *) "expandSelection", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
8520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8521 arg2
= PyInt_AsLong(obj1
) ? true : false;
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= PyInt_FromLong((long)result
);
8537 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxGrid
*arg1
= (wxGrid
*) 0 ;
8542 PyObject
* obj0
= 0 ;
8543 PyObject
* obj1
= 0 ;
8545 (char *) "self",(char *) "expandSelection", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
8549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8550 arg2
= PyInt_AsLong(obj1
) ? true : false;
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= PyInt_FromLong((long)result
);
8566 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
;
8568 wxGrid
*arg1
= (wxGrid
*) 0 ;
8571 PyObject
* obj0
= 0 ;
8572 PyObject
* obj1
= 0 ;
8574 (char *) "self",(char *) "expandSelection", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
8578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8579 arg2
= PyInt_AsLong(obj1
) ? true : false;
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= PyInt_FromLong((long)result
);
8595 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxGrid
*arg1
= (wxGrid
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8601 (char *) "self", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (bool)(arg1
)->MovePageDown();
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= PyInt_FromLong((long)result
);
8620 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxGrid
*arg1
= (wxGrid
*) 0 ;
8624 PyObject
* obj0
= 0 ;
8626 (char *) "self", NULL
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
8630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (bool)(arg1
)->MovePageUp();
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= PyInt_FromLong((long)result
);
8645 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxGrid
*arg1
= (wxGrid
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8653 (char *) "self",(char *) "expandSelection", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8658 arg2
= PyInt_AsLong(obj1
) ? true : false;
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= PyInt_FromLong((long)result
);
8674 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxGrid
*arg1
= (wxGrid
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8682 (char *) "self",(char *) "expandSelection", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8687 arg2
= PyInt_AsLong(obj1
) ? true : false;
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= PyInt_FromLong((long)result
);
8703 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxGrid
*arg1
= (wxGrid
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8711 (char *) "self",(char *) "expandSelection", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8716 arg2
= PyInt_AsLong(obj1
) ? true : false;
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= PyInt_FromLong((long)result
);
8732 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxGrid
*arg1
= (wxGrid
*) 0 ;
8737 PyObject
* obj0
= 0 ;
8738 PyObject
* obj1
= 0 ;
8740 (char *) "self",(char *) "expandSelection", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8745 arg2
= PyInt_AsLong(obj1
) ? true : false;
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= PyInt_FromLong((long)result
);
8761 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxGrid
*arg1
= (wxGrid
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8767 (char *) "self", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (int)(arg1
)->GetDefaultRowLabelSize();
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= PyInt_FromLong((long)result
);
8786 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxGrid
*arg1
= (wxGrid
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8792 (char *) "self", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (int)(arg1
)->GetRowLabelSize();
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= PyInt_FromLong((long)result
);
8811 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxGrid
*arg1
= (wxGrid
*) 0 ;
8815 PyObject
* obj0
= 0 ;
8817 (char *) "self", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (int)(arg1
)->GetDefaultColLabelSize();
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= PyInt_FromLong((long)result
);
8836 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxGrid
*arg1
= (wxGrid
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8842 (char *) "self", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (int)(arg1
)->GetColLabelSize();
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= PyInt_FromLong((long)result
);
8861 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxGrid
*arg1
= (wxGrid
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8867 (char *) "self", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
8871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (arg1
)->GetLabelBackgroundColour();
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8880 wxColour
* resultptr
;
8881 resultptr
= new wxColour((wxColour
&) result
);
8882 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8890 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxGrid
*arg1
= (wxGrid
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (arg1
)->GetLabelTextColour();
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8909 wxColour
* resultptr
;
8910 resultptr
= new wxColour((wxColour
&) result
);
8911 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8919 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxGrid
*arg1
= (wxGrid
*) 0 ;
8923 PyObject
* obj0
= 0 ;
8925 (char *) "self", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (arg1
)->GetLabelFont();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8939 resultptr
= new wxFont((wxFont
&) result
);
8940 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
8948 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxGrid
*arg1
= (wxGrid
*) 0 ;
8951 int *arg2
= (int *) 0 ;
8952 int *arg3
= (int *) 0 ;
8955 PyObject
* obj0
= 0 ;
8957 (char *) "self", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
8963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8973 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8974 resultobj
= t_output_helper(resultobj
,o
);
8977 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8978 resultobj
= t_output_helper(resultobj
,o
);
8986 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxGrid
*arg1
= (wxGrid
*) 0 ;
8989 int *arg2
= (int *) 0 ;
8990 int *arg3
= (int *) 0 ;
8993 PyObject
* obj0
= 0 ;
8995 (char *) "self", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 Py_INCREF(Py_None
); resultobj
= Py_None
;
9011 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9012 resultobj
= t_output_helper(resultobj
,o
);
9015 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9016 resultobj
= t_output_helper(resultobj
,o
);
9024 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxGrid
*arg1
= (wxGrid
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "self", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (int)(arg1
)->GetColLabelTextOrientation();
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= PyInt_FromLong((long)result
);
9049 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxGrid
*arg1
= (wxGrid
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9056 (char *) "self",(char *) "row", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (arg1
)->GetRowLabelValue(arg2
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9081 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxGrid
*arg1
= (wxGrid
*) 0 ;
9086 PyObject
* obj0
= 0 ;
9088 (char *) "self",(char *) "col", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (arg1
)->GetColLabelValue(arg2
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9113 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxGrid
*arg1
= (wxGrid
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9119 (char *) "self", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
9123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= (arg1
)->GetGridLineColour();
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9132 wxColour
* resultptr
;
9133 resultptr
= new wxColour((wxColour
&) result
);
9134 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9142 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxGrid
*arg1
= (wxGrid
*) 0 ;
9146 PyObject
* obj0
= 0 ;
9148 (char *) "self", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 result
= (arg1
)->GetCellHighlightColour();
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 wxColour
* resultptr
;
9162 resultptr
= new wxColour((wxColour
&) result
);
9163 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9171 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxGrid
*arg1
= (wxGrid
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (int)(arg1
)->GetCellHighlightPenWidth();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= PyInt_FromLong((long)result
);
9196 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxGrid
*arg1
= (wxGrid
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9202 (char *) "self", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
9206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= PyInt_FromLong((long)result
);
9221 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxGrid
*arg1
= (wxGrid
*) 0 ;
9225 PyObject
* obj0
= 0 ;
9227 (char *) "self",(char *) "width", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 (arg1
)->SetRowLabelSize(arg2
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxGrid
*arg1
= (wxGrid
*) 0 ;
9250 PyObject
* obj0
= 0 ;
9252 (char *) "self",(char *) "height", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 (arg1
)->SetColLabelSize(arg2
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 Py_INCREF(Py_None
); resultobj
= Py_None
;
9271 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxGrid
*arg1
= (wxGrid
*) 0 ;
9274 wxColour
*arg2
= 0 ;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9279 (char *) "self","arg2", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9286 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 Py_INCREF(Py_None
); resultobj
= Py_None
;
9302 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxGrid
*arg1
= (wxGrid
*) 0 ;
9305 wxColour
*arg2
= 0 ;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9310 (char *) "self","arg2", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9317 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxGrid
*arg1
= (wxGrid
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9340 (char *) "self","arg2", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 Py_INCREF(Py_None
); resultobj
= Py_None
;
9363 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxGrid
*arg1
= (wxGrid
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9370 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 Py_INCREF(Py_None
); resultobj
= Py_None
;
9389 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxGrid
*arg1
= (wxGrid
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9396 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 Py_INCREF(Py_None
); resultobj
= Py_None
;
9415 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxGrid
*arg1
= (wxGrid
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self",(char *) "textOrientation", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 (arg1
)->SetColLabelTextOrientation(arg2
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 Py_INCREF(Py_None
); resultobj
= Py_None
;
9440 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxGrid
*arg1
= (wxGrid
*) 0 ;
9444 wxString
*arg3
= 0 ;
9445 bool temp3
= False
;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj2
= 0 ;
9449 (char *) "self",(char *) "row","arg3", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9455 arg3
= wxString_in_helper(obj2
);
9456 if (arg3
== NULL
) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 Py_INCREF(Py_None
); resultobj
= Py_None
;
9481 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxGrid
*arg1
= (wxGrid
*) 0 ;
9485 wxString
*arg3
= 0 ;
9486 bool temp3
= False
;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj2
= 0 ;
9490 (char *) "self",(char *) "col","arg3", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9496 arg3
= wxString_in_helper(obj2
);
9497 if (arg3
== NULL
) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 Py_INCREF(Py_None
); resultobj
= Py_None
;
9522 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxGrid
*arg1
= (wxGrid
*) 0 ;
9525 wxColour
*arg2
= 0 ;
9527 PyObject
* obj0
= 0 ;
9528 PyObject
* obj1
= 0 ;
9530 (char *) "self","arg2", NULL
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 Py_INCREF(Py_None
); resultobj
= Py_None
;
9553 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxGrid
*arg1
= (wxGrid
*) 0 ;
9556 wxColour
*arg2
= 0 ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9561 (char *) "self","arg2", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9568 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 Py_INCREF(Py_None
); resultobj
= Py_None
;
9584 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxGrid
*arg1
= (wxGrid
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self",(char *) "width", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 (arg1
)->SetCellHighlightPenWidth(arg2
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 Py_INCREF(Py_None
); resultobj
= Py_None
;
9609 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxGrid
*arg1
= (wxGrid
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9615 (char *) "self",(char *) "width", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->SetCellHighlightROPenWidth(arg2
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 Py_INCREF(Py_None
); resultobj
= Py_None
;
9634 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxGrid
*arg1
= (wxGrid
*) 0 ;
9637 bool arg2
= (bool) True
;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9641 (char *) "self",(char *) "enable", NULL
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9647 arg2
= PyInt_AsLong(obj1
) ? true : false;
9648 if (PyErr_Occurred()) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 (arg1
)->EnableDragRowSize(arg2
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 Py_INCREF(Py_None
); resultobj
= Py_None
;
9664 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxGrid
*arg1
= (wxGrid
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9669 (char *) "self", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
9673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 (arg1
)->DisableDragRowSize();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 Py_INCREF(Py_None
); resultobj
= Py_None
;
9688 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxGrid
*arg1
= (wxGrid
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9694 (char *) "self", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 result
= (bool)(arg1
)->CanDragRowSize();
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9706 resultobj
= PyInt_FromLong((long)result
);
9713 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
;
9715 wxGrid
*arg1
= (wxGrid
*) 0 ;
9716 bool arg2
= (bool) True
;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9720 (char *) "self",(char *) "enable", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9726 arg2
= PyInt_AsLong(obj1
) ? true : false;
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->EnableDragColSize(arg2
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 Py_INCREF(Py_None
); resultobj
= Py_None
;
9743 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxGrid
*arg1
= (wxGrid
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9748 (char *) "self", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
9752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 (arg1
)->DisableDragColSize();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 Py_INCREF(Py_None
); resultobj
= Py_None
;
9767 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxGrid
*arg1
= (wxGrid
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (bool)(arg1
)->CanDragColSize();
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= PyInt_FromLong((long)result
);
9792 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxGrid
*arg1
= (wxGrid
*) 0 ;
9795 bool arg2
= (bool) True
;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9799 (char *) "self",(char *) "enable", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9805 arg2
= PyInt_AsLong(obj1
) ? true : false;
9806 if (PyErr_Occurred()) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 (arg1
)->EnableDragGridSize(arg2
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 Py_INCREF(Py_None
); resultobj
= Py_None
;
9822 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxGrid
*arg1
= (wxGrid
*) 0 ;
9825 PyObject
* obj0
= 0 ;
9827 (char *) "self", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 (arg1
)->DisableDragGridSize();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 Py_INCREF(Py_None
); resultobj
= Py_None
;
9846 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxGrid
*arg1
= (wxGrid
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
9856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (bool)(arg1
)->CanDragGridSize();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= PyInt_FromLong((long)result
);
9871 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxGrid
*arg1
= (wxGrid
*) 0 ;
9876 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj3
= 0 ;
9880 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9885 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 Py_INCREF(Py_None
); resultobj
= Py_None
;
9900 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxGrid
*arg1
= (wxGrid
*) 0 ;
9904 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9906 PyObject
* obj2
= 0 ;
9908 (char *) "self",(char *) "row",(char *) "attr", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9913 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 (arg1
)->SetRowAttr(arg2
,arg3
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 Py_INCREF(Py_None
); resultobj
= Py_None
;
9928 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxGrid
*arg1
= (wxGrid
*) 0 ;
9932 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj2
= 0 ;
9936 (char *) "self",(char *) "col",(char *) "attr", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9941 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 (arg1
)->SetColAttr(arg2
,arg3
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 Py_INCREF(Py_None
); resultobj
= Py_None
;
9956 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxGrid
*arg1
= (wxGrid
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self",(char *) "col", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatBool",kwnames
,&obj0
,&arg2
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 (arg1
)->SetColFormatBool(arg2
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 Py_INCREF(Py_None
); resultobj
= Py_None
;
9981 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxGrid
*arg1
= (wxGrid
*) 0 ;
9985 PyObject
* obj0
= 0 ;
9987 (char *) "self",(char *) "col", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatNumber",kwnames
,&obj0
,&arg2
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 (arg1
)->SetColFormatNumber(arg2
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 Py_INCREF(Py_None
); resultobj
= Py_None
;
10006 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxGrid
*arg1
= (wxGrid
*) 0 ;
10010 int arg3
= (int) -1 ;
10011 int arg4
= (int) -1 ;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:Grid_SetColFormatFloat",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 Py_INCREF(Py_None
); resultobj
= Py_None
;
10033 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxGrid
*arg1
= (wxGrid
*) 0 ;
10037 wxString
*arg3
= 0 ;
10038 bool temp3
= False
;
10039 PyObject
* obj0
= 0 ;
10040 PyObject
* obj2
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self",(char *) "col",(char *) "typeName", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColFormatCustom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10048 arg3
= wxString_in_helper(obj2
);
10049 if (arg3
== NULL
) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 Py_INCREF(Py_None
); resultobj
= Py_None
;
10074 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxGrid
*arg1
= (wxGrid
*) 0 ;
10077 bool arg2
= (bool) True
;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "self",(char *) "enable", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
10085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10087 arg2
= PyInt_AsLong(obj1
) ? true : false;
10088 if (PyErr_Occurred()) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 (arg1
)->EnableGridLines(arg2
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 Py_INCREF(Py_None
); resultobj
= Py_None
;
10104 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxGrid
*arg1
= (wxGrid
*) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "self", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
10114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= (bool)(arg1
)->GridLinesEnabled();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= PyInt_FromLong((long)result
);
10129 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxGrid
*arg1
= (wxGrid
*) 0 ;
10133 PyObject
* obj0
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
10139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= (int)(arg1
)->GetDefaultRowSize();
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= PyInt_FromLong((long)result
);
10154 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxGrid
*arg1
= (wxGrid
*) 0 ;
10159 PyObject
* obj0
= 0 ;
10160 char *kwnames
[] = {
10161 (char *) "self",(char *) "row", NULL
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= (int)(arg1
)->GetRowSize(arg2
);
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= PyInt_FromLong((long)result
);
10180 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
*resultobj
;
10182 wxGrid
*arg1
= (wxGrid
*) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (int)(arg1
)->GetDefaultColSize();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= PyInt_FromLong((long)result
);
10205 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxGrid
*arg1
= (wxGrid
*) 0 ;
10210 PyObject
* obj0
= 0 ;
10211 char *kwnames
[] = {
10212 (char *) "self",(char *) "col", NULL
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= (int)(arg1
)->GetColSize(arg2
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 resultobj
= PyInt_FromLong((long)result
);
10231 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxGrid
*arg1
= (wxGrid
*) 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (arg1
)->GetDefaultCellBackgroundColour();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10250 wxColour
* resultptr
;
10251 resultptr
= new wxColour((wxColour
&) result
);
10252 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10260 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxGrid
*arg1
= (wxGrid
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self",(char *) "row",(char *) "col", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 wxColour
* resultptr
;
10282 resultptr
= new wxColour((wxColour
&) result
);
10283 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10291 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxGrid
*arg1
= (wxGrid
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
10301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (arg1
)->GetDefaultCellTextColour();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10310 wxColour
* resultptr
;
10311 resultptr
= new wxColour((wxColour
&) result
);
10312 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10320 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxGrid
*arg1
= (wxGrid
*) 0 ;
10326 PyObject
* obj0
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "row",(char *) "col", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 wxColour
* resultptr
;
10342 resultptr
= new wxColour((wxColour
&) result
);
10343 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10351 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxGrid
*arg1
= (wxGrid
*) 0 ;
10355 PyObject
* obj0
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
10361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (arg1
)->GetDefaultCellFont();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10370 wxFont
* resultptr
;
10371 resultptr
= new wxFont((wxFont
&) result
);
10372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10380 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxGrid
*arg1
= (wxGrid
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self",(char *) "row",(char *) "col", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellFont",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 result
= (arg1
)->GetCellFont(arg2
,arg3
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10401 wxFont
* resultptr
;
10402 resultptr
= new wxFont((wxFont
&) result
);
10403 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10411 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxGrid
*arg1
= (wxGrid
*) 0 ;
10414 int *arg2
= (int *) 0 ;
10415 int *arg3
= (int *) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10434 Py_INCREF(Py_None
); resultobj
= Py_None
;
10436 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10437 resultobj
= t_output_helper(resultobj
,o
);
10440 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10441 resultobj
= t_output_helper(resultobj
,o
);
10449 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxGrid
*arg1
= (wxGrid
*) 0 ;
10454 int *arg4
= (int *) 0 ;
10455 int *arg5
= (int *) 0 ;
10458 PyObject
* obj0
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "self",(char *) "row",(char *) "col", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 Py_INCREF(Py_None
); resultobj
= Py_None
;
10476 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10477 resultobj
= t_output_helper(resultobj
,o
);
10480 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10481 resultobj
= t_output_helper(resultobj
,o
);
10489 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxGrid
*arg1
= (wxGrid
*) 0 ;
10493 PyObject
* obj0
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (bool)(arg1
)->GetDefaultCellOverflow();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= PyInt_FromLong((long)result
);
10514 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxGrid
*arg1
= (wxGrid
*) 0 ;
10520 PyObject
* obj0
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "row",(char *) "col", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= PyInt_FromLong((long)result
);
10541 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxGrid
*arg1
= (wxGrid
*) 0 ;
10546 int *arg4
= (int *) 0 ;
10547 int *arg5
= (int *) 0 ;
10550 PyObject
* obj0
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self",(char *) "row",(char *) "col", NULL
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10569 resultobj
= t_output_helper(resultobj
,o
);
10572 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10573 resultobj
= t_output_helper(resultobj
,o
);
10581 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxGrid
*arg1
= (wxGrid
*) 0 ;
10585 bool arg3
= (bool) False
;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj2
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10595 arg3
= PyInt_AsLong(obj2
) ? true : false;
10596 if (PyErr_Occurred()) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 Py_INCREF(Py_None
); resultobj
= Py_None
;
10612 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxGrid
*arg1
= (wxGrid
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self",(char *) "row",(char *) "height", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 (arg1
)->SetRowSize(arg2
,arg3
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 Py_INCREF(Py_None
); resultobj
= Py_None
;
10638 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxGrid
*arg1
= (wxGrid
*) 0 ;
10642 bool arg3
= (bool) False
;
10643 PyObject
* obj0
= 0 ;
10644 PyObject
* obj2
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10652 arg3
= PyInt_AsLong(obj2
) ? true : false;
10653 if (PyErr_Occurred()) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 (arg1
)->SetDefaultColSize(arg2
,arg3
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 Py_INCREF(Py_None
); resultobj
= Py_None
;
10669 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
;
10671 wxGrid
*arg1
= (wxGrid
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self",(char *) "col",(char *) "width", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 (arg1
)->SetColSize(arg2
,arg3
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 Py_INCREF(Py_None
); resultobj
= Py_None
;
10695 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
;
10697 wxGrid
*arg1
= (wxGrid
*) 0 ;
10699 bool arg3
= (bool) True
;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj2
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10709 arg3
= PyInt_AsLong(obj2
) ? true : false;
10710 if (PyErr_Occurred()) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 (arg1
)->AutoSizeColumn(arg2
,arg3
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 Py_INCREF(Py_None
); resultobj
= Py_None
;
10726 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxGrid
*arg1
= (wxGrid
*) 0 ;
10730 bool arg3
= (bool) True
;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj2
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10740 arg3
= PyInt_AsLong(obj2
) ? true : false;
10741 if (PyErr_Occurred()) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->AutoSizeRow(arg2
,arg3
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 Py_INCREF(Py_None
); resultobj
= Py_None
;
10757 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxGrid
*arg1
= (wxGrid
*) 0 ;
10760 bool arg2
= (bool) True
;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self",(char *) "setAsMin", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
10768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10770 arg2
= PyInt_AsLong(obj1
) ? true : false;
10771 if (PyErr_Occurred()) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->AutoSizeColumns(arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxGrid
*arg1
= (wxGrid
*) 0 ;
10790 bool arg2
= (bool) True
;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self",(char *) "setAsMin", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10800 arg2
= PyInt_AsLong(obj1
) ? true : false;
10801 if (PyErr_Occurred()) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 (arg1
)->AutoSizeRows(arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10817 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxGrid
*arg1
= (wxGrid
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 (arg1
)->AutoSize();
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 Py_INCREF(Py_None
); resultobj
= Py_None
;
10841 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxGrid
*arg1
= (wxGrid
*) 0 ;
10845 PyObject
* obj0
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "row", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 (arg1
)->AutoSizeRowLabelSize(arg2
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 Py_INCREF(Py_None
); resultobj
= Py_None
;
10866 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxGrid
*arg1
= (wxGrid
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self",(char *) "col", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->AutoSizeColLabelSize(arg2
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxGrid
*arg1
= (wxGrid
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self",(char *) "col",(char *) "width", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColMinimalWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 Py_INCREF(Py_None
); resultobj
= Py_None
;
10917 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxGrid
*arg1
= (wxGrid
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self",(char *) "row",(char *) "width", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxGrid
*arg1
= (wxGrid
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 char *kwnames
[] = {
10949 (char *) "self",(char *) "width", NULL
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
10953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 Py_INCREF(Py_None
); resultobj
= Py_None
;
10968 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxGrid
*arg1
= (wxGrid
*) 0 ;
10972 PyObject
* obj0
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self",(char *) "width", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
10978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 Py_INCREF(Py_None
); resultobj
= Py_None
;
10993 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxGrid
*arg1
= (wxGrid
*) 0 ;
10997 PyObject
* obj0
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= PyInt_FromLong((long)result
);
11018 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxGrid
*arg1
= (wxGrid
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= PyInt_FromLong((long)result
);
11043 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxGrid
*arg1
= (wxGrid
*) 0 ;
11046 wxColour
*arg2
= 0 ;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self","arg2", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 Py_INCREF(Py_None
); resultobj
= Py_None
;
11074 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxGrid
*arg1
= (wxGrid
*) 0 ;
11079 wxColour
*arg4
= 0 ;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj3
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11091 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 Py_INCREF(Py_None
); resultobj
= Py_None
;
11107 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxGrid
*arg1
= (wxGrid
*) 0 ;
11110 wxColour
*arg2
= 0 ;
11112 PyObject
* obj0
= 0 ;
11113 PyObject
* obj1
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self","arg2", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11122 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 Py_INCREF(Py_None
); resultobj
= Py_None
;
11138 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxGrid
*arg1
= (wxGrid
*) 0 ;
11143 wxColour
*arg4
= 0 ;
11145 PyObject
* obj0
= 0 ;
11146 PyObject
* obj3
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11155 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 Py_INCREF(Py_None
); resultobj
= Py_None
;
11171 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11173 wxGrid
*arg1
= (wxGrid
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self","arg2", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11184 if (arg2
== NULL
) {
11185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxGrid
*arg1
= (wxGrid
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj3
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellFont",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11215 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11216 if (arg4
== NULL
) {
11217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxGrid
*arg1
= (wxGrid
*) 0 ;
11238 PyObject
* obj0
= 0 ;
11239 char *kwnames
[] = {
11240 (char *) "self",(char *) "horiz",(char *) "vert", NULL
11243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 Py_INCREF(Py_None
); resultobj
= Py_None
;
11259 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
;
11261 wxGrid
*arg1
= (wxGrid
*) 0 ;
11266 PyObject
* obj0
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 Py_INCREF(Py_None
); resultobj
= Py_None
;
11287 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxGrid
*arg1
= (wxGrid
*) 0 ;
11291 PyObject
* obj0
= 0 ;
11292 PyObject
* obj1
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self",(char *) "allow", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
11298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11299 arg2
= PyInt_AsLong(obj1
) ? true : false;
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 (arg1
)->SetDefaultCellOverflow(arg2
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 Py_INCREF(Py_None
); resultobj
= Py_None
;
11315 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
;
11317 wxGrid
*arg1
= (wxGrid
*) 0 ;
11321 PyObject
* obj0
= 0 ;
11322 PyObject
* obj3
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11329 arg4
= PyInt_AsLong(obj3
) ? true : false;
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11338 Py_INCREF(Py_None
); resultobj
= Py_None
;
11345 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 wxGrid
*arg1
= (wxGrid
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 Py_INCREF(Py_None
); resultobj
= Py_None
;
11373 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxGrid
*arg1
= (wxGrid
*) 0 ;
11376 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self",(char *) "renderer", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 (arg1
)->SetDefaultRenderer(arg2
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 Py_INCREF(Py_None
); resultobj
= Py_None
;
11400 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxGrid
*arg1
= (wxGrid
*) 0 ;
11405 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj3
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11414 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 Py_INCREF(Py_None
); resultobj
= Py_None
;
11429 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxGrid
*arg1
= (wxGrid
*) 0 ;
11432 wxGridCellRenderer
*result
;
11433 PyObject
* obj0
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11456 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxGrid
*arg1
= (wxGrid
*) 0 ;
11461 wxGridCellRenderer
*result
;
11462 PyObject
* obj0
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self",(char *) "row",(char *) "col", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11485 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxGrid
*arg1
= (wxGrid
*) 0 ;
11488 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self",(char *) "editor", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
11496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->SetDefaultEditor(arg2
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 Py_INCREF(Py_None
); resultobj
= Py_None
;
11512 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxGrid
*arg1
= (wxGrid
*) 0 ;
11517 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj3
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11526 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 Py_INCREF(Py_None
); resultobj
= Py_None
;
11541 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxGrid
*arg1
= (wxGrid
*) 0 ;
11544 wxGridCellEditor
*result
;
11545 PyObject
* obj0
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= wxPyMake_wxGridCellEditor(result
);
11568 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxGrid
*arg1
= (wxGrid
*) 0 ;
11573 wxGridCellEditor
*result
;
11574 PyObject
* obj0
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self",(char *) "row",(char *) "col", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= wxPyMake_wxGridCellEditor(result
);
11597 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxGrid
*arg1
= (wxGrid
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self",(char *) "row",(char *) "col", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (arg1
)->GetCellValue(arg2
,arg3
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11630 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxGrid
*arg1
= (wxGrid
*) 0 ;
11635 wxString
*arg4
= 0 ;
11636 bool temp4
= False
;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj3
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11646 arg4
= wxString_in_helper(obj3
);
11647 if (arg4
== NULL
) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 Py_INCREF(Py_None
); resultobj
= Py_None
;
11672 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxGrid
*arg1
= (wxGrid
*) 0 ;
11678 PyObject
* obj0
= 0 ;
11679 char *kwnames
[] = {
11680 (char *) "self",(char *) "row",(char *) "col", NULL
11683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsReadOnly",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= PyInt_FromLong((long)result
);
11699 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
;
11701 wxGrid
*arg1
= (wxGrid
*) 0 ;
11704 bool arg4
= (bool) True
;
11705 PyObject
* obj0
= 0 ;
11706 PyObject
* obj3
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_SetReadOnly",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11714 arg4
= PyInt_AsLong(obj3
) ? true : false;
11715 if (PyErr_Occurred()) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 Py_INCREF(Py_None
); resultobj
= Py_None
;
11731 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
;
11733 wxGrid
*arg1
= (wxGrid
*) 0 ;
11735 bool arg3
= (bool) False
;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj2
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11745 arg3
= PyInt_AsLong(obj2
) ? true : false;
11746 if (PyErr_Occurred()) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 (arg1
)->SelectRow(arg2
,arg3
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 Py_INCREF(Py_None
); resultobj
= Py_None
;
11762 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxGrid
*arg1
= (wxGrid
*) 0 ;
11766 bool arg3
= (bool) False
;
11767 PyObject
* obj0
= 0 ;
11768 PyObject
* obj2
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectCol",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11776 arg3
= PyInt_AsLong(obj2
) ? true : false;
11777 if (PyErr_Occurred()) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 (arg1
)->SelectCol(arg2
,arg3
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 Py_INCREF(Py_None
); resultobj
= Py_None
;
11793 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxGrid
*arg1
= (wxGrid
*) 0 ;
11800 bool arg6
= (bool) False
;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj5
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Grid_SelectBlock",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11810 arg6
= PyInt_AsLong(obj5
) ? true : false;
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 Py_INCREF(Py_None
); resultobj
= Py_None
;
11827 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxGrid
*arg1
= (wxGrid
*) 0 ;
11830 PyObject
* obj0
= 0 ;
11831 char *kwnames
[] = {
11832 (char *) "self", NULL
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
11836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 (arg1
)->SelectAll();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 Py_INCREF(Py_None
); resultobj
= Py_None
;
11851 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxGrid
*arg1
= (wxGrid
*) 0 ;
11855 PyObject
* obj0
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (bool)(arg1
)->IsSelection();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= PyInt_FromLong((long)result
);
11876 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxGrid
*arg1
= (wxGrid
*) 0 ;
11879 PyObject
* obj0
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 (arg1
)->ClearSelection();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 Py_INCREF(Py_None
); resultobj
= Py_None
;
11900 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxGrid
*arg1
= (wxGrid
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self",(char *) "row",(char *) "col", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsInSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= PyInt_FromLong((long)result
);
11927 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxGrid
*arg1
= (wxGrid
*) 0 ;
11930 wxGridCellCoordsArray result
;
11931 PyObject
* obj0
= 0 ;
11932 char *kwnames
[] = {
11933 (char *) "self", NULL
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
11937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= wxGridCellCoordsArray_helper(result
);
11954 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxGrid
*arg1
= (wxGrid
*) 0 ;
11957 wxGridCellCoordsArray result
;
11958 PyObject
* obj0
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= wxGridCellCoordsArray_helper(result
);
11981 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxGrid
*arg1
= (wxGrid
*) 0 ;
11984 wxGridCellCoordsArray result
;
11985 PyObject
* obj0
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= wxGridCellCoordsArray_helper(result
);
12008 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxGrid
*arg1
= (wxGrid
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
12018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= PyList_New(0);
12029 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12030 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12031 PyList_Append(resultobj
, val
);
12041 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxGrid
*arg1
= (wxGrid
*) 0 ;
12045 PyObject
* obj0
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
12051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= PyList_New(0);
12062 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12063 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12064 PyList_Append(resultobj
, val
);
12074 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxGrid
*arg1
= (wxGrid
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self",(char *) "row", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectRow",kwnames
,&obj0
,&arg2
)) goto fail
;
12084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 (arg1
)->DeselectRow(arg2
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxGrid
*arg1
= (wxGrid
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self",(char *) "col", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectCol",kwnames
,&obj0
,&arg2
)) goto fail
;
12109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 (arg1
)->DeselectCol(arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 Py_INCREF(Py_None
); resultobj
= Py_None
;
12124 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxGrid
*arg1
= (wxGrid
*) 0 ;
12129 PyObject
* obj0
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self",(char *) "row",(char *) "col", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_DeselectCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 (arg1
)->DeselectCell(arg2
,arg3
);
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 Py_INCREF(Py_None
); resultobj
= Py_None
;
12150 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxGrid
*arg1
= (wxGrid
*) 0 ;
12153 wxGridCellCoords
*arg2
= 0 ;
12154 wxGridCellCoords
*arg3
= 0 ;
12156 wxGridCellCoords temp2
;
12157 wxGridCellCoords temp3
;
12158 PyObject
* obj0
= 0 ;
12159 PyObject
* obj1
= 0 ;
12160 PyObject
* obj2
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12169 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
12173 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 wxRect
* resultptr
;
12184 resultptr
= new wxRect((wxRect
&) result
);
12185 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12193 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 wxGrid
*arg1
= (wxGrid
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12212 wxColour
* resultptr
;
12213 resultptr
= new wxColour((wxColour
&) result
);
12214 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12222 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxGrid
*arg1
= (wxGrid
*) 0 ;
12226 PyObject
* obj0
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12241 wxColour
* resultptr
;
12242 resultptr
= new wxColour((wxColour
&) result
);
12243 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12251 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxGrid
*arg1
= (wxGrid
*) 0 ;
12254 wxColour
*arg2
= 0 ;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self",(char *) "c", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 Py_INCREF(Py_None
); resultobj
= Py_None
;
12282 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxGrid
*arg1
= (wxGrid
*) 0 ;
12285 wxColour
*arg2
= 0 ;
12287 PyObject
* obj0
= 0 ;
12288 PyObject
* obj1
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self",(char *) "c", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 Py_INCREF(Py_None
); resultobj
= Py_None
;
12313 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxGrid
*arg1
= (wxGrid
*) 0 ;
12316 wxString
*arg2
= 0 ;
12317 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
12318 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12319 bool temp2
= False
;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 PyObject
* obj2
= 0 ;
12323 PyObject
* obj3
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12331 arg2
= wxString_in_helper(obj1
);
12332 if (arg2
== NULL
) SWIG_fail
;
12335 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12336 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12359 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxGrid
*arg1
= (wxGrid
*) 0 ;
12364 wxGridCellEditor
*result
;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self",(char *) "row",(char *) "col", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= wxPyMake_wxGridCellEditor(result
);
12388 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxGrid
*arg1
= (wxGrid
*) 0 ;
12393 wxGridCellRenderer
*result
;
12394 PyObject
* obj0
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self",(char *) "row",(char *) "col", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12417 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxGrid
*arg1
= (wxGrid
*) 0 ;
12420 wxString
*arg2
= 0 ;
12421 wxGridCellEditor
*result
;
12422 bool temp2
= False
;
12423 PyObject
* obj0
= 0 ;
12424 PyObject
* obj1
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "self",(char *) "typeName", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12432 arg2
= wxString_in_helper(obj1
);
12433 if (arg2
== NULL
) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= wxPyMake_wxGridCellEditor(result
);
12460 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxGrid
*arg1
= (wxGrid
*) 0 ;
12463 wxString
*arg2
= 0 ;
12464 wxGridCellRenderer
*result
;
12465 bool temp2
= False
;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "typeName", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12475 arg2
= wxString_in_helper(obj1
);
12476 if (arg2
== NULL
) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12503 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxGrid
*arg1
= (wxGrid
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 (arg1
)->SetMargins(arg2
,arg3
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 Py_INCREF(Py_None
); resultobj
= Py_None
;
12529 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxGrid
*arg1
= (wxGrid
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (wxWindow
*)(arg1
)->GetGridWindow();
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= wxPyMake_wxObject(result
);
12556 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxGrid
*arg1
= (wxGrid
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= wxPyMake_wxObject(result
);
12583 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxGrid
*arg1
= (wxGrid
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
12593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= wxPyMake_wxObject(result
);
12610 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxGrid
*arg1
= (wxGrid
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= wxPyMake_wxObject(result
);
12637 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
12639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12640 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
12642 return Py_BuildValue((char *)"");
12644 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12648 wxGrid
*arg3
= (wxGrid
*) 0 ;
12649 int arg4
= (int) -1 ;
12650 int arg5
= (int) -1 ;
12651 int arg6
= (int) -1 ;
12652 int arg7
= (int) -1 ;
12653 bool arg8
= (bool) True
;
12654 bool arg9
= (bool) False
;
12655 bool arg10
= (bool) False
;
12656 bool arg11
= (bool) False
;
12657 bool arg12
= (bool) False
;
12658 wxGridEvent
*result
;
12659 PyObject
* obj2
= 0 ;
12660 PyObject
* obj7
= 0 ;
12661 PyObject
* obj8
= 0 ;
12662 PyObject
* obj9
= 0 ;
12663 PyObject
* obj10
= 0 ;
12664 PyObject
* obj11
= 0 ;
12665 char *kwnames
[] = {
12666 (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
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO|iiiiOOOOO:new_GridEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12672 arg8
= PyInt_AsLong(obj7
) ? true : false;
12673 if (PyErr_Occurred()) SWIG_fail
;
12676 arg9
= PyInt_AsLong(obj8
) ? true : false;
12677 if (PyErr_Occurred()) SWIG_fail
;
12680 arg10
= PyInt_AsLong(obj9
) ? true : false;
12681 if (PyErr_Occurred()) SWIG_fail
;
12684 arg11
= PyInt_AsLong(obj10
) ? true : false;
12685 if (PyErr_Occurred()) SWIG_fail
;
12688 arg12
= PyInt_AsLong(obj11
) ? true : false;
12689 if (PyErr_Occurred()) SWIG_fail
;
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEvent
, 1);
12705 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12709 PyObject
* obj0
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
12715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (int)(arg1
)->GetRow();
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= PyInt_FromLong((long)result
);
12730 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 char *kwnames
[] = {
12736 (char *) "self", NULL
12739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
12740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (int)(arg1
)->GetCol();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= PyInt_FromLong((long)result
);
12755 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (arg1
)->GetPosition();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12774 wxPoint
* resultptr
;
12775 resultptr
= new wxPoint((wxPoint
&) result
);
12776 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12784 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 result
= (bool)(arg1
)->Selecting();
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= PyInt_FromLong((long)result
);
12809 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 result
= (bool)(arg1
)->ControlDown();
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 resultobj
= PyInt_FromLong((long)result
);
12834 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (bool)(arg1
)->MetaDown();
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= PyInt_FromLong((long)result
);
12859 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (bool)(arg1
)->ShiftDown();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= PyInt_FromLong((long)result
);
12884 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 result
= (bool)(arg1
)->AltDown();
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= PyInt_FromLong((long)result
);
12909 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12912 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
12914 return Py_BuildValue((char *)"");
12916 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12920 wxGrid
*arg3
= (wxGrid
*) 0 ;
12921 int arg4
= (int) -1 ;
12922 int arg5
= (int) -1 ;
12923 int arg6
= (int) -1 ;
12924 bool arg7
= (bool) False
;
12925 bool arg8
= (bool) False
;
12926 bool arg9
= (bool) False
;
12927 bool arg10
= (bool) False
;
12928 wxGridSizeEvent
*result
;
12929 PyObject
* obj2
= 0 ;
12930 PyObject
* obj6
= 0 ;
12931 PyObject
* obj7
= 0 ;
12932 PyObject
* obj8
= 0 ;
12933 PyObject
* obj9
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO|iiiOOOO:new_GridSizeEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12941 arg7
= PyInt_AsLong(obj6
) ? true : false;
12942 if (PyErr_Occurred()) SWIG_fail
;
12945 arg8
= PyInt_AsLong(obj7
) ? true : false;
12946 if (PyErr_Occurred()) SWIG_fail
;
12949 arg9
= PyInt_AsLong(obj8
) ? true : false;
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 arg10
= PyInt_AsLong(obj9
) ? true : false;
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizeEvent
, 1);
12970 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
12974 PyObject
* obj0
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (int)(arg1
)->GetRowOrCol();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= PyInt_FromLong((long)result
);
12995 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (arg1
)->GetPosition();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13014 wxPoint
* resultptr
;
13015 resultptr
= new wxPoint((wxPoint
&) result
);
13016 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13024 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (bool)(arg1
)->ControlDown();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= PyInt_FromLong((long)result
);
13049 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13053 PyObject
* obj0
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 result
= (bool)(arg1
)->MetaDown();
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= PyInt_FromLong((long)result
);
13074 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (bool)(arg1
)->ShiftDown();
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= PyInt_FromLong((long)result
);
13099 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13103 PyObject
* obj0
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (bool)(arg1
)->AltDown();
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= PyInt_FromLong((long)result
);
13124 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13127 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
13129 return Py_BuildValue((char *)"");
13131 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13135 wxGrid
*arg3
= (wxGrid
*) 0 ;
13136 wxGridCellCoords
*arg4
= 0 ;
13137 wxGridCellCoords
*arg5
= 0 ;
13138 bool arg6
= (bool) True
;
13139 bool arg7
= (bool) False
;
13140 bool arg8
= (bool) False
;
13141 bool arg9
= (bool) False
;
13142 bool arg10
= (bool) False
;
13143 wxGridRangeSelectEvent
*result
;
13144 wxGridCellCoords temp4
;
13145 wxGridCellCoords temp5
;
13146 PyObject
* obj2
= 0 ;
13147 PyObject
* obj3
= 0 ;
13148 PyObject
* obj4
= 0 ;
13149 PyObject
* obj5
= 0 ;
13150 PyObject
* obj6
= 0 ;
13151 PyObject
* obj7
= 0 ;
13152 PyObject
* obj8
= 0 ;
13153 PyObject
* obj9
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13162 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
13166 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
13169 arg6
= PyInt_AsLong(obj5
) ? true : false;
13170 if (PyErr_Occurred()) SWIG_fail
;
13173 arg7
= PyInt_AsLong(obj6
) ? true : false;
13174 if (PyErr_Occurred()) SWIG_fail
;
13177 arg8
= PyInt_AsLong(obj7
) ? true : false;
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 arg9
= PyInt_AsLong(obj8
) ? true : false;
13182 if (PyErr_Occurred()) SWIG_fail
;
13185 arg10
= PyInt_AsLong(obj9
) ? true : false;
13186 if (PyErr_Occurred()) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
13202 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13205 wxGridCellCoords result
;
13206 PyObject
* obj0
= 0 ;
13207 char *kwnames
[] = {
13208 (char *) "self", NULL
13211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
13212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (arg1
)->GetTopLeftCoords();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 wxGridCellCoords
* resultptr
;
13222 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13223 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13231 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13234 wxGridCellCoords result
;
13235 PyObject
* obj0
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (arg1
)->GetBottomRightCoords();
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13250 wxGridCellCoords
* resultptr
;
13251 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13252 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13260 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (int)(arg1
)->GetTopRow();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 resultobj
= PyInt_FromLong((long)result
);
13285 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
;
13287 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13289 PyObject
* obj0
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (int)(arg1
)->GetBottomRow();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= PyInt_FromLong((long)result
);
13310 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (int)(arg1
)->GetLeftCol();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= PyInt_FromLong((long)result
);
13335 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
13345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (int)(arg1
)->GetRightCol();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= PyInt_FromLong((long)result
);
13360 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)(arg1
)->Selecting();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= PyInt_FromLong((long)result
);
13385 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (bool)(arg1
)->ControlDown();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= PyInt_FromLong((long)result
);
13410 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (bool)(arg1
)->MetaDown();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= PyInt_FromLong((long)result
);
13435 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (bool)(arg1
)->ShiftDown();
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= PyInt_FromLong((long)result
);
13460 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (bool)(arg1
)->AltDown();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= PyInt_FromLong((long)result
);
13485 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13488 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
13490 return Py_BuildValue((char *)"");
13492 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13496 wxObject
*arg3
= (wxObject
*) 0 ;
13499 wxControl
*arg6
= (wxControl
*) 0 ;
13500 wxGridEditorCreatedEvent
*result
;
13501 PyObject
* obj2
= 0 ;
13502 PyObject
* obj5
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOiiO:new_GridEditorCreatedEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
13508 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13509 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
13524 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13528 PyObject
* obj0
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (int)(arg1
)->GetRow();
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= PyInt_FromLong((long)result
);
13549 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
13559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 result
= (int)(arg1
)->GetCol();
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= PyInt_FromLong((long)result
);
13574 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13578 PyObject
* obj0
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
13584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (wxControl
*)(arg1
)->GetControl();
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= wxPyMake_wxObject(result
);
13601 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13605 PyObject
* obj0
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self",(char *) "row", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 (arg1
)->SetRow(arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 Py_INCREF(Py_None
); resultobj
= Py_None
;
13626 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self",(char *) "col", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->SetCol(arg2
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 Py_INCREF(Py_None
); resultobj
= Py_None
;
13651 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13654 wxControl
*arg2
= (wxControl
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 PyObject
* obj1
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self",(char *) "ctrl", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 (arg1
)->SetControl(arg2
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 Py_INCREF(Py_None
); resultobj
= Py_None
;
13678 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13681 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
13683 return Py_BuildValue((char *)"");
13685 static PyMethodDef SwigMethods
[] = {
13686 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13687 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13688 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13689 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13690 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13691 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
13692 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13693 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
13694 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13695 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13696 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13697 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
13698 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13699 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
13700 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13701 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
13702 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13703 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13704 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13705 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13706 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13707 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
13708 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13709 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
13710 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13711 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
13712 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13713 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
13714 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13715 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
13716 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13717 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
13718 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13719 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13720 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13721 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13722 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13723 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13724 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13725 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
13726 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
13727 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
13728 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13729 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13730 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13731 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
13732 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13733 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13734 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13735 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13736 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13737 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13738 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
13739 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13740 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13741 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13742 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
13743 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13744 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13745 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13746 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13747 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13748 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13749 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13750 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
13751 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13752 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13753 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
13754 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13755 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13756 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
13757 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13758 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13759 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
13760 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13761 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13762 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
13763 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13764 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13765 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
13766 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
13767 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13768 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
13769 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
13770 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13771 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
13772 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13773 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13774 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13775 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
13776 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13777 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13778 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13779 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13780 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13781 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13782 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13783 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
13784 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13785 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13786 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13787 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13788 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13789 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13790 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13791 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13792 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13793 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13794 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13795 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
13796 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13797 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13798 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13799 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13800 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13801 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
13802 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13803 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13804 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13805 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13806 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
13807 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13808 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13809 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13810 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13811 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13812 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13813 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13814 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13815 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
13816 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13817 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13818 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13819 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13820 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13821 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13822 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
13823 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13824 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13825 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13826 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13827 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13828 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13829 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13830 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13831 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13832 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13833 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13834 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13835 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13836 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13837 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13838 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13839 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13840 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13841 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13842 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13843 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13844 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13845 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13846 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13847 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13848 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13849 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13850 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13851 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13852 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13853 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13854 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13855 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13856 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13857 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13858 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
13859 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13860 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13861 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13862 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13863 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13864 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13865 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13866 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13867 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13868 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13869 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13870 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13871 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13872 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13873 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13874 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13875 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13876 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13877 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13878 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13879 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13880 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13881 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
13882 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13883 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
13884 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13885 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13886 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13887 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13888 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13889 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13890 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13891 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13892 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13893 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13894 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
13895 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13896 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13897 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13898 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13899 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13900 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13901 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13902 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
13903 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
13904 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13905 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
13906 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
13907 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13908 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13909 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13910 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13911 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13912 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13913 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13914 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13915 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13916 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13917 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13918 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13919 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13920 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13921 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13922 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13923 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13924 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13925 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13926 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13927 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13928 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13929 { (char *)"Grid_Refresh", (PyCFunction
) _wrap_Grid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
13930 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13931 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13932 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13933 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13934 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13935 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13936 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13937 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13938 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13939 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13940 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13941 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13942 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13943 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13944 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13945 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13946 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13947 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13948 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13949 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13950 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13951 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13952 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13953 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13954 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13955 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13956 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13957 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13958 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13959 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13960 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13961 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13962 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13963 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13964 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13965 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13966 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13967 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13968 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13969 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13970 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13971 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
13972 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13973 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13974 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13975 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13976 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13977 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13978 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13979 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13980 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13981 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13982 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13983 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13984 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13985 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
13986 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13987 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13988 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13989 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13990 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13991 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13992 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13993 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13994 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13995 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13996 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13997 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13998 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13999 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14000 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14001 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14002 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14003 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14004 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14005 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14006 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14007 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14008 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14009 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14010 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14011 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14012 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14013 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14014 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14015 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14016 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14017 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14018 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14019 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14020 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14021 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14022 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14023 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14024 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14025 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14026 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14027 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14028 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14029 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14030 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14031 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14032 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14033 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14034 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14035 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14036 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14037 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14038 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14039 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14040 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14041 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14042 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14043 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14044 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14045 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14046 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14047 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14048 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14049 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14050 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14051 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14052 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14053 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14054 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14055 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14056 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14057 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14058 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14059 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14060 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14061 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14062 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14063 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14064 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14065 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
14066 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
14067 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
14068 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
14069 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
14070 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
14071 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
14072 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
14073 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
14074 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
14075 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
14076 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
14077 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
14078 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
14079 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
14080 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14081 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14082 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14083 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14084 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14085 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14086 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14087 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14088 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14089 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14090 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14091 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14092 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14093 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14094 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14095 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
14096 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14097 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14098 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14099 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14100 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14101 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14102 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14103 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14104 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14105 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
14106 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14107 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14108 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14109 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14110 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14111 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14112 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14113 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
14114 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14115 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14116 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14117 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14118 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14119 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14120 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14121 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14122 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14123 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14124 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14125 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14126 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
14127 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14128 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14129 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14130 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14131 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14132 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14133 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14134 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
14139 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14141 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
14142 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
14144 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
14145 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
14147 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
14148 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14150 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
14151 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14153 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
14154 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
14156 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
14157 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14159 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
14160 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14162 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
14163 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14165 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
14166 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14168 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
14169 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14171 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
14172 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14174 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
14175 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14177 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
14178 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14180 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
14181 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
14183 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
14184 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14186 static void *_p_wxGridTo_p_wxPanel(void *x
) {
14187 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
14189 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
14190 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14192 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
14193 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14195 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
14196 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
14198 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
14199 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14201 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
14202 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
14204 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
14205 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14207 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
14208 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14210 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
14211 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14213 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
14214 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14216 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
14217 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
14219 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
14220 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
14222 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
14223 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14225 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
14226 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14228 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
14229 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14231 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
14232 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
14234 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
14235 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
14237 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
14238 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14240 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
14241 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14243 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
14244 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14246 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
14247 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14249 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
14250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14252 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
14253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14255 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
14256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14258 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
14259 return (void *)((wxWindow
*) ((wxPanel
*) x
));
14261 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
14262 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
14264 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
14265 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
14267 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
14268 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14270 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
14271 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14273 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
14274 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14276 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
14277 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
14279 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
14280 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14282 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
14283 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
14285 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
14286 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
14288 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
14289 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
14291 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
14292 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
14294 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
14295 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
14297 static void *_p_wxControlTo_p_wxWindow(void *x
) {
14298 return (void *)((wxWindow
*) ((wxControl
*) x
));
14300 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
14301 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14303 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
14304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14306 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
14307 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14309 static void *_p_wxGridTo_p_wxWindow(void *x
) {
14310 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14312 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
14313 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
14315 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
14316 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
14318 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
14319 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14321 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
14322 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14324 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
14325 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14327 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
14328 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
14330 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
14331 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14333 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
14334 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
14336 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
14337 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
14339 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
14340 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
14342 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
14343 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
14345 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
14346 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
14348 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
14349 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
14351 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
14352 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
14354 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
14355 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
14357 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
14358 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
14360 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
14361 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
14363 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
14364 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
14366 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
14367 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
14369 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
14370 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
14372 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
14373 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
14375 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
14376 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
14378 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
14379 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14381 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
14382 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
14384 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
14385 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
14387 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
14388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14390 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
14391 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
14393 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
14394 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14396 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
14397 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
14399 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
14400 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14402 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
14403 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
14405 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
14406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
14408 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
14409 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
14411 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
14412 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
14414 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
14415 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
14417 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
14418 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
14420 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
14421 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
14423 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
14424 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
14426 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
14427 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14429 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
14430 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
14432 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
14433 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
14435 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
14436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14438 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
14439 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14441 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
14442 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14444 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
14445 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14447 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
14448 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14450 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
14451 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14453 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
14454 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14456 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
14457 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
14459 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
14460 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
14462 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
14463 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
14465 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
14466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
14468 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
14469 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14471 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
14472 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
14474 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
14475 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
14477 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
14478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
14480 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
14481 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
14483 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
14484 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
14486 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
14487 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
14489 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
14490 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
14492 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
14493 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
14495 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
14496 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
14498 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
14499 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14501 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
14502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14504 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
14505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14507 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
14508 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
14510 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
14511 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
14513 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
14514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
14516 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
14517 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
14519 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
14520 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
14522 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
14523 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
14525 static void *_p_wxSizerTo_p_wxObject(void *x
) {
14526 return (void *)((wxObject
*) ((wxSizer
*) x
));
14528 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
14529 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
14531 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
14532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14534 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
14535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
14537 static void *_p_wxEventTo_p_wxObject(void *x
) {
14538 return (void *)((wxObject
*) ((wxEvent
*) x
));
14540 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
14541 return (void *)((wxObject
*) ((wxFontData
*) x
));
14543 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
14544 return (void *)((wxObject
*) ((wxPrintData
*) x
));
14546 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
14547 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
14549 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
14550 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
14552 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
14553 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
14555 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
14556 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
14558 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
14559 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
14561 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
14562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14564 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
14565 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
14567 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
14568 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
14570 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
14571 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
14573 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
14574 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14576 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
14577 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14579 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
14580 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14582 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
14583 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14585 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
14586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14588 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
14589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14591 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
14592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14594 static void *_p_wxControlTo_p_wxObject(void *x
) {
14595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
14597 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
14598 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
14600 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
14601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14603 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
14604 return (void *)((wxObject
*) ((wxFSFile
*) x
));
14606 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
14607 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
14609 static void *_p_wxGridTo_p_wxObject(void *x
) {
14610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14612 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
14613 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
14615 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
14616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14618 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
14619 return (void *)((wxObject
*) ((wxColourData
*) x
));
14621 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
14622 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
14624 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
14625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14627 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
14628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
14630 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
14631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14633 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
14634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14636 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
14637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14639 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
14640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14642 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
14643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14645 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
14646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14648 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
14649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14651 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
14652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14654 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
14655 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
14657 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
14658 return (void *)((wxObject
*) ((wxPrinter
*) x
));
14660 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
14661 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
14663 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
14664 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
14666 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
14667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
14669 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
14670 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
14672 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
14673 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
14675 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
14676 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
14678 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
14679 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
14681 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
14682 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
14684 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
14685 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
14687 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
14688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14690 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
14691 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
14693 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
14694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
14696 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
14697 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
14699 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
14700 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
14702 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
14703 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
14705 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
14706 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
14708 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
14709 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
14711 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
14712 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
14714 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
14715 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
14717 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
14718 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
14720 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
14721 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
14723 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
14724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
14726 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
14727 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
14729 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
14730 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
14732 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
14733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14735 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
14736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14738 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
14739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14741 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
14742 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
14744 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
14745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14747 static void *_p_wxImageTo_p_wxObject(void *x
) {
14748 return (void *)((wxObject
*) ((wxImage
*) x
));
14750 static void *_p_wxFrameTo_p_wxObject(void *x
) {
14751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
14753 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
14754 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
14756 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
14757 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
14759 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
14760 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
14762 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
14763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
14765 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
14766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
14768 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
14769 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
14771 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
14772 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
14774 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
14775 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
14777 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
14778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
14780 static void *_p_wxWindowTo_p_wxObject(void *x
) {
14781 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
14783 static void *_p_wxMenuTo_p_wxObject(void *x
) {
14784 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
14786 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
14787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
14789 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
14790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
14792 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
14793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
14795 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
14796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
14798 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
14799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
14801 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
14802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14804 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
14805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
14807 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
14808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14810 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
14811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14813 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
14814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14816 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
14817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
14819 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
14820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
14822 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
14823 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
14825 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
14826 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
14828 static void *_p_wxPanelTo_p_wxObject(void *x
) {
14829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
14831 static void *_p_wxDialogTo_p_wxObject(void *x
) {
14832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
14834 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
14835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
14837 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
14838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
14840 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
14841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
14843 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
14844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
14846 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
14847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
14849 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
14850 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
14852 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
14853 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
14855 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
14856 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
14858 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
14859 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
14861 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
14862 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
14864 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
14865 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
14867 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
14868 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
14870 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
14871 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
14873 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
14874 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
14876 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
14877 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
14879 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
14880 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
14882 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
14883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
14885 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
14886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14888 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
14889 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
14891 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
14892 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
14894 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
14895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
14897 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
14898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
14900 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
14901 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
14903 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
14904 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
14906 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
14907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
14909 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
14910 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
14912 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
14913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14915 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
14916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14918 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
14919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
14921 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
14922 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
14924 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
14925 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
14927 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
14928 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
14930 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
14931 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
14933 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
14934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14936 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
14937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14939 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
14940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14942 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
14943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14945 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
14946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14948 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
14949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14951 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
14952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14954 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
14955 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
14957 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
14958 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
14960 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
14961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14963 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
14964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14966 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
14967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14969 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
14970 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
14972 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
14973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14975 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
14976 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
14978 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
14979 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
14981 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
14982 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
14984 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
14985 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
14987 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
14988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
14990 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
14991 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
14993 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
14994 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
14996 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
14997 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
14999 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
15000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15002 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
15003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15005 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
15006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15008 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
15009 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
15011 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
15012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
15014 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
15015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
15017 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
15018 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
15020 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
15021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15023 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
15024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15026 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
15027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15029 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
15032 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15033 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15035 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
15036 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
15038 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
15039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
15041 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
15042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15044 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
15045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15047 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
15048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15050 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
15051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
15053 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
15054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
15056 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
15057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
15059 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
15060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15062 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
15063 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
15065 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
15066 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
15068 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
15069 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
15071 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
15072 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
15074 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
15075 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15077 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
15078 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15080 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
15081 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
15083 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
15084 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
15086 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
15087 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15089 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
15090 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15092 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
15093 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15095 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
15096 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15098 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
15099 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15101 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
15102 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
15104 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
15105 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
15107 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
15108 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15110 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
15111 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
15113 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
15114 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
15116 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
15117 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
15119 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
15120 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
15122 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
15123 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15125 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
15126 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15128 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
15129 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
15131 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
15132 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
15134 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
15135 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
15137 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
15138 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
15140 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
15141 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
15143 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
15144 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
15146 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
15147 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
15149 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
15150 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15152 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
15153 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
15154 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
15155 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
15156 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
15157 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
15158 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
15159 static swig_type_info _swigt__p_wxGridCellRenderer
[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0},{"_p_wxGridCellRenderer"},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
},{0}};
15160 static swig_type_info _swigt__p_wxGridCellStringRenderer
[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0},{"_p_wxGridCellStringRenderer"},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
},{0}};
15161 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
15162 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
15163 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
15164 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
15165 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
15166 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxGrid", _p_wxGridTo_p_wxPanel
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
},{0}};
15167 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
15168 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
15169 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
15170 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
15171 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow
},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
15172 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxGrid", _p_wxGridTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
15173 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
15174 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
15175 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
},{0}};
15176 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxGrid", _p_wxGridTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject
},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
15177 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
15178 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
15179 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
15180 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
15181 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
15182 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
15183 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
15184 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
15185 static swig_type_info _swigt__p_wxGridTableBase
[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase
},{"_p_wxGridTableBase"},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase
},{0}};
15186 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
15187 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
15188 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
15189 static swig_type_info _swigt__p_wxGridCellEditor
[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0},{"_p_wxGridCellEditor"},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
},{0}};
15190 static swig_type_info _swigt__p_wxGridCellTextEditor
[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0},{"_p_wxGridCellTextEditor"},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
},{0}};
15191 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
15192 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
15193 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
15194 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
15195 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent
},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent
},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{0}};
15196 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
},{0}};
15197 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
15198 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
},{0}};
15199 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
15200 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
15201 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
15202 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
15204 static swig_type_info
*swig_types_initial
[] = {
15205 _swigt__p_wxGridCellAutoWrapStringRenderer
,
15206 _swigt__p_wxGridCellEnumRenderer
,
15207 _swigt__p_wxGridCellDateTimeRenderer
,
15208 _swigt__p_wxGridCellBoolRenderer
,
15209 _swigt__p_wxGridCellFloatRenderer
,
15210 _swigt__p_wxGridCellNumberRenderer
,
15211 _swigt__p_wxPyGridCellRenderer
,
15212 _swigt__p_wxGridCellRenderer
,
15213 _swigt__p_wxGridCellStringRenderer
,
15214 _swigt__p_wxGridCellAttr
,
15215 _swigt__p_wxColour
,
15217 _swigt__p_wxGridTableMessage
,
15220 _swigt__p_wxNotifyEvent
,
15221 _swigt__p_wxGridRangeSelectEvent
,
15223 _swigt__p_wxGridCellCoords
,
15224 _swigt__p_wxScrolledWindow
,
15225 _swigt__p_wxWindow
,
15227 _swigt__p_wxControl
,
15229 _swigt__p_wxObject
,
15230 _swigt__p_wxGridSizeEvent
,
15233 _swigt__p_wxString
,
15234 _swigt__p_wxEvtHandler
,
15236 _swigt__p_wxGridEvent
,
15237 _swigt__p_wxGridEditorCreatedEvent
,
15238 _swigt__p_wxGridTableBase
,
15239 _swigt__p_wxGridCellFloatEditor
,
15240 _swigt__p_wxGridCellNumberEditor
,
15241 _swigt__p_wxPyGridCellEditor
,
15242 _swigt__p_wxGridCellEditor
,
15243 _swigt__p_wxGridCellTextEditor
,
15244 _swigt__p_wxGridCellBoolEditor
,
15245 _swigt__p_wxPyGridTableBase
,
15246 _swigt__p_wxGridStringTable
,
15247 _swigt__p_wxArrayString
,
15248 _swigt__p_wxCommandEvent
,
15249 _swigt__p_wxGridCellAttrProvider
,
15250 _swigt__p_wxKeyEvent
,
15251 _swigt__p_wxGridCellChoiceEditor
,
15252 _swigt__p_wxGridCellEnumEditor
,
15253 _swigt__p_wxGridCellAutoWrapStringEditor
,
15255 _swigt__p_wxPyGridCellAttrProvider
,
15260 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15262 static swig_const_info swig_const_table
[] = {
15263 { SWIG_PY_STRING
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
15264 { SWIG_PY_STRING
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
15265 { SWIG_PY_STRING
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
15266 { SWIG_PY_STRING
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
15267 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
15268 { SWIG_PY_STRING
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
15269 { SWIG_PY_STRING
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
15270 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
15271 { SWIG_PY_STRING
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
15272 { SWIG_PY_INT
, (char *)"GridCellAttr_Any", (long) wxGridCellAttr::Any
, 0, 0, 0},
15273 { SWIG_PY_INT
, (char *)"GridCellAttr_Default", (long) wxGridCellAttr::Default
, 0, 0, 0},
15274 { SWIG_PY_INT
, (char *)"GridCellAttr_Cell", (long) wxGridCellAttr::Cell
, 0, 0, 0},
15275 { SWIG_PY_INT
, (char *)"GridCellAttr_Row", (long) wxGridCellAttr::Row
, 0, 0, 0},
15276 { SWIG_PY_INT
, (char *)"GridCellAttr_Col", (long) wxGridCellAttr::Col
, 0, 0, 0},
15277 { SWIG_PY_INT
, (char *)"GridCellAttr_Merged", (long) wxGridCellAttr::Merged
, 0, 0, 0},
15278 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_GET_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
, 0, 0, 0},
15279 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
, 0, 0, 0},
15280 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_INSERTED", (long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
, 0, 0, 0},
15281 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_APPENDED", (long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
, 0, 0, 0},
15282 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_DELETED", (long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
, 0, 0, 0},
15283 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_INSERTED", (long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
, 0, 0, 0},
15284 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_APPENDED", (long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
, 0, 0, 0},
15285 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_DELETED", (long) wxGRIDTABLE_NOTIFY_COLS_DELETED
, 0, 0, 0},
15286 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectCells", (long) wxGrid::wxGridSelectCells
, 0, 0, 0},
15287 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectRows", (long) wxGrid::wxGridSelectRows
, 0, 0, 0},
15288 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectColumns", (long) wxGrid::wxGridSelectColumns
, 0, 0, 0},
15289 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_CLICK", (long) wxEVT_GRID_CELL_LEFT_CLICK
, 0, 0, 0},
15290 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_CLICK", (long) wxEVT_GRID_CELL_RIGHT_CLICK
, 0, 0, 0},
15291 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_DCLICK", (long) wxEVT_GRID_CELL_LEFT_DCLICK
, 0, 0, 0},
15292 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_DCLICK", (long) wxEVT_GRID_CELL_RIGHT_DCLICK
, 0, 0, 0},
15293 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_CLICK", (long) wxEVT_GRID_LABEL_LEFT_CLICK
, 0, 0, 0},
15294 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_CLICK", (long) wxEVT_GRID_LABEL_RIGHT_CLICK
, 0, 0, 0},
15295 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_DCLICK", (long) wxEVT_GRID_LABEL_LEFT_DCLICK
, 0, 0, 0},
15296 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_DCLICK", (long) wxEVT_GRID_LABEL_RIGHT_DCLICK
, 0, 0, 0},
15297 { SWIG_PY_INT
, (char *)"wxEVT_GRID_ROW_SIZE", (long) wxEVT_GRID_ROW_SIZE
, 0, 0, 0},
15298 { SWIG_PY_INT
, (char *)"wxEVT_GRID_COL_SIZE", (long) wxEVT_GRID_COL_SIZE
, 0, 0, 0},
15299 { SWIG_PY_INT
, (char *)"wxEVT_GRID_RANGE_SELECT", (long) wxEVT_GRID_RANGE_SELECT
, 0, 0, 0},
15300 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_CHANGE", (long) wxEVT_GRID_CELL_CHANGE
, 0, 0, 0},
15301 { SWIG_PY_INT
, (char *)"wxEVT_GRID_SELECT_CELL", (long) wxEVT_GRID_SELECT_CELL
, 0, 0, 0},
15302 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_SHOWN", (long) wxEVT_GRID_EDITOR_SHOWN
, 0, 0, 0},
15303 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_HIDDEN", (long) wxEVT_GRID_EDITOR_HIDDEN
, 0, 0, 0},
15304 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_CREATED", (long) wxEVT_GRID_EDITOR_CREATED
, 0, 0, 0},
15314 SWIGEXPORT(void) SWIG_init(void) {
15315 static PyObject
*SWIG_globals
= 0;
15316 static int typeinit
= 0;
15319 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
15320 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
15321 d
= PyModule_GetDict(m
);
15324 for (i
= 0; swig_types_initial
[i
]; i
++) {
15325 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
15329 SWIG_InstallConstants(d
,swig_const_table
);
15331 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
15332 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
15333 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
15334 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
15335 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
15336 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
15337 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
15338 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
15339 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
15340 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
15341 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
15342 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
15343 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
15344 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
15345 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
15346 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
15347 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
15348 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
15349 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));