1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
51 /***********************************************************************
52 * common.swg for wxPython
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 ************************************************************************/
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 # 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 *);
117 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 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_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
212 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
213 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
214 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
215 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
216 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
217 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
218 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
219 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
220 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
221 #define SWIGTYPE_p_wxColour swig_types[10]
222 #define SWIGTYPE_p_wxDC swig_types[11]
223 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
224 #define SWIGTYPE_p_wxGrid swig_types[13]
225 #define SWIGTYPE_p_wxPanel swig_types[14]
226 #define SWIGTYPE_p_wxNotifyEvent swig_types[15]
227 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[16]
228 #define SWIGTYPE_p_wxSize swig_types[17]
229 #define SWIGTYPE_p_wxGridCellCoords swig_types[18]
230 #define SWIGTYPE_p_wxScrolledWindow swig_types[19]
231 #define SWIGTYPE_p_wxWindow swig_types[20]
232 #define SWIGTYPE_p_wxFont swig_types[21]
233 #define SWIGTYPE_p_wxControl swig_types[22]
234 #define SWIGTYPE_p_wxEvent swig_types[23]
235 #define SWIGTYPE_p_wxObject swig_types[24]
236 #define SWIGTYPE_p_wxGridSizeEvent swig_types[25]
237 #define SWIGTYPE_p_wxRect swig_types[26]
238 #define SWIGTYPE_p_long swig_types[27]
239 #define SWIGTYPE_p_wxString swig_types[28]
240 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
241 #define SWIGTYPE_p_wxPoint swig_types[30]
242 #define SWIGTYPE_p_wxGridEvent swig_types[31]
243 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[32]
244 #define SWIGTYPE_p_wxGridTableBase swig_types[33]
245 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[34]
246 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
247 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
248 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
249 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
250 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[39]
251 #define SWIGTYPE_p_wxPyGridTableBase swig_types[40]
252 #define SWIGTYPE_p_wxGridStringTable swig_types[41]
253 #define SWIGTYPE_p_wxArrayString swig_types[42]
254 #define SWIGTYPE_p_wxCommandEvent swig_types[43]
255 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[44]
256 #define SWIGTYPE_p_wxKeyEvent swig_types[45]
257 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[46]
258 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[47]
259 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[48]
260 #define SWIGTYPE_p_int swig_types[49]
261 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[50]
262 static swig_type_info
*swig_types
[52];
264 /* -------- TYPES TABLE (END) -------- */
267 /*-----------------------------------------------
269 ------------------------------------------------*/
270 #define SWIG_init init_grid
272 #define SWIG_name "_grid"
274 #include "wx/wxPython/wxPython.h"
275 #include "wx/wxPython/pyclasses.h"
276 #include "wx/wxPython/printfw.h"
279 #include <wx/generic/gridctrl.h>
281 DECLARE_DEF_STRING(PanelNameStr
);
282 DECLARE_DEF_STRING2(DateTimeFormatStr
, wxT("%c"));
283 static const wxString
wxPyEmptyString(wxT(""));
287 #define wxPyMake_TEMPLATE(TYPE) \
288 PyObject* wxPyMake_##TYPE(TYPE* source) { \
289 PyObject* target = NULL; \
291 /* Check if there is already a pointer to a Python object in the \
292 OOR data that we can use. */ \
293 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
295 target = data->m_obj; \
298 /* Otherwise make a new wrapper for it the old fashioned way and \
299 give it the OOR treatment */ \
301 target = wxPyConstructObject(source, wxT(#TYPE), False); \
303 source->SetClientObject(new wxPyOORClientData(target)); \
305 } else { /* source was NULL so return None. */ \
306 Py_INCREF(Py_None); target = Py_None; \
312 wxPyMake_TEMPLATE(wxGridCellRenderer)
313 wxPyMake_TEMPLATE(wxGridCellEditor
)
314 wxPyMake_TEMPLATE(wxGridCellAttr
)
315 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
316 wxPyMake_TEMPLATE(wxGridTableBase
)
320 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
321 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
322 wxGridCellAttr* rval = NULL; \
324 wxPyBeginBlockThreads(); \
325 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
327 wxGridCellAttr* ptr; \
328 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
330 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
335 wxPyEndBlockThreads(); \
337 rval = PCLASS::CBNAME(a, b, c); \
340 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
341 return PCLASS::CBNAME(a, b, c); \
346 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
347 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
348 wxPyBeginBlockThreads(); \
350 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
351 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
352 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
355 wxPyEndBlockThreads(); \
357 PCLASS::CBNAME(attr, a, b); \
359 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
360 PCLASS::CBNAME(attr, a, b); \
365 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
366 void CBNAME(wxGridCellAttr *attr, int val) { \
367 wxPyBeginBlockThreads(); \
369 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
370 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
371 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
374 wxPyEndBlockThreads(); \
376 PCLASS::CBNAME(attr, val); \
378 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
379 PCLASS::CBNAME(attr, val); \
384 #define PYCALLBACK_INT__pure(CBNAME) \
386 wxPyBeginBlockThreads(); \
388 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
389 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
390 wxPyEndBlockThreads(); \
396 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
397 bool CBNAME(int a, int b) { \
398 wxPyBeginBlockThreads(); \
400 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
401 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
402 wxPyEndBlockThreads(); \
407 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
408 wxString CBNAME(int a, int b) { \
409 wxPyBeginBlockThreads(); \
411 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
413 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
415 rval = Py2wxString(ro); \
419 wxPyEndBlockThreads(); \
424 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
425 void CBNAME(int a, int b, const wxString& c) { \
426 wxPyBeginBlockThreads(); \
427 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
428 PyObject* s = wx2PyString(c); \
429 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
432 wxPyEndBlockThreads(); \
436 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
437 wxString CBNAME(int a, int b) { \
439 wxPyBeginBlockThreads(); \
441 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
443 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
445 rval = Py2wxString(ro); \
449 wxPyEndBlockThreads(); \
451 rval = PCLASS::CBNAME(a, b); \
454 wxString base_##CBNAME(int a, int b) { \
455 return PCLASS::CBNAME(a, b); \
459 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
460 bool CBNAME(int a, int b, const wxString& c) { \
463 wxPyBeginBlockThreads(); \
464 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
465 PyObject* s = wx2PyString(c); \
466 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
469 wxPyEndBlockThreads(); \
471 rval = PCLASS::CBNAME(a,b,c); \
474 bool base_##CBNAME(int a, int b, const wxString& c) { \
475 return PCLASS::CBNAME(a,b,c); \
481 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
482 long CBNAME(int a, int b) { \
485 wxPyBeginBlockThreads(); \
486 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
487 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
488 wxPyEndBlockThreads(); \
490 rval = PCLASS::CBNAME(a,b); \
493 long base_##CBNAME(int a, int b) { \
494 return PCLASS::CBNAME(a,b); \
499 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
500 bool CBNAME(int a, int b) { \
503 wxPyBeginBlockThreads(); \
504 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
505 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
506 wxPyEndBlockThreads(); \
508 rval = PCLASS::CBNAME(a,b); \
511 bool base_##CBNAME(int a, int b) { \
512 return PCLASS::CBNAME(a,b); \
517 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
518 double CBNAME(int a, int b) { \
520 wxPyBeginBlockThreads(); \
522 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
524 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
526 PyObject* str = PyObject_Str(ro); \
527 rval = PyFloat_AsDouble(str); \
528 Py_DECREF(ro); Py_DECREF(str); \
531 wxPyEndBlockThreads(); \
533 rval = PCLASS::CBNAME(a, b); \
536 double base_##CBNAME(int a, int b) { \
537 return PCLASS::CBNAME(a, b); \
542 #define PYCALLBACK__(PCLASS, CBNAME) \
545 wxPyBeginBlockThreads(); \
546 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
547 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
548 wxPyEndBlockThreads(); \
552 void base_##CBNAME() { \
559 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
560 bool CBNAME(size_t a, size_t b) { \
563 wxPyBeginBlockThreads(); \
564 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
565 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
566 wxPyEndBlockThreads(); \
568 rval = PCLASS::CBNAME(a,b); \
571 bool base_##CBNAME(size_t a, size_t b) { \
572 return PCLASS::CBNAME(a,b); \
577 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
578 bool CBNAME(size_t a) { \
581 wxPyBeginBlockThreads(); \
582 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
583 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
584 wxPyEndBlockThreads(); \
586 rval = PCLASS::CBNAME(a); \
589 bool base_##CBNAME(size_t a) { \
590 return PCLASS::CBNAME(a); \
594 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
595 wxString CBNAME(int a) { \
597 wxPyBeginBlockThreads(); \
599 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
601 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
603 rval = Py2wxString(ro); \
607 wxPyEndBlockThreads(); \
609 rval = PCLASS::CBNAME(a); \
612 wxString base_##CBNAME(int a) { \
613 return PCLASS::CBNAME(a); \
617 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
618 void CBNAME(int a, const wxString& c) { \
620 wxPyBeginBlockThreads(); \
621 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
622 PyObject* s = wx2PyString(c); \
623 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
626 wxPyEndBlockThreads(); \
628 PCLASS::CBNAME(a,c); \
630 void base_##CBNAME(int a, const wxString& c) { \
631 PCLASS::CBNAME(a,c); \
637 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
641 wxPyBeginBlockThreads(); \
642 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
644 wxPyEndBlockThreads(); \
646 rval = PCLASS::CBNAME(); \
649 bool base_##CBNAME() { \
650 return PCLASS::CBNAME(); \
655 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
656 void CBNAME(size_t a, int b) { \
658 wxPyBeginBlockThreads(); \
659 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
660 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
661 wxPyEndBlockThreads(); \
663 PCLASS::CBNAME(a,b); \
665 void base_##CBNAME(size_t a, int b) { \
666 PCLASS::CBNAME(a,b); \
672 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
673 void CBNAME(int a, int b, long c) { \
675 wxPyBeginBlockThreads(); \
676 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
677 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
678 wxPyEndBlockThreads(); \
680 PCLASS::CBNAME(a,b,c); \
682 void base_##CBNAME(int a, int b, long c) { \
683 PCLASS::CBNAME(a,b,c); \
689 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
690 void CBNAME(int a, int b, double c) { \
692 wxPyBeginBlockThreads(); \
693 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
694 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
695 wxPyEndBlockThreads(); \
697 PCLASS::CBNAME(a,b,c); \
699 void base_##CBNAME(int a, int b, double c) { \
700 PCLASS::CBNAME(a,b,c); \
705 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
706 void CBNAME(int a, int b, bool c) { \
708 wxPyBeginBlockThreads(); \
709 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
710 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
711 wxPyEndBlockThreads(); \
713 PCLASS::CBNAME(a,b,c); \
715 void base_##CBNAME(int a, int b, bool c) { \
716 PCLASS::CBNAME(a,b,c); \
723 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
724 self
->SetClientObject(new wxPyOORClientData(_self
));
727 class wxPyGridCellRenderer
: public wxGridCellRenderer
730 wxPyGridCellRenderer() : wxGridCellRenderer() {};
732 // Implement Python callback aware virtual methods
733 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
734 wxDC
& dc
, const wxRect
& rect
,
735 int row
, int col
, bool isSelected
) {
736 wxPyBeginBlockThreads();
737 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
738 PyObject
* go
= wxPyMake_wxObject(&grid
);
739 PyObject
* dco
= wxPyMake_wxObject(&dc
);
740 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
741 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
743 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
744 row
, col
, isSelected
));
750 wxPyEndBlockThreads();
753 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
756 wxPyBeginBlockThreads();
757 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
760 PyObject
* go
= wxPyMake_wxObject(&grid
);
761 PyObject
* dco
= wxPyMake_wxObject(&dc
);
762 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
764 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
772 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
773 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
776 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
777 PyObject
* o1
= PySequence_GetItem(ro
, 0);
778 PyObject
* o2
= PySequence_GetItem(ro
, 1);
779 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
780 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
782 PyErr_SetString(PyExc_TypeError
, errmsg
);
787 PyErr_SetString(PyExc_TypeError
, errmsg
);
792 wxPyEndBlockThreads();
797 wxGridCellRenderer
*Clone() const {
798 wxGridCellRenderer
* rval
= NULL
;
799 wxPyBeginBlockThreads();
800 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
802 wxGridCellRenderer
* ptr
;
803 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
805 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
810 wxPyEndBlockThreads();
814 DEC_PYCALLBACK__STRING(SetParameters
);
819 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
822 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
823 self
->SetClientObject(new wxPyOORClientData(_self
));
826 class wxPyGridCellEditor
: public wxGridCellEditor
829 wxPyGridCellEditor() : wxGridCellEditor() {}
831 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
832 wxPyBeginBlockThreads();
833 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
834 PyObject
* po
= wxPyMake_wxObject(parent
);
835 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
837 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
841 wxPyEndBlockThreads();
845 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
846 wxPyBeginBlockThreads();
847 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
848 PyObject
* go
= wxPyMake_wxObject(grid
);
849 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
852 wxPyEndBlockThreads();
856 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
858 wxPyBeginBlockThreads();
859 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
860 PyObject
* go
= wxPyMake_wxObject(grid
);
861 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
864 wxPyEndBlockThreads();
869 wxGridCellEditor
* Clone() const {
870 wxGridCellEditor
* rval
= NULL
;
871 wxPyBeginBlockThreads();
872 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
874 wxGridCellEditor
* ptr
;
875 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
877 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
882 wxPyEndBlockThreads();
887 void Show(bool show
, wxGridCellAttr
*attr
) {
889 wxPyBeginBlockThreads();
890 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
891 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
892 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
895 wxPyEndBlockThreads();
897 wxGridCellEditor::Show(show
, attr
);
899 void base_Show(bool show
, wxGridCellAttr
*attr
) {
900 wxGridCellEditor::Show(show
, attr
);
904 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
906 wxPyBeginBlockThreads();
907 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
908 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
909 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
911 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
916 wxPyEndBlockThreads();
918 wxGridCellEditor::PaintBackground(rectCell
, attr
);
920 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
921 wxGridCellEditor::PaintBackground(rectCell
, attr
);
925 DEC_PYCALLBACK___pure(Reset
);
926 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
927 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
928 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
929 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
930 DEC_PYCALLBACK__(StartingClick
);
931 DEC_PYCALLBACK__(Destroy
);
932 DEC_PYCALLBACK__STRING(SetParameters
);
933 DEC_PYCALLBACK_STRING__constpure(GetValue
);
939 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
940 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
941 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
942 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
943 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
944 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
945 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
946 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
947 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
950 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
951 self
->SetClientObject(new wxPyOORClientData(_self
));
954 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
960 } else if (target
== Py_None
) {
964 if (!PyTuple_Check(target
)) {
966 target
= PyTuple_New(1);
967 PyTuple_SetItem(target
, 0, o2
);
970 PyTuple_SetItem(o3
, 0, o
);
973 target
= PySequence_Concat(o2
, o3
);
980 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
981 self
->SetClientObject(new wxPyOORClientData(_self
));
984 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
987 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
989 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
990 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
991 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
992 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
997 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
998 self
->SetClientObject(new wxPyOORClientData(_self
));
1001 class wxPyGridTableBase
: public wxGridTableBase
1004 wxPyGridTableBase() : wxGridTableBase() {}
1006 PYCALLBACK_INT__pure(GetNumberRows
);
1007 PYCALLBACK_INT__pure(GetNumberCols
);
1008 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1009 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1010 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1011 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1012 PYCALLBACK__(wxGridTableBase
, Clear
);
1013 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1014 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1015 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1016 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1017 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1018 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1019 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1020 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1021 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1022 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1023 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1024 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1025 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1026 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1027 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1030 wxString
GetValue(int row
, int col
) {
1031 wxPyBeginBlockThreads();
1033 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1035 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1037 rval
= Py2wxString(ro
);
1041 wxPyEndBlockThreads();
1045 void SetValue(int row
, int col
, const wxString
& val
) {
1046 wxPyBeginBlockThreads();
1047 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1048 PyObject
* s
= wx2PyString(val
);
1049 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1052 wxPyEndBlockThreads();
1056 // Map the Get/Set methods for the standard non-string types to
1057 // the GetValue and SetValue python methods.
1058 long GetValueAsLong( int row
, int col
) {
1060 wxPyBeginBlockThreads();
1061 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1064 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1065 if (ro
&& PyNumber_Check(ro
)) {
1066 num
= PyNumber_Int(ro
);
1068 rval
= PyInt_AsLong(num
);
1074 wxPyEndBlockThreads();
1078 double GetValueAsDouble( int row
, int col
) {
1080 wxPyBeginBlockThreads();
1081 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1084 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1085 if (ro
&& PyNumber_Check(ro
)) {
1086 num
= PyNumber_Float(ro
);
1088 rval
= PyFloat_AsDouble(num
);
1094 wxPyEndBlockThreads();
1098 bool GetValueAsBool( int row
, int col
) {
1099 return (bool)GetValueAsLong(row
, col
);
1102 void SetValueAsLong( int row
, int col
, long value
) {
1103 wxPyBeginBlockThreads();
1104 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1105 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1107 wxPyEndBlockThreads();
1110 void SetValueAsDouble( int row
, int col
, double value
) {
1111 wxPyBeginBlockThreads();
1112 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1113 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1115 wxPyEndBlockThreads();
1118 void SetValueAsBool( int row
, int col
, bool value
) {
1119 SetValueAsLong( row
, col
, (long)value
);
1126 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1127 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1128 PyObject
* tup
= PyTuple_New(2);
1129 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1130 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1134 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1136 // If source is an object instance then it may already be the right type
1137 if (wxPySwigInstance_Check(source
)) {
1138 wxGridCellCoords
* ptr
;
1139 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1144 // otherwise a 2-tuple of integers is expected
1145 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1146 PyObject
* o1
= PySequence_GetItem(source
, 0);
1147 PyObject
* o2
= PySequence_GetItem(source
, 1);
1148 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1153 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1160 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1165 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1168 if (wxPySwigInstance_Check(source
) &&
1169 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1173 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1180 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1182 PyObject
* list
= PyList_New(0);
1184 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1185 wxGridCellCoords
& coord
= source
.Item(idx
);
1186 PyObject
* tup
= PyTuple_New(2);
1187 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1188 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1189 PyList_Append(list
, tup
);
1196 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1198 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1199 wxGridCellCoords rv
;
1200 self
->XYToCell(x
, y
, rv
);
1206 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1207 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1212 static PyObject
*_wrap_GridNoCellCoords_get() {
1215 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellCoords
, SWIGTYPE_p_wxGridCellCoords
, 0);
1220 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1221 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1226 static PyObject
*_wrap_GridNoCellRect_get() {
1229 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellRect
, SWIGTYPE_p_wxRect
, 0);
1234 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
*resultobj
;
1236 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1237 PyObject
*arg2
= (PyObject
*) 0 ;
1238 PyObject
* obj0
= 0 ;
1239 PyObject
* obj1
= 0 ;
1241 (char *) "self",(char *) "_self", NULL
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) SWIG_fail
;
1254 Py_INCREF(Py_None
); resultobj
= Py_None
;
1261 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
*resultobj
;
1263 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1264 wxString
*arg2
= 0 ;
1265 bool temp2
= False
;
1266 PyObject
* obj0
= 0 ;
1267 PyObject
* obj1
= 0 ;
1269 (char *) "self",(char *) "params", NULL
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1275 arg2
= wxString_in_helper(obj1
);
1276 if (arg2
== NULL
) SWIG_fail
;
1280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1281 (arg1
)->SetParameters((wxString
const &)*arg2
);
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) SWIG_fail
;
1286 Py_INCREF(Py_None
); resultobj
= Py_None
;
1301 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
*resultobj
;
1303 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1304 PyObject
* obj0
= 0 ;
1306 (char *) "self", NULL
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) SWIG_fail
;
1318 Py_INCREF(Py_None
); resultobj
= Py_None
;
1325 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
*resultobj
;
1327 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1328 PyObject
* obj0
= 0 ;
1330 (char *) "self", NULL
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) SWIG_fail
;
1342 Py_INCREF(Py_None
); resultobj
= Py_None
;
1349 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
*resultobj
;
1351 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1353 wxGridCellAttr
*arg3
= 0 ;
1360 PyObject
* obj0
= 0 ;
1361 PyObject
* obj1
= 0 ;
1362 PyObject
* obj2
= 0 ;
1363 PyObject
* obj3
= 0 ;
1364 PyObject
* obj4
= 0 ;
1365 PyObject
* obj7
= 0 ;
1367 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOiiO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
)) goto fail
;
1371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1374 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1376 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1380 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1382 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1386 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1388 arg8
= PyInt_AsLong(obj7
) ? true : false;
1389 if (PyErr_Occurred()) SWIG_fail
;
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1397 Py_INCREF(Py_None
); resultobj
= Py_None
;
1404 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1408 wxGridCellAttr
*arg3
= 0 ;
1413 PyObject
* obj0
= 0 ;
1414 PyObject
* obj1
= 0 ;
1415 PyObject
* obj2
= 0 ;
1416 PyObject
* obj3
= 0 ;
1418 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOii:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
1422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1427 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1431 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1444 resultptr
= new wxSize((wxSize
&) result
);
1445 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1453 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1456 wxGridCellRenderer
*result
;
1457 PyObject
* obj0
= 0 ;
1459 (char *) "self", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1472 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1480 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1483 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1485 return Py_BuildValue((char *)"");
1487 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
*resultobj
;
1489 wxPyGridCellRenderer
*result
;
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1502 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1509 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
*resultobj
;
1511 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1512 PyObject
*arg2
= (PyObject
*) 0 ;
1513 PyObject
*arg3
= (PyObject
*) 0 ;
1514 PyObject
* obj0
= 0 ;
1515 PyObject
* obj1
= 0 ;
1516 PyObject
* obj2
= 0 ;
1518 (char *) "self",(char *) "self",(char *) "_class", NULL
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1532 Py_INCREF(Py_None
); resultobj
= Py_None
;
1539 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
*resultobj
;
1541 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1542 wxString
*arg2
= 0 ;
1543 bool temp2
= False
;
1544 PyObject
* obj0
= 0 ;
1545 PyObject
* obj1
= 0 ;
1547 (char *) "self",(char *) "params", NULL
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1553 arg2
= wxString_in_helper(obj1
);
1554 if (arg2
== NULL
) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1564 Py_INCREF(Py_None
); resultobj
= Py_None
;
1579 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1582 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1584 return Py_BuildValue((char *)"");
1586 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
*resultobj
;
1588 wxGridCellStringRenderer
*result
;
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1608 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1611 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1613 return Py_BuildValue((char *)"");
1615 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
*resultobj
;
1617 wxGridCellNumberRenderer
*result
;
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1637 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1640 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1642 return Py_BuildValue((char *)"");
1644 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
*resultobj
;
1646 int arg1
= (int) -1 ;
1647 int arg2
= (int) -1 ;
1648 wxGridCellFloatRenderer
*result
;
1650 (char *) "width",(char *) "precision", NULL
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellFloatRenderer",kwnames
,&arg1
,&arg2
)) goto fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1668 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1672 PyObject
* obj0
= 0 ;
1674 (char *) "self", NULL
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1686 resultobj
= PyInt_FromLong((long)result
);
1693 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
*resultobj
;
1695 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1697 PyObject
* obj0
= 0 ;
1699 (char *) "self",(char *) "width", NULL
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 (arg1
)->SetWidth(arg2
);
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1711 Py_INCREF(Py_None
); resultobj
= Py_None
;
1718 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
*resultobj
;
1720 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1722 PyObject
* obj0
= 0 ;
1724 (char *) "self", NULL
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
1728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1736 resultobj
= PyInt_FromLong((long)result
);
1743 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
*resultobj
;
1745 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1747 PyObject
* obj0
= 0 ;
1749 (char *) "self",(char *) "precision", NULL
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&arg2
)) goto fail
;
1753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 (arg1
)->SetPrecision(arg2
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1761 Py_INCREF(Py_None
); resultobj
= Py_None
;
1768 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1771 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
1773 return Py_BuildValue((char *)"");
1775 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1777 wxGridCellBoolRenderer
*result
;
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
1797 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1800 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
1802 return Py_BuildValue((char *)"");
1804 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
1807 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
1808 wxGridCellDateTimeRenderer
*result
;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1812 (char *) "outformat",(char *) "informat", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1818 wxString
* sptr
= wxString_in_helper(obj0
);
1819 if (sptr
== NULL
) SWIG_fail
;
1826 wxString
* sptr
= wxString_in_helper(obj1
);
1827 if (sptr
== NULL
) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
1846 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1849 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
1851 return Py_BuildValue((char *)"");
1853 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
*resultobj
;
1855 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1856 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1857 wxGridCellEnumRenderer
*result
;
1858 bool temp1
= False
;
1859 PyObject
* obj0
= 0 ;
1861 (char *) "choices", NULL
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
1867 arg1
= wxString_in_helper(obj0
);
1868 if (arg1
== NULL
) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
1894 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1897 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
1899 return Py_BuildValue((char *)"");
1901 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxGridCellAutoWrapStringRenderer
*result
;
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
1923 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1926 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
1928 return Py_BuildValue((char *)"");
1930 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
*resultobj
;
1932 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1933 PyObject
*arg2
= (PyObject
*) 0 ;
1934 PyObject
* obj0
= 0 ;
1935 PyObject
* obj1
= 0 ;
1937 (char *) "self",(char *) "_self", NULL
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 wxGridCellEditor__setOORInfo(arg1
,arg2
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 Py_INCREF(Py_None
); resultobj
= Py_None
;
1957 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1961 PyObject
* obj0
= 0 ;
1963 (char *) "self", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 result
= (bool)(arg1
)->IsCreated();
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 resultobj
= PyInt_FromLong((long)result
);
1982 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1986 PyObject
* obj0
= 0 ;
1988 (char *) "self", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1995 result
= (wxControl
*)(arg1
)->GetControl();
1997 wxPyEndAllowThreads(__tstate
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2001 resultobj
= wxPyMake_wxObject(result
);
2009 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
*resultobj
;
2011 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2012 wxControl
*arg2
= (wxControl
*) 0 ;
2013 PyObject
* obj0
= 0 ;
2014 PyObject
* obj1
= 0 ;
2016 (char *) "self",(char *) "control", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->SetControl(arg2
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2039 wxGridCellAttr
*result
;
2040 PyObject
* obj0
= 0 ;
2042 (char *) "self", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2049 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2051 wxPyEndAllowThreads(__tstate
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= wxPyMake_wxGridCellAttr(result
);
2063 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2066 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2068 PyObject
* obj1
= 0 ;
2070 (char *) "self",(char *) "attr", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 (arg1
)->SetCellAttr(arg2
);
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 Py_INCREF(Py_None
); resultobj
= Py_None
;
2090 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2093 wxString
*arg2
= 0 ;
2094 bool temp2
= False
;
2095 PyObject
* obj0
= 0 ;
2096 PyObject
* obj1
= 0 ;
2098 (char *) "self",(char *) "params", NULL
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2104 arg2
= wxString_in_helper(obj1
);
2105 if (arg2
== NULL
) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 (arg1
)->SetParameters((wxString
const &)*arg2
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2130 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2133 PyObject
* obj0
= 0 ;
2135 (char *) "self", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2147 Py_INCREF(Py_None
); resultobj
= Py_None
;
2154 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2156 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2159 (char *) "self", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 wxPyEndAllowThreads(__tstate
);
2169 if (PyErr_Occurred()) SWIG_fail
;
2171 Py_INCREF(Py_None
); resultobj
= Py_None
;
2178 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
*resultobj
;
2180 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2181 wxWindow
*arg2
= (wxWindow
*) 0 ;
2183 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2184 PyObject
* obj0
= 0 ;
2185 PyObject
* obj1
= 0 ;
2186 PyObject
* obj3
= 0 ;
2188 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2194 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 (arg1
)->Create(arg2
,arg3
,arg4
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2214 wxGrid
*arg4
= (wxGrid
*) 0 ;
2215 PyObject
* obj0
= 0 ;
2216 PyObject
* obj3
= 0 ;
2218 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2223 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 Py_INCREF(Py_None
); resultobj
= Py_None
;
2238 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
*resultobj
;
2240 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2243 wxGrid
*arg4
= (wxGrid
*) 0 ;
2245 PyObject
* obj0
= 0 ;
2246 PyObject
* obj3
= 0 ;
2248 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_EndEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2253 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 resultobj
= PyInt_FromLong((long)result
);
2268 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
*resultobj
;
2270 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2271 PyObject
* obj0
= 0 ;
2273 (char *) "self", NULL
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2285 Py_INCREF(Py_None
); resultobj
= Py_None
;
2292 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
*resultobj
;
2294 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2295 wxGridCellEditor
*result
;
2296 PyObject
* obj0
= 0 ;
2298 (char *) "self", NULL
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 resultobj
= wxPyMake_wxGridCellEditor(result
);
2319 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2324 PyObject
* obj0
= 0 ;
2325 PyObject
* obj1
= 0 ;
2327 (char *) "self",(char *) "rect", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2334 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 (arg1
)->SetSize((wxRect
const &)*arg2
);
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2343 Py_INCREF(Py_None
); resultobj
= Py_None
;
2350 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
*resultobj
;
2352 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2354 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2355 PyObject
* obj0
= 0 ;
2356 PyObject
* obj1
= 0 ;
2357 PyObject
* obj2
= 0 ;
2359 (char *) "self",(char *) "show",(char *) "attr", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2364 arg2
= PyInt_AsLong(obj1
) ? true : false;
2365 if (PyErr_Occurred()) SWIG_fail
;
2367 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 (arg1
)->Show(arg2
,arg3
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 Py_INCREF(Py_None
); resultobj
= Py_None
;
2383 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2387 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2391 PyObject
* obj2
= 0 ;
2393 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2400 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2402 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2410 Py_INCREF(Py_None
); resultobj
= Py_None
;
2417 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2420 wxKeyEvent
*arg2
= 0 ;
2422 PyObject
* obj0
= 0 ;
2423 PyObject
* obj1
= 0 ;
2425 (char *) "self",(char *) "event", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2441 resultobj
= PyInt_FromLong((long)result
);
2448 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2451 wxKeyEvent
*arg2
= 0 ;
2452 PyObject
* obj0
= 0 ;
2453 PyObject
* obj1
= 0 ;
2455 (char *) "self",(char *) "event", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 (arg1
)->StartingKey(*arg2
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 Py_INCREF(Py_None
); resultobj
= Py_None
;
2478 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2481 PyObject
* obj0
= 0 ;
2483 (char *) "self", NULL
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 (arg1
)->StartingClick();
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2495 Py_INCREF(Py_None
); resultobj
= Py_None
;
2502 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
*resultobj
;
2504 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2505 wxKeyEvent
*arg2
= 0 ;
2506 PyObject
* obj0
= 0 ;
2507 PyObject
* obj1
= 0 ;
2509 (char *) "self",(char *) "event", NULL
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 (arg1
)->HandleReturn(*arg2
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2525 Py_INCREF(Py_None
); resultobj
= Py_None
;
2532 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2535 PyObject
* obj0
= 0 ;
2537 (char *) "self", NULL
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2549 Py_INCREF(Py_None
); resultobj
= Py_None
;
2556 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2559 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2561 return Py_BuildValue((char *)"");
2563 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 wxPyGridCellEditor
*result
;
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellEditor
, 1);
2585 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2588 PyObject
*arg2
= (PyObject
*) 0 ;
2589 PyObject
*arg3
= (PyObject
*) 0 ;
2590 PyObject
* obj0
= 0 ;
2591 PyObject
* obj1
= 0 ;
2592 PyObject
* obj2
= 0 ;
2594 (char *) "self",(char *) "self",(char *) "_class", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 Py_INCREF(Py_None
); resultobj
= Py_None
;
2615 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2620 PyObject
* obj0
= 0 ;
2621 PyObject
* obj1
= 0 ;
2623 (char *) "self",(char *) "rect", NULL
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2630 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 Py_INCREF(Py_None
); resultobj
= Py_None
;
2646 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2650 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2651 PyObject
* obj0
= 0 ;
2652 PyObject
* obj1
= 0 ;
2653 PyObject
* obj2
= 0 ;
2655 (char *) "self",(char *) "show",(char *) "attr", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2660 arg2
= PyInt_AsLong(obj1
) ? true : false;
2661 if (PyErr_Occurred()) SWIG_fail
;
2663 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->base_Show(arg2
,arg3
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2683 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2687 PyObject
* obj2
= 0 ;
2689 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2696 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2698 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2706 Py_INCREF(Py_None
); resultobj
= Py_None
;
2713 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
*resultobj
;
2715 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2716 wxKeyEvent
*arg2
= 0 ;
2718 PyObject
* obj0
= 0 ;
2719 PyObject
* obj1
= 0 ;
2721 (char *) "self",(char *) "event", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2728 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= PyInt_FromLong((long)result
);
2744 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
*resultobj
;
2746 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2747 wxKeyEvent
*arg2
= 0 ;
2748 PyObject
* obj0
= 0 ;
2749 PyObject
* obj1
= 0 ;
2751 (char *) "self",(char *) "event", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 (arg1
)->base_StartingKey(*arg2
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 Py_INCREF(Py_None
); resultobj
= Py_None
;
2774 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2777 PyObject
* obj0
= 0 ;
2779 (char *) "self", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
2783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 (arg1
)->base_StartingClick();
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2791 Py_INCREF(Py_None
); resultobj
= Py_None
;
2798 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2801 wxKeyEvent
*arg2
= 0 ;
2802 PyObject
* obj0
= 0 ;
2803 PyObject
* obj1
= 0 ;
2805 (char *) "self",(char *) "event", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 (arg1
)->base_HandleReturn(*arg2
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2828 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2831 PyObject
* obj0
= 0 ;
2833 (char *) "self", NULL
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
2837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 (arg1
)->base_Destroy();
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 Py_INCREF(Py_None
); resultobj
= Py_None
;
2852 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2855 wxString
*arg2
= 0 ;
2856 bool temp2
= False
;
2857 PyObject
* obj0
= 0 ;
2858 PyObject
* obj1
= 0 ;
2860 (char *) "self",(char *) "params", NULL
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2866 arg2
= wxString_in_helper(obj1
);
2867 if (arg2
== NULL
) SWIG_fail
;
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) SWIG_fail
;
2877 Py_INCREF(Py_None
); resultobj
= Py_None
;
2892 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2895 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
2897 return Py_BuildValue((char *)"");
2899 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
;
2901 wxGridCellTextEditor
*result
;
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellTextEditor
, 1);
2921 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
*resultobj
;
2923 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
2925 PyObject
* obj0
= 0 ;
2927 (char *) "self", NULL
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
2931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellTextEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 result
= (arg1
)->GetValue();
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2952 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2955 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
2957 return Py_BuildValue((char *)"");
2959 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 int arg1
= (int) -1 ;
2962 int arg2
= (int) -1 ;
2963 wxGridCellNumberEditor
*result
;
2965 (char *) "min",(char *) "max", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellNumberEditor",kwnames
,&arg1
,&arg2
)) goto fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberEditor
, 1);
2983 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
2987 PyObject
* obj0
= 0 ;
2989 (char *) "self", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
2993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellNumberEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 result
= (arg1
)->GetValue();
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3014 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3017 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3019 return Py_BuildValue((char *)"");
3021 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
*resultobj
;
3023 wxGridCellFloatEditor
*result
;
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3043 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3049 (char *) "self", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 result
= (arg1
)->GetValue();
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3074 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3077 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3079 return Py_BuildValue((char *)"");
3081 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxGridCellBoolEditor
*result
;
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3103 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3109 (char *) "self", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellBoolEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (arg1
)->GetValue();
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3134 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3137 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3139 return Py_BuildValue((char *)"");
3141 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 int arg1
= (int) 0 ;
3144 wxString
*arg2
= (wxString
*) NULL
;
3145 bool arg3
= (bool) False
;
3146 wxGridCellChoiceEditor
*result
;
3147 PyObject
* obj0
= 0 ;
3148 PyObject
* obj1
= 0 ;
3150 (char *) "choices",(char *) "allowOthers", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3156 arg1
= PyList_Size(obj0
);
3157 arg2
= wxString_LIST_helper(obj0
);
3158 if (arg2
== NULL
) SWIG_fail
;
3162 arg3
= PyInt_AsLong(obj1
) ? true : false;
3163 if (PyErr_Occurred()) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3174 if (arg2
) delete [] arg2
;
3179 if (arg2
) delete [] arg2
;
3185 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3189 PyObject
* obj0
= 0 ;
3191 (char *) "self", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 result
= (arg1
)->GetValue();
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3216 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3219 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3221 return Py_BuildValue((char *)"");
3223 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3225 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3226 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3227 wxGridCellEnumEditor
*result
;
3228 bool temp1
= False
;
3229 PyObject
* obj0
= 0 ;
3231 (char *) "choices", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3237 arg1
= wxString_in_helper(obj0
);
3238 if (arg1
== NULL
) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3264 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
;
3266 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3268 PyObject
* obj0
= 0 ;
3270 (char *) "self", NULL
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEnumEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 result
= (arg1
)->GetValue();
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3295 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3298 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3300 return Py_BuildValue((char *)"");
3302 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxGridCellAutoWrapStringEditor
*result
;
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3324 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3328 PyObject
* obj0
= 0 ;
3330 (char *) "self", NULL
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (arg1
)->GetValue();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3355 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3358 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3360 return Py_BuildValue((char *)"");
3362 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3364 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3365 PyObject
*arg2
= (PyObject
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3369 (char *) "self",(char *) "_self", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3392 wxGridCellAttr
*result
;
3393 PyObject
* obj0
= 0 ;
3395 (char *) "attrDefault", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= wxPyMake_wxGridCellAttr(result
);
3418 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
*resultobj
;
3420 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3421 wxGridCellAttr
*result
;
3422 PyObject
* obj0
= 0 ;
3424 (char *) "self", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3437 resultobj
= wxPyMake_wxGridCellAttr(result
);
3445 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3448 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3452 (char *) "self",(char *) "mergefrom", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3457 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 (arg1
)->MergeWith(arg2
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 Py_INCREF(Py_None
); resultobj
= Py_None
;
3472 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3475 PyObject
* obj0
= 0 ;
3477 (char *) "self", NULL
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3499 PyObject
* obj0
= 0 ;
3501 (char *) "self", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 Py_INCREF(Py_None
); resultobj
= Py_None
;
3520 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
;
3522 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3523 wxColour
*arg2
= 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 (char *) "self",(char *) "colText", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3535 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 Py_INCREF(Py_None
); resultobj
= Py_None
;
3551 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3554 wxColour
*arg2
= 0 ;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3559 (char *) "self",(char *) "colBack", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 Py_INCREF(Py_None
); resultobj
= Py_None
;
3582 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "font", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3594 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3596 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 (arg1
)->SetFont((wxFont
const &)*arg2
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 Py_INCREF(Py_None
); resultobj
= Py_None
;
3612 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3614 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3617 PyObject
* obj0
= 0 ;
3619 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 (arg1
)->SetAlignment(arg2
,arg3
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 Py_INCREF(Py_None
); resultobj
= Py_None
;
3638 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3643 PyObject
* obj0
= 0 ;
3645 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 (arg1
)->SetSize(arg2
,arg3
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3657 Py_INCREF(Py_None
); resultobj
= Py_None
;
3664 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
*resultobj
;
3666 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3667 bool arg2
= (bool) True
;
3668 PyObject
* obj0
= 0 ;
3669 PyObject
* obj1
= 0 ;
3671 (char *) "self",(char *) "allow", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
3675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3677 arg2
= PyInt_AsLong(obj1
) ? true : false;
3678 if (PyErr_Occurred()) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 (arg1
)->SetOverflow(arg2
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 Py_INCREF(Py_None
); resultobj
= Py_None
;
3694 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3697 bool arg2
= (bool) True
;
3698 PyObject
* obj0
= 0 ;
3699 PyObject
* obj1
= 0 ;
3701 (char *) "self",(char *) "isReadOnly", NULL
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
3705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3707 arg2
= PyInt_AsLong(obj1
) ? true : false;
3708 if (PyErr_Occurred()) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->SetReadOnly(arg2
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3727 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3729 PyObject
* obj1
= 0 ;
3731 (char *) "self",(char *) "renderer", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 (arg1
)->SetRenderer(arg2
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 Py_INCREF(Py_None
); resultobj
= Py_None
;
3751 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3754 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj1
= 0 ;
3758 (char *) "self",(char *) "editor", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3763 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 (arg1
)->SetEditor(arg2
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self",(char *) "kind", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellAttr_SetKind",kwnames
,&obj0
,&arg2
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3809 (char *) "self", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
3813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= PyInt_FromLong((long)result
);
3828 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3834 (char *) "self", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= PyInt_FromLong((long)result
);
3853 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3857 PyObject
* obj0
= 0 ;
3859 (char *) "self", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
3863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= PyInt_FromLong((long)result
);
3878 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3880 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3882 PyObject
* obj0
= 0 ;
3884 (char *) "self", NULL
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
3888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= PyInt_FromLong((long)result
);
3903 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3909 (char *) "self", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
3913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 resultobj
= PyInt_FromLong((long)result
);
3928 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3930 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3932 PyObject
* obj0
= 0 ;
3934 (char *) "self", NULL
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
3938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= PyInt_FromLong((long)result
);
3953 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3957 PyObject
* obj0
= 0 ;
3959 (char *) "self", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
3963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= PyInt_FromLong((long)result
);
3978 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3982 PyObject
* obj0
= 0 ;
3984 (char *) "self", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
3988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 resultobj
= PyInt_FromLong((long)result
);
4003 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4009 (char *) "self", NULL
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4022 wxColour
* resultptr
;
4023 resultptr
= new wxColour((wxColour
&) result
);
4024 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4032 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4038 (char *) "self", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4051 wxColour
* resultptr
;
4052 resultptr
= new wxColour((wxColour
&) result
);
4053 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4061 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4065 PyObject
* obj0
= 0 ;
4067 (char *) "self", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4081 resultptr
= new wxFont((wxFont
&) result
);
4082 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
4090 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
;
4092 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4093 int *arg2
= (int *) 0 ;
4094 int *arg3
= (int *) 0 ;
4097 PyObject
* obj0
= 0 ;
4099 (char *) "self", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 Py_INCREF(Py_None
); resultobj
= Py_None
;
4115 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4116 resultobj
= t_output_helper(resultobj
,o
);
4119 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4120 resultobj
= t_output_helper(resultobj
,o
);
4128 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4130 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4131 int *arg2
= (int *) 0 ;
4132 int *arg3
= (int *) 0 ;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 Py_INCREF(Py_None
); resultobj
= Py_None
;
4153 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4154 resultobj
= t_output_helper(resultobj
,o
);
4157 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4158 resultobj
= t_output_helper(resultobj
,o
);
4166 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
;
4168 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4170 PyObject
* obj0
= 0 ;
4172 (char *) "self", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= PyInt_FromLong((long)result
);
4191 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4194 wxGrid
*arg2
= (wxGrid
*) 0 ;
4197 wxGridCellRenderer
*result
;
4198 PyObject
* obj0
= 0 ;
4199 PyObject
* obj1
= 0 ;
4201 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4223 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4226 wxGrid
*arg2
= (wxGrid
*) 0 ;
4229 wxGridCellEditor
*result
;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4233 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= wxPyMake_wxGridCellEditor(result
);
4255 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4257 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4259 PyObject
* obj0
= 0 ;
4261 (char *) "self", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= PyInt_FromLong((long)result
);
4280 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4283 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4284 PyObject
* obj0
= 0 ;
4285 PyObject
* obj1
= 0 ;
4287 (char *) "self",(char *) "defAttr", NULL
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 (arg1
)->SetDefAttr(arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 Py_INCREF(Py_None
); resultobj
= Py_None
;
4307 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4310 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4312 return Py_BuildValue((char *)"");
4314 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4316 wxGridCellAttrProvider
*result
;
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4338 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4340 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4341 PyObject
*arg2
= (PyObject
*) 0 ;
4342 PyObject
* obj0
= 0 ;
4343 PyObject
* obj1
= 0 ;
4345 (char *) "self",(char *) "_self", NULL
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 Py_INCREF(Py_None
); resultobj
= Py_None
;
4365 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4371 wxGridCellAttr
*result
;
4372 PyObject
* obj0
= 0 ;
4374 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= wxPyMake_wxGridCellAttr(result
);
4395 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4398 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4404 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 Py_INCREF(Py_None
); resultobj
= Py_None
;
4424 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4427 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4432 (char *) "self",(char *) "attr",(char *) "row", NULL
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4437 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 (arg1
)->SetRowAttr(arg2
,arg3
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 Py_INCREF(Py_None
); resultobj
= Py_None
;
4452 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4455 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4460 (char *) "self",(char *) "attr",(char *) "col", NULL
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4465 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetColAttr(arg2
,arg3
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 Py_INCREF(Py_None
); resultobj
= Py_None
;
4480 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4488 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4493 arg2
= (size_t) PyInt_AsLong(obj1
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 (arg1
)->UpdateAttrRows(arg2
,arg3
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 Py_INCREF(Py_None
); resultobj
= Py_None
;
4509 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
;
4511 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4514 PyObject
* obj0
= 0 ;
4515 PyObject
* obj1
= 0 ;
4517 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4522 arg2
= (size_t) PyInt_AsLong(obj1
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 (arg1
)->UpdateAttrCols(arg2
,arg3
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4531 Py_INCREF(Py_None
); resultobj
= Py_None
;
4538 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4541 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
4543 return Py_BuildValue((char *)"");
4545 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
*resultobj
;
4547 wxPyGridCellAttrProvider
*result
;
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
4567 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
*resultobj
;
4569 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4570 PyObject
*arg2
= (PyObject
*) 0 ;
4571 PyObject
*arg3
= (PyObject
*) 0 ;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4574 PyObject
* obj2
= 0 ;
4576 (char *) "self",(char *) "self",(char *) "_class", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 Py_INCREF(Py_None
); resultobj
= Py_None
;
4597 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4603 wxGridCellAttr
*result
;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= wxPyMake_wxGridCellAttr(result
);
4627 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4630 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4634 PyObject
* obj1
= 0 ;
4636 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 Py_INCREF(Py_None
); resultobj
= Py_None
;
4656 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4658 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4659 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4664 (char *) "self",(char *) "attr",(char *) "row", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 (arg1
)->base_SetRowAttr(arg2
,arg3
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 Py_INCREF(Py_None
); resultobj
= Py_None
;
4684 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4687 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4690 PyObject
* obj1
= 0 ;
4692 (char *) "self",(char *) "attr",(char *) "col", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 (arg1
)->base_SetColAttr(arg2
,arg3
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4715 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
4717 return Py_BuildValue((char *)"");
4719 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4722 PyObject
*arg2
= (PyObject
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4726 (char *) "self",(char *) "_self", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 wxGridTableBase__setOORInfo(arg1
,arg2
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 Py_INCREF(Py_None
); resultobj
= Py_None
;
4746 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4749 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4753 (char *) "self",(char *) "attrProvider", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 (arg1
)->SetAttrProvider(arg2
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 Py_INCREF(Py_None
); resultobj
= Py_None
;
4773 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4775 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4776 wxGridCellAttrProvider
*result
;
4777 PyObject
* obj0
= 0 ;
4779 (char *) "self", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
4783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4800 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4803 wxGrid
*arg2
= (wxGrid
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4807 (char *) "self",(char *) "grid", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 (arg1
)->SetView(arg2
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 Py_INCREF(Py_None
); resultobj
= Py_None
;
4827 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4831 PyObject
* obj0
= 0 ;
4833 (char *) "self", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
4837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= wxPyMake_wxObject(result
);
4854 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4860 (char *) "self", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
4864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (int)(arg1
)->GetNumberRows();
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= PyInt_FromLong((long)result
);
4879 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (int)(arg1
)->GetNumberCols();
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= PyInt_FromLong((long)result
);
4904 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "self",(char *) "row",(char *) "col", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= PyInt_FromLong((long)result
);
4931 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4937 PyObject
* obj0
= 0 ;
4939 (char *) "self",(char *) "row",(char *) "col", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (arg1
)->GetValue(arg2
,arg3
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4964 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4969 wxString
*arg4
= 0 ;
4970 bool temp4
= False
;
4971 PyObject
* obj0
= 0 ;
4972 PyObject
* obj3
= 0 ;
4974 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4980 arg4
= wxString_in_helper(obj3
);
4981 if (arg4
== NULL
) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 Py_INCREF(Py_None
); resultobj
= Py_None
;
5006 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self",(char *) "row",(char *) "col", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5039 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5044 wxString
*arg4
= 0 ;
5046 bool temp4
= False
;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj3
= 0 ;
5050 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5056 arg4
= wxString_in_helper(obj3
);
5057 if (arg4
== NULL
) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= PyInt_FromLong((long)result
);
5082 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5087 wxString
*arg4
= 0 ;
5089 bool temp4
= False
;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj3
= 0 ;
5093 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5099 arg4
= wxString_in_helper(obj3
);
5100 if (arg4
== NULL
) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= PyInt_FromLong((long)result
);
5125 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5133 (char *) "self",(char *) "row",(char *) "col", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= PyInt_FromLong((long)result
);
5152 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5158 PyObject
* obj0
= 0 ;
5160 (char *) "self",(char *) "row",(char *) "col", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= PyFloat_FromDouble(result
);
5179 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "self",(char *) "row",(char *) "col", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= PyInt_FromLong((long)result
);
5206 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5214 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 Py_INCREF(Py_None
); resultobj
= Py_None
;
5233 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5239 PyObject
* obj0
= 0 ;
5241 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiid:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 Py_INCREF(Py_None
); resultobj
= Py_None
;
5260 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj3
= 0 ;
5269 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5274 arg4
= PyInt_AsLong(obj3
) ? true : false;
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 Py_INCREF(Py_None
); resultobj
= Py_None
;
5290 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5295 (char *) "self", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 Py_INCREF(Py_None
); resultobj
= Py_None
;
5314 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5317 size_t arg2
= (size_t) 0 ;
5318 size_t arg3
= (size_t) 1 ;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5322 PyObject
* obj2
= 0 ;
5324 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5330 arg2
= (size_t) PyInt_AsLong(obj1
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5334 arg3
= (size_t) PyInt_AsLong(obj2
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= PyInt_FromLong((long)result
);
5351 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5354 size_t arg2
= (size_t) 1 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5359 (char *) "self",(char *) "numRows", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5365 arg2
= (size_t) PyInt_AsLong(obj1
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= (bool)(arg1
)->AppendRows(arg2
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= PyInt_FromLong((long)result
);
5382 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5385 size_t arg2
= (size_t) 0 ;
5386 size_t arg3
= (size_t) 1 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5390 PyObject
* obj2
= 0 ;
5392 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5398 arg2
= (size_t) PyInt_AsLong(obj1
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5402 arg3
= (size_t) PyInt_AsLong(obj2
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= PyInt_FromLong((long)result
);
5419 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5422 size_t arg2
= (size_t) 0 ;
5423 size_t arg3
= (size_t) 1 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5427 PyObject
* obj2
= 0 ;
5429 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5435 arg2
= (size_t) PyInt_AsLong(obj1
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5439 arg3
= (size_t) PyInt_AsLong(obj2
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= PyInt_FromLong((long)result
);
5456 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5459 size_t arg2
= (size_t) 1 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5464 (char *) "self",(char *) "numCols", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5470 arg2
= (size_t) PyInt_AsLong(obj1
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (bool)(arg1
)->AppendCols(arg2
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= PyInt_FromLong((long)result
);
5487 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5490 size_t arg2
= (size_t) 0 ;
5491 size_t arg3
= (size_t) 1 ;
5493 PyObject
* obj0
= 0 ;
5494 PyObject
* obj1
= 0 ;
5495 PyObject
* obj2
= 0 ;
5497 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 arg2
= (size_t) PyInt_AsLong(obj1
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 arg3
= (size_t) PyInt_AsLong(obj2
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5517 resultobj
= PyInt_FromLong((long)result
);
5524 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5531 (char *) "self",(char *) "row", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 result
= (arg1
)->GetRowLabelValue(arg2
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5556 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5561 PyObject
* obj0
= 0 ;
5563 (char *) "self",(char *) "col", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (arg1
)->GetColLabelValue(arg2
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5588 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5592 wxString
*arg3
= 0 ;
5593 bool temp3
= False
;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj2
= 0 ;
5597 (char *) "self",(char *) "row",(char *) "value", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5603 arg3
= wxString_in_helper(obj2
);
5604 if (arg3
== NULL
) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5633 wxString
*arg3
= 0 ;
5634 bool temp3
= False
;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj2
= 0 ;
5638 (char *) "self",(char *) "col",(char *) "value", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5644 arg3
= wxString_in_helper(obj2
);
5645 if (arg3
== NULL
) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 Py_INCREF(Py_None
); resultobj
= Py_None
;
5670 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5676 (char *) "self", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (bool)(arg1
)->CanHaveAttributes();
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= PyInt_FromLong((long)result
);
5695 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5701 wxGridCellAttr
*result
;
5702 PyObject
* obj0
= 0 ;
5704 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridTableBase_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= wxPyMake_wxGridCellAttr(result
);
5725 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5728 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5734 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5747 Py_INCREF(Py_None
); resultobj
= Py_None
;
5754 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
;
5756 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5757 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5762 (char *) "self",(char *) "attr",(char *) "row", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 (arg1
)->SetRowAttr(arg2
,arg3
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 Py_INCREF(Py_None
); resultobj
= Py_None
;
5782 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5785 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5790 (char *) "self",(char *) "attr",(char *) "col", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 (arg1
)->SetColAttr(arg2
,arg3
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 Py_INCREF(Py_None
); resultobj
= Py_None
;
5810 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
5812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5813 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
5815 return Py_BuildValue((char *)"");
5817 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxPyGridTableBase
*result
;
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridTableBase
, 1);
5839 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5842 PyObject
*arg2
= (PyObject
*) 0 ;
5843 PyObject
*arg3
= (PyObject
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 PyObject
* obj2
= 0 ;
5848 (char *) "self",(char *) "self",(char *) "_class", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 Py_INCREF(Py_None
); resultobj
= Py_None
;
5869 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5874 (char *) "self", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 wxPyGridTableBase_Destroy(arg1
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5901 (char *) "self",(char *) "row",(char *) "col", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5926 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5931 wxString
*arg4
= 0 ;
5933 bool temp4
= False
;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj3
= 0 ;
5937 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5943 arg4
= wxString_in_helper(obj3
);
5944 if (arg4
== NULL
) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= PyInt_FromLong((long)result
);
5969 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5974 wxString
*arg4
= 0 ;
5976 bool temp4
= False
;
5977 PyObject
* obj0
= 0 ;
5978 PyObject
* obj3
= 0 ;
5980 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5986 arg4
= wxString_in_helper(obj3
);
5987 if (arg4
== NULL
) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= PyInt_FromLong((long)result
);
6012 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 (arg1
)->base_Clear();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 Py_INCREF(Py_None
); resultobj
= Py_None
;
6036 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6039 size_t arg2
= (size_t) 0 ;
6040 size_t arg3
= (size_t) 1 ;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6044 PyObject
* obj2
= 0 ;
6046 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6052 arg2
= (size_t) PyInt_AsLong(obj1
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6056 arg3
= (size_t) PyInt_AsLong(obj2
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= PyInt_FromLong((long)result
);
6073 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6076 size_t arg2
= (size_t) 1 ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6081 (char *) "self",(char *) "numRows", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6087 arg2
= (size_t) PyInt_AsLong(obj1
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= PyInt_FromLong((long)result
);
6104 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6107 size_t arg2
= (size_t) 0 ;
6108 size_t arg3
= (size_t) 1 ;
6110 PyObject
* obj0
= 0 ;
6111 PyObject
* obj1
= 0 ;
6112 PyObject
* obj2
= 0 ;
6114 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6120 arg2
= (size_t) PyInt_AsLong(obj1
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 arg3
= (size_t) PyInt_AsLong(obj2
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6134 resultobj
= PyInt_FromLong((long)result
);
6141 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6143 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6144 size_t arg2
= (size_t) 0 ;
6145 size_t arg3
= (size_t) 1 ;
6147 PyObject
* obj0
= 0 ;
6148 PyObject
* obj1
= 0 ;
6149 PyObject
* obj2
= 0 ;
6151 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6157 arg2
= (size_t) PyInt_AsLong(obj1
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6161 arg3
= (size_t) PyInt_AsLong(obj2
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= PyInt_FromLong((long)result
);
6178 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6181 size_t arg2
= (size_t) 1 ;
6183 PyObject
* obj0
= 0 ;
6184 PyObject
* obj1
= 0 ;
6186 (char *) "self",(char *) "numCols", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6192 arg2
= (size_t) PyInt_AsLong(obj1
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= PyInt_FromLong((long)result
);
6209 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
;
6211 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6212 size_t arg2
= (size_t) 0 ;
6213 size_t arg3
= (size_t) 1 ;
6215 PyObject
* obj0
= 0 ;
6216 PyObject
* obj1
= 0 ;
6217 PyObject
* obj2
= 0 ;
6219 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6225 arg2
= (size_t) PyInt_AsLong(obj1
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6229 arg3
= (size_t) PyInt_AsLong(obj2
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 resultobj
= PyInt_FromLong((long)result
);
6246 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6253 (char *) "self",(char *) "row", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (arg1
)->base_GetRowLabelValue(arg2
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6278 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "self",(char *) "col", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (arg1
)->base_GetColLabelValue(arg2
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6310 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6314 wxString
*arg3
= 0 ;
6315 bool temp3
= False
;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj2
= 0 ;
6319 (char *) "self",(char *) "row",(char *) "value", NULL
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6325 arg3
= wxString_in_helper(obj2
);
6326 if (arg3
== NULL
) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 Py_INCREF(Py_None
); resultobj
= Py_None
;
6351 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6355 wxString
*arg3
= 0 ;
6356 bool temp3
= False
;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj2
= 0 ;
6360 (char *) "self",(char *) "col",(char *) "value", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6366 arg3
= wxString_in_helper(obj2
);
6367 if (arg3
== NULL
) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 Py_INCREF(Py_None
); resultobj
= Py_None
;
6392 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6396 PyObject
* obj0
= 0 ;
6398 (char *) "self", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (bool)(arg1
)->base_CanHaveAttributes();
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= PyInt_FromLong((long)result
);
6417 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6423 wxGridCellAttr
*result
;
6424 PyObject
* obj0
= 0 ;
6426 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= wxPyMake_wxGridCellAttr(result
);
6447 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6450 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6453 PyObject
* obj0
= 0 ;
6454 PyObject
* obj1
= 0 ;
6456 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
6460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 Py_INCREF(Py_None
); resultobj
= Py_None
;
6476 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6479 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6484 (char *) "self",(char *) "attr",(char *) "row", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 (arg1
)->base_SetRowAttr(arg2
,arg3
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 Py_INCREF(Py_None
); resultobj
= Py_None
;
6504 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6507 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6509 PyObject
* obj0
= 0 ;
6510 PyObject
* obj1
= 0 ;
6512 (char *) "self",(char *) "attr",(char *) "col", NULL
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 (arg1
)->base_SetColAttr(arg2
,arg3
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 Py_INCREF(Py_None
); resultobj
= Py_None
;
6532 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6535 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
6537 return Py_BuildValue((char *)"");
6539 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 int arg1
= (int) 0 ;
6542 int arg2
= (int) 0 ;
6543 wxGridStringTable
*result
;
6545 (char *) "numRows",(char *) "numCols", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridStringTable",kwnames
,&arg1
,&arg2
)) goto fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridStringTable
, 1);
6563 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
6565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6566 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
6568 return Py_BuildValue((char *)"");
6570 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6574 int arg3
= (int) -1 ;
6575 int arg4
= (int) -1 ;
6576 wxGridTableMessage
*result
;
6577 PyObject
* obj0
= 0 ;
6579 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:new_GridTableMessage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridTableMessage
, 1);
6598 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6603 (char *) "self", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
6607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 Py_INCREF(Py_None
); resultobj
= Py_None
;
6622 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6625 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6627 PyObject
* obj1
= 0 ;
6629 (char *) "self",(char *) "table", NULL
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
6633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 (arg1
)->SetTableObject(arg2
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6642 Py_INCREF(Py_None
); resultobj
= Py_None
;
6649 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6651 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6652 wxGridTableBase
*result
;
6653 PyObject
* obj0
= 0 ;
6655 (char *) "self", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
6659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= wxPyMake_wxGridTableBase(result
);
6676 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self",(char *) "id", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 (arg1
)->SetId(arg2
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 Py_INCREF(Py_None
); resultobj
= Py_None
;
6701 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6707 (char *) "self", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (int)(arg1
)->GetId();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= PyInt_FromLong((long)result
);
6726 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6732 (char *) "self",(char *) "comInt1", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&arg2
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 (arg1
)->SetCommandInt(arg2
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 Py_INCREF(Py_None
); resultobj
= Py_None
;
6751 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (int)(arg1
)->GetCommandInt();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= PyInt_FromLong((long)result
);
6776 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6780 PyObject
* obj0
= 0 ;
6782 (char *) "self",(char *) "comInt2", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&arg2
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 (arg1
)->SetCommandInt2(arg2
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6794 Py_INCREF(Py_None
); resultobj
= Py_None
;
6801 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
;
6803 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6805 PyObject
* obj0
= 0 ;
6807 (char *) "self", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (int)(arg1
)->GetCommandInt2();
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= PyInt_FromLong((long)result
);
6826 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
6828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6829 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
6831 return Py_BuildValue((char *)"");
6833 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 int arg1
= (int) -1 ;
6836 int arg2
= (int) -1 ;
6837 wxGridCellCoords
*result
;
6839 (char *) "r",(char *) "c", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellCoords",kwnames
,&arg1
,&arg2
)) goto fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellCoords
, 1);
6857 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6860 PyObject
* obj0
= 0 ;
6862 (char *) "self", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
6866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 Py_INCREF(Py_None
); resultobj
= Py_None
;
6881 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6887 (char *) "self", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= PyInt_FromLong((long)result
);
6906 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6910 PyObject
* obj0
= 0 ;
6912 (char *) "self",(char *) "n", NULL
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
6916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 (arg1
)->SetRow(arg2
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 Py_INCREF(Py_None
); resultobj
= Py_None
;
6931 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6937 (char *) "self", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= PyInt_FromLong((long)result
);
6956 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6962 (char *) "self",(char *) "n", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
6966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 (arg1
)->SetCol(arg2
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 Py_INCREF(Py_None
); resultobj
= Py_None
;
6981 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6988 (char *) "self",(char *) "row",(char *) "col", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellCoords_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 (arg1
)->Set(arg2
,arg3
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 Py_INCREF(Py_None
); resultobj
= Py_None
;
7007 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7010 wxGridCellCoords
*arg2
= 0 ;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7015 (char *) "self",(char *) "other", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= PyInt_FromLong((long)result
);
7038 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7041 wxGridCellCoords
*arg2
= 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7046 (char *) "self",(char *) "other", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7053 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= PyInt_FromLong((long)result
);
7069 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7075 (char *) "self", NULL
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7094 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7097 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7099 return Py_BuildValue((char *)"");
7101 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxWindow
*arg1
= (wxWindow
*) 0 ;
7105 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7106 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7107 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7108 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7109 long arg5
= (long) wxWANTS_CHARS
;
7110 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7111 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7115 bool temp6
= False
;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj2
= 0 ;
7118 PyObject
* obj3
= 0 ;
7119 PyObject
* obj5
= 0 ;
7121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Grid",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7129 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7135 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7140 arg6
= wxString_in_helper(obj5
);
7141 if (arg6
== NULL
) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= wxPyMake_wxObject(result
);
7169 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxGrid
*arg1
= (wxGrid
*) 0 ;
7174 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Grid_CreateGrid",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= PyInt_FromLong((long)result
);
7197 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxGrid
*arg1
= (wxGrid
*) 0 ;
7200 WXGRIDSELECTIONMODES arg2
;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self",(char *) "selmode", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetSelectionMode",kwnames
,&obj0
,&arg2
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 (arg1
)->SetSelectionMode(arg2
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 Py_INCREF(Py_None
); resultobj
= Py_None
;
7222 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxGrid
*arg1
= (wxGrid
*) 0 ;
7225 WXGRIDSELECTIONMODES result
;
7226 PyObject
* obj0
= 0 ;
7228 (char *) "self", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= PyInt_FromLong((long)result
);
7247 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxGrid
*arg1
= (wxGrid
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= (int)(arg1
)->GetNumberRows();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= PyInt_FromLong((long)result
);
7272 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxGrid
*arg1
= (wxGrid
*) 0 ;
7276 PyObject
* obj0
= 0 ;
7278 (char *) "self", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
7282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= (int)(arg1
)->GetNumberCols();
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= PyInt_FromLong((long)result
);
7297 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxGrid
*arg1
= (wxGrid
*) 0 ;
7300 wxGridTableMessage
*arg2
= 0 ;
7302 PyObject
* obj0
= 0 ;
7303 PyObject
* obj1
= 0 ;
7305 (char *) "self","arg2", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7310 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7312 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= PyInt_FromLong((long)result
);
7328 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxGrid
*arg1
= (wxGrid
*) 0 ;
7331 wxGridTableBase
*result
;
7332 PyObject
* obj0
= 0 ;
7334 (char *) "self", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
7338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= wxPyMake_wxGridTableBase(result
);
7355 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxGrid
*arg1
= (wxGrid
*) 0 ;
7358 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7359 bool arg3
= (bool) False
;
7360 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7364 PyObject
* obj2
= 0 ;
7366 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7371 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7373 arg3
= PyInt_AsLong(obj2
) ? true : false;
7374 if (PyErr_Occurred()) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= PyInt_FromLong((long)result
);
7390 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxGrid
*arg1
= (wxGrid
*) 0 ;
7393 PyObject
* obj0
= 0 ;
7395 (char *) "self", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 (arg1
)->ClearGrid();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 Py_INCREF(Py_None
); resultobj
= Py_None
;
7414 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxGrid
*arg1
= (wxGrid
*) 0 ;
7417 int arg2
= (int) 0 ;
7418 int arg3
= (int) 1 ;
7419 bool arg4
= (bool) True
;
7421 PyObject
* obj0
= 0 ;
7422 PyObject
* obj3
= 0 ;
7424 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7430 arg4
= PyInt_AsLong(obj3
) ? true : false;
7431 if (PyErr_Occurred()) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= PyInt_FromLong((long)result
);
7447 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxGrid
*arg1
= (wxGrid
*) 0 ;
7450 int arg2
= (int) 1 ;
7451 bool arg3
= (bool) True
;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj2
= 0 ;
7456 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendRows",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7462 arg3
= PyInt_AsLong(obj2
) ? true : false;
7463 if (PyErr_Occurred()) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= PyInt_FromLong((long)result
);
7479 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxGrid
*arg1
= (wxGrid
*) 0 ;
7482 int arg2
= (int) 0 ;
7483 int arg3
= (int) 1 ;
7484 bool arg4
= (bool) True
;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj3
= 0 ;
7489 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7495 arg4
= PyInt_AsLong(obj3
) ? true : false;
7496 if (PyErr_Occurred()) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= PyInt_FromLong((long)result
);
7512 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxGrid
*arg1
= (wxGrid
*) 0 ;
7515 int arg2
= (int) 0 ;
7516 int arg3
= (int) 1 ;
7517 bool arg4
= (bool) True
;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj3
= 0 ;
7522 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7528 arg4
= PyInt_AsLong(obj3
) ? true : false;
7529 if (PyErr_Occurred()) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= PyInt_FromLong((long)result
);
7545 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxGrid
*arg1
= (wxGrid
*) 0 ;
7548 int arg2
= (int) 1 ;
7549 bool arg3
= (bool) True
;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj2
= 0 ;
7554 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendCols",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7560 arg3
= PyInt_AsLong(obj2
) ? true : false;
7561 if (PyErr_Occurred()) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= PyInt_FromLong((long)result
);
7577 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxGrid
*arg1
= (wxGrid
*) 0 ;
7580 int arg2
= (int) 0 ;
7581 int arg3
= (int) 1 ;
7582 bool arg4
= (bool) True
;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj3
= 0 ;
7587 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7593 arg4
= PyInt_AsLong(obj3
) ? true : false;
7594 if (PyErr_Occurred()) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= PyInt_FromLong((long)result
);
7610 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxGrid
*arg1
= (wxGrid
*) 0 ;
7614 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj2
= 0 ;
7619 (char *) "self",(char *) "dc",(char *) "attr", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7626 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7628 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 Py_INCREF(Py_None
); resultobj
= Py_None
;
7643 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxGrid
*arg1
= (wxGrid
*) 0 ;
7647 wxString
*arg3
= 0 ;
7649 int arg5
= (int) wxLEFT
;
7650 int arg6
= (int) wxTOP
;
7651 int arg7
= (int) wxHORIZONTAL
;
7652 bool temp3
= False
;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7656 PyObject
* obj2
= 0 ;
7657 PyObject
* obj3
= 0 ;
7659 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iii:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&arg7
)) goto fail
;
7663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7664 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7669 arg3
= wxString_in_helper(obj2
);
7670 if (arg3
== NULL
) SWIG_fail
;
7675 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 Py_INCREF(Py_None
); resultobj
= Py_None
;
7699 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 wxGrid
*arg1
= (wxGrid
*) 0 ;
7703 wxArrayString
*arg3
= 0 ;
7704 long *arg4
= (long *) 0 ;
7705 long *arg5
= (long *) 0 ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 PyObject
* obj2
= 0 ;
7712 (char *) "self",(char *) "dc",(char *) "lines", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7721 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7724 if (! PySequence_Check(obj2
)) {
7725 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7728 arg3
= new wxArrayString
;
7729 int i
, len
=PySequence_Length(obj2
);
7730 for (i
=0; i
<len
; i
++) {
7731 PyObject
* item
= PySequence_GetItem(obj2
, i
);
7733 PyObject
* str
= PyObject_Unicode(item
);
7735 PyObject
* str
= PyObject_Str(item
);
7737 arg3
->Add(Py2wxString(str
));
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 Py_INCREF(Py_None
); resultobj
= Py_None
;
7751 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7752 resultobj
= t_output_helper(resultobj
,o
);
7755 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
7756 resultobj
= t_output_helper(resultobj
,o
);
7759 if (arg3
) delete arg3
;
7764 if (arg3
) delete arg3
;
7770 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxGrid
*arg1
= (wxGrid
*) 0 ;
7773 PyObject
* obj0
= 0 ;
7775 (char *) "self", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 (arg1
)->BeginBatch();
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 Py_INCREF(Py_None
); resultobj
= Py_None
;
7794 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxGrid
*arg1
= (wxGrid
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7799 (char *) "self", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7818 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxGrid
*arg1
= (wxGrid
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7824 (char *) "self", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
7828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (int)(arg1
)->GetBatchCount();
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= PyInt_FromLong((long)result
);
7843 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxGrid
*arg1
= (wxGrid
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
7852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 (arg1
)->ForceRefresh();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 Py_INCREF(Py_None
); resultobj
= Py_None
;
7867 static PyObject
*_wrap_Grid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7869 wxGrid
*arg1
= (wxGrid
*) 0 ;
7870 bool arg2
= (bool) True
;
7871 wxRect
*arg3
= (wxRect
*) NULL
;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7876 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7882 arg2
= PyInt_AsLong(obj1
) ? true : false;
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 Py_INCREF(Py_None
); resultobj
= Py_None
;
7902 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxGrid
*arg1
= (wxGrid
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "self", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 result
= (bool)(arg1
)->IsEditable();
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= PyInt_FromLong((long)result
);
7927 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxGrid
*arg1
= (wxGrid
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7934 (char *) "self",(char *) "edit", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7939 arg2
= PyInt_AsLong(obj1
) ? true : false;
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->EnableEditing(arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxGrid
*arg1
= (wxGrid
*) 0 ;
7958 bool arg2
= (bool) True
;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7962 (char *) "self",(char *) "enable", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
7966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7968 arg2
= PyInt_AsLong(obj1
) ? true : false;
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 (arg1
)->EnableCellEditControl(arg2
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 Py_INCREF(Py_None
); resultobj
= Py_None
;
7985 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxGrid
*arg1
= (wxGrid
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 (arg1
)->DisableCellEditControl();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 Py_INCREF(Py_None
); resultobj
= Py_None
;
8009 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxGrid
*arg1
= (wxGrid
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= PyInt_FromLong((long)result
);
8034 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxGrid
*arg1
= (wxGrid
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
8044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= PyInt_FromLong((long)result
);
8059 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxGrid
*arg1
= (wxGrid
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= PyInt_FromLong((long)result
);
8084 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxGrid
*arg1
= (wxGrid
*) 0 ;
8088 PyObject
* obj0
= 0 ;
8090 (char *) "self", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
8094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= PyInt_FromLong((long)result
);
8109 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxGrid
*arg1
= (wxGrid
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 (arg1
)->ShowCellEditControl();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 Py_INCREF(Py_None
); resultobj
= Py_None
;
8133 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxGrid
*arg1
= (wxGrid
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 (arg1
)->HideCellEditControl();
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 Py_INCREF(Py_None
); resultobj
= Py_None
;
8157 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxGrid
*arg1
= (wxGrid
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "self", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 (arg1
)->SaveEditControlValue();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 Py_INCREF(Py_None
); resultobj
= Py_None
;
8181 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxGrid
*arg1
= (wxGrid
*) 0 ;
8186 wxGridCellCoords result
;
8187 PyObject
* obj0
= 0 ;
8189 (char *) "self",(char *) "x",(char *) "y", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_XYToCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8202 wxGridCellCoords
* resultptr
;
8203 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
8204 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
8212 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
;
8214 wxGrid
*arg1
= (wxGrid
*) 0 ;
8217 PyObject
* obj0
= 0 ;
8219 (char *) "self",(char *) "y", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (int)(arg1
)->YToRow(arg2
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= PyInt_FromLong((long)result
);
8238 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxGrid
*arg1
= (wxGrid
*) 0 ;
8243 PyObject
* obj0
= 0 ;
8245 (char *) "self",(char *) "x", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (int)(arg1
)->XToCol(arg2
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= PyInt_FromLong((long)result
);
8264 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxGrid
*arg1
= (wxGrid
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8271 (char *) "self",(char *) "y", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToEdgeOfRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= PyInt_FromLong((long)result
);
8290 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxGrid
*arg1
= (wxGrid
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8297 (char *) "self",(char *) "x", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToEdgeOfCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= PyInt_FromLong((long)result
);
8316 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxGrid
*arg1
= (wxGrid
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8324 (char *) "self",(char *) "row",(char *) "col", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_CellToRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (arg1
)->CellToRect(arg2
,arg3
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8338 resultptr
= new wxRect((wxRect
&) result
);
8339 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
8347 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxGrid
*arg1
= (wxGrid
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8353 (char *) "self", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
8357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (int)(arg1
)->GetGridCursorRow();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= PyInt_FromLong((long)result
);
8372 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxGrid
*arg1
= (wxGrid
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 result
= (int)(arg1
)->GetGridCursorCol();
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= PyInt_FromLong((long)result
);
8397 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxGrid
*arg1
= (wxGrid
*) 0 ;
8402 bool arg4
= (bool) True
;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj3
= 0 ;
8407 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_IsVisible",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8413 arg4
= PyInt_AsLong(obj3
) ? true : false;
8414 if (PyErr_Occurred()) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= PyInt_FromLong((long)result
);
8430 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxGrid
*arg1
= (wxGrid
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8437 (char *) "self",(char *) "row",(char *) "col", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_MakeCellVisible",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 (arg1
)->MakeCellVisible(arg2
,arg3
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 Py_INCREF(Py_None
); resultobj
= Py_None
;
8456 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxGrid
*arg1
= (wxGrid
*) 0 ;
8461 PyObject
* obj0
= 0 ;
8463 (char *) "self",(char *) "row",(char *) "col", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetGridCursor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 (arg1
)->SetGridCursor(arg2
,arg3
);
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 Py_INCREF(Py_None
); resultobj
= Py_None
;
8482 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxGrid
*arg1
= (wxGrid
*) 0 ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8490 (char *) "self",(char *) "expandSelection", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8495 arg2
= PyInt_AsLong(obj1
) ? true : false;
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= PyInt_FromLong((long)result
);
8511 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxGrid
*arg1
= (wxGrid
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8519 (char *) "self",(char *) "expandSelection", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
8523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8524 arg2
= PyInt_AsLong(obj1
) ? true : false;
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= PyInt_FromLong((long)result
);
8540 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxGrid
*arg1
= (wxGrid
*) 0 ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8548 (char *) "self",(char *) "expandSelection", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8553 arg2
= PyInt_AsLong(obj1
) ? true : false;
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= PyInt_FromLong((long)result
);
8569 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxGrid
*arg1
= (wxGrid
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8577 (char *) "self",(char *) "expandSelection", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8582 arg2
= PyInt_AsLong(obj1
) ? true : false;
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= PyInt_FromLong((long)result
);
8598 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxGrid
*arg1
= (wxGrid
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8604 (char *) "self", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
8608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (bool)(arg1
)->MovePageDown();
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= PyInt_FromLong((long)result
);
8623 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxGrid
*arg1
= (wxGrid
*) 0 ;
8627 PyObject
* obj0
= 0 ;
8629 (char *) "self", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
8633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 result
= (bool)(arg1
)->MovePageUp();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= PyInt_FromLong((long)result
);
8648 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
;
8650 wxGrid
*arg1
= (wxGrid
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8656 (char *) "self",(char *) "expandSelection", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8661 arg2
= PyInt_AsLong(obj1
) ? true : false;
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= PyInt_FromLong((long)result
);
8677 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxGrid
*arg1
= (wxGrid
*) 0 ;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8685 (char *) "self",(char *) "expandSelection", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8690 arg2
= PyInt_AsLong(obj1
) ? true : false;
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= PyInt_FromLong((long)result
);
8706 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxGrid
*arg1
= (wxGrid
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "self",(char *) "expandSelection", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8719 arg2
= PyInt_AsLong(obj1
) ? true : false;
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= PyInt_FromLong((long)result
);
8735 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxGrid
*arg1
= (wxGrid
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8743 (char *) "self",(char *) "expandSelection", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8748 arg2
= PyInt_AsLong(obj1
) ? true : false;
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= PyInt_FromLong((long)result
);
8764 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxGrid
*arg1
= (wxGrid
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8770 (char *) "self", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (int)(arg1
)->GetDefaultRowLabelSize();
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= PyInt_FromLong((long)result
);
8789 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxGrid
*arg1
= (wxGrid
*) 0 ;
8793 PyObject
* obj0
= 0 ;
8795 (char *) "self", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (int)(arg1
)->GetRowLabelSize();
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= PyInt_FromLong((long)result
);
8814 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxGrid
*arg1
= (wxGrid
*) 0 ;
8818 PyObject
* obj0
= 0 ;
8820 (char *) "self", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 result
= (int)(arg1
)->GetDefaultColLabelSize();
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= PyInt_FromLong((long)result
);
8839 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxGrid
*arg1
= (wxGrid
*) 0 ;
8843 PyObject
* obj0
= 0 ;
8845 (char *) "self", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
8849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (int)(arg1
)->GetColLabelSize();
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= PyInt_FromLong((long)result
);
8864 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxGrid
*arg1
= (wxGrid
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= (arg1
)->GetLabelBackgroundColour();
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8883 wxColour
* resultptr
;
8884 resultptr
= new wxColour((wxColour
&) result
);
8885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8893 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxGrid
*arg1
= (wxGrid
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8899 (char *) "self", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (arg1
)->GetLabelTextColour();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 wxColour
* resultptr
;
8913 resultptr
= new wxColour((wxColour
&) result
);
8914 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8922 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxGrid
*arg1
= (wxGrid
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8928 (char *) "self", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (arg1
)->GetLabelFont();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8942 resultptr
= new wxFont((wxFont
&) result
);
8943 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
8951 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxGrid
*arg1
= (wxGrid
*) 0 ;
8954 int *arg2
= (int *) 0 ;
8955 int *arg3
= (int *) 0 ;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "self", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8977 resultobj
= t_output_helper(resultobj
,o
);
8980 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8981 resultobj
= t_output_helper(resultobj
,o
);
8989 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxGrid
*arg1
= (wxGrid
*) 0 ;
8992 int *arg2
= (int *) 0 ;
8993 int *arg3
= (int *) 0 ;
8996 PyObject
* obj0
= 0 ;
8998 (char *) "self", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
9004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 Py_INCREF(Py_None
); resultobj
= Py_None
;
9014 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9015 resultobj
= t_output_helper(resultobj
,o
);
9018 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9019 resultobj
= t_output_helper(resultobj
,o
);
9027 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9029 wxGrid
*arg1
= (wxGrid
*) 0 ;
9031 PyObject
* obj0
= 0 ;
9033 (char *) "self", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
9037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 result
= (int)(arg1
)->GetColLabelTextOrientation();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= PyInt_FromLong((long)result
);
9052 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxGrid
*arg1
= (wxGrid
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "self",(char *) "row", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (arg1
)->GetRowLabelValue(arg2
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9084 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxGrid
*arg1
= (wxGrid
*) 0 ;
9089 PyObject
* obj0
= 0 ;
9091 (char *) "self",(char *) "col", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= (arg1
)->GetColLabelValue(arg2
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9116 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxGrid
*arg1
= (wxGrid
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "self", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (arg1
)->GetGridLineColour();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9135 wxColour
* resultptr
;
9136 resultptr
= new wxColour((wxColour
&) result
);
9137 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9145 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxGrid
*arg1
= (wxGrid
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9151 (char *) "self", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (arg1
)->GetCellHighlightColour();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9164 wxColour
* resultptr
;
9165 resultptr
= new wxColour((wxColour
&) result
);
9166 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9174 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxGrid
*arg1
= (wxGrid
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9180 (char *) "self", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
9184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (int)(arg1
)->GetCellHighlightPenWidth();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= PyInt_FromLong((long)result
);
9199 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxGrid
*arg1
= (wxGrid
*) 0 ;
9203 PyObject
* obj0
= 0 ;
9205 (char *) "self", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
9209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= PyInt_FromLong((long)result
);
9224 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxGrid
*arg1
= (wxGrid
*) 0 ;
9228 PyObject
* obj0
= 0 ;
9230 (char *) "self",(char *) "width", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 (arg1
)->SetRowLabelSize(arg2
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 Py_INCREF(Py_None
); resultobj
= Py_None
;
9249 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
;
9251 wxGrid
*arg1
= (wxGrid
*) 0 ;
9253 PyObject
* obj0
= 0 ;
9255 (char *) "self",(char *) "height", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 (arg1
)->SetColLabelSize(arg2
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9267 Py_INCREF(Py_None
); resultobj
= Py_None
;
9274 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxGrid
*arg1
= (wxGrid
*) 0 ;
9277 wxColour
*arg2
= 0 ;
9279 PyObject
* obj0
= 0 ;
9280 PyObject
* obj1
= 0 ;
9282 (char *) "self","arg2", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9289 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 Py_INCREF(Py_None
); resultobj
= Py_None
;
9305 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxGrid
*arg1
= (wxGrid
*) 0 ;
9308 wxColour
*arg2
= 0 ;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9313 (char *) "self","arg2", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9320 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 Py_INCREF(Py_None
); resultobj
= Py_None
;
9336 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxGrid
*arg1
= (wxGrid
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9343 (char *) "self","arg2", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 Py_INCREF(Py_None
); resultobj
= Py_None
;
9366 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
*resultobj
;
9368 wxGrid
*arg1
= (wxGrid
*) 0 ;
9371 PyObject
* obj0
= 0 ;
9373 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 Py_INCREF(Py_None
); resultobj
= Py_None
;
9392 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxGrid
*arg1
= (wxGrid
*) 0 ;
9397 PyObject
* obj0
= 0 ;
9399 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 Py_INCREF(Py_None
); resultobj
= Py_None
;
9418 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxGrid
*arg1
= (wxGrid
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9424 (char *) "self",(char *) "textOrientation", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
9428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 (arg1
)->SetColLabelTextOrientation(arg2
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 Py_INCREF(Py_None
); resultobj
= Py_None
;
9443 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxGrid
*arg1
= (wxGrid
*) 0 ;
9447 wxString
*arg3
= 0 ;
9448 bool temp3
= False
;
9449 PyObject
* obj0
= 0 ;
9450 PyObject
* obj2
= 0 ;
9452 (char *) "self",(char *) "row","arg3", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9458 arg3
= wxString_in_helper(obj2
);
9459 if (arg3
== NULL
) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 Py_INCREF(Py_None
); resultobj
= Py_None
;
9484 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxGrid
*arg1
= (wxGrid
*) 0 ;
9488 wxString
*arg3
= 0 ;
9489 bool temp3
= False
;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj2
= 0 ;
9493 (char *) "self",(char *) "col","arg3", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9499 arg3
= wxString_in_helper(obj2
);
9500 if (arg3
== NULL
) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 Py_INCREF(Py_None
); resultobj
= Py_None
;
9525 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxGrid
*arg1
= (wxGrid
*) 0 ;
9528 wxColour
*arg2
= 0 ;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9533 (char *) "self","arg2", NULL
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9540 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 Py_INCREF(Py_None
); resultobj
= Py_None
;
9556 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxGrid
*arg1
= (wxGrid
*) 0 ;
9559 wxColour
*arg2
= 0 ;
9561 PyObject
* obj0
= 0 ;
9562 PyObject
* obj1
= 0 ;
9564 (char *) "self","arg2", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9571 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 Py_INCREF(Py_None
); resultobj
= Py_None
;
9587 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxGrid
*arg1
= (wxGrid
*) 0 ;
9591 PyObject
* obj0
= 0 ;
9593 (char *) "self",(char *) "width", NULL
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 (arg1
)->SetCellHighlightPenWidth(arg2
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 Py_INCREF(Py_None
); resultobj
= Py_None
;
9612 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxGrid
*arg1
= (wxGrid
*) 0 ;
9616 PyObject
* obj0
= 0 ;
9618 (char *) "self",(char *) "width", NULL
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 (arg1
)->SetCellHighlightROPenWidth(arg2
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 Py_INCREF(Py_None
); resultobj
= Py_None
;
9637 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxGrid
*arg1
= (wxGrid
*) 0 ;
9640 bool arg2
= (bool) True
;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9644 (char *) "self",(char *) "enable", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9650 arg2
= PyInt_AsLong(obj1
) ? true : false;
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->EnableDragRowSize(arg2
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 Py_INCREF(Py_None
); resultobj
= Py_None
;
9667 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxGrid
*arg1
= (wxGrid
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 (arg1
)->DisableDragRowSize();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 Py_INCREF(Py_None
); resultobj
= Py_None
;
9691 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxGrid
*arg1
= (wxGrid
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 result
= (bool)(arg1
)->CanDragRowSize();
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= PyInt_FromLong((long)result
);
9716 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
;
9718 wxGrid
*arg1
= (wxGrid
*) 0 ;
9719 bool arg2
= (bool) True
;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9723 (char *) "self",(char *) "enable", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9729 arg2
= PyInt_AsLong(obj1
) ? true : false;
9730 if (PyErr_Occurred()) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 (arg1
)->EnableDragColSize(arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 Py_INCREF(Py_None
); resultobj
= Py_None
;
9746 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxGrid
*arg1
= (wxGrid
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "self", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 (arg1
)->DisableDragColSize();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 Py_INCREF(Py_None
); resultobj
= Py_None
;
9770 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxGrid
*arg1
= (wxGrid
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9776 (char *) "self", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
9780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (bool)(arg1
)->CanDragColSize();
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= PyInt_FromLong((long)result
);
9795 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 wxGrid
*arg1
= (wxGrid
*) 0 ;
9798 bool arg2
= (bool) True
;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9802 (char *) "self",(char *) "enable", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9808 arg2
= PyInt_AsLong(obj1
) ? true : false;
9809 if (PyErr_Occurred()) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 (arg1
)->EnableDragGridSize(arg2
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 Py_INCREF(Py_None
); resultobj
= Py_None
;
9825 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxGrid
*arg1
= (wxGrid
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 (arg1
)->DisableDragGridSize();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 Py_INCREF(Py_None
); resultobj
= Py_None
;
9849 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxGrid
*arg1
= (wxGrid
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9855 (char *) "self", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
9859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (bool)(arg1
)->CanDragGridSize();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= PyInt_FromLong((long)result
);
9874 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxGrid
*arg1
= (wxGrid
*) 0 ;
9879 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj3
= 0 ;
9883 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9888 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 Py_INCREF(Py_None
); resultobj
= Py_None
;
9903 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxGrid
*arg1
= (wxGrid
*) 0 ;
9907 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9909 PyObject
* obj2
= 0 ;
9911 (char *) "self",(char *) "row",(char *) "attr", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9916 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 (arg1
)->SetRowAttr(arg2
,arg3
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 Py_INCREF(Py_None
); resultobj
= Py_None
;
9931 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
;
9933 wxGrid
*arg1
= (wxGrid
*) 0 ;
9935 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
9936 PyObject
* obj0
= 0 ;
9937 PyObject
* obj2
= 0 ;
9939 (char *) "self",(char *) "col",(char *) "attr", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9944 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 (arg1
)->SetColAttr(arg2
,arg3
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 Py_INCREF(Py_None
); resultobj
= Py_None
;
9959 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxGrid
*arg1
= (wxGrid
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self",(char *) "col", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatBool",kwnames
,&obj0
,&arg2
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 (arg1
)->SetColFormatBool(arg2
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 Py_INCREF(Py_None
); resultobj
= Py_None
;
9984 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxGrid
*arg1
= (wxGrid
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9990 (char *) "self",(char *) "col", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatNumber",kwnames
,&obj0
,&arg2
)) goto fail
;
9994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 (arg1
)->SetColFormatNumber(arg2
);
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 Py_INCREF(Py_None
); resultobj
= Py_None
;
10009 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxGrid
*arg1
= (wxGrid
*) 0 ;
10013 int arg3
= (int) -1 ;
10014 int arg4
= (int) -1 ;
10015 PyObject
* obj0
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:Grid_SetColFormatFloat",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 Py_INCREF(Py_None
); resultobj
= Py_None
;
10036 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxGrid
*arg1
= (wxGrid
*) 0 ;
10040 wxString
*arg3
= 0 ;
10041 bool temp3
= False
;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj2
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self",(char *) "col",(char *) "typeName", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColFormatCustom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10051 arg3
= wxString_in_helper(obj2
);
10052 if (arg3
== NULL
) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10077 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxGrid
*arg1
= (wxGrid
*) 0 ;
10080 bool arg2
= (bool) True
;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self",(char *) "enable", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
10088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10090 arg2
= PyInt_AsLong(obj1
) ? true : false;
10091 if (PyErr_Occurred()) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 (arg1
)->EnableGridLines(arg2
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 Py_INCREF(Py_None
); resultobj
= Py_None
;
10107 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
;
10109 wxGrid
*arg1
= (wxGrid
*) 0 ;
10111 PyObject
* obj0
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
10117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (bool)(arg1
)->GridLinesEnabled();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= PyInt_FromLong((long)result
);
10132 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxGrid
*arg1
= (wxGrid
*) 0 ;
10136 PyObject
* obj0
= 0 ;
10137 char *kwnames
[] = {
10138 (char *) "self", NULL
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
10142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (int)(arg1
)->GetDefaultRowSize();
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= PyInt_FromLong((long)result
);
10157 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxGrid
*arg1
= (wxGrid
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self",(char *) "row", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (int)(arg1
)->GetRowSize(arg2
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= PyInt_FromLong((long)result
);
10183 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxGrid
*arg1
= (wxGrid
*) 0 ;
10187 PyObject
* obj0
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (int)(arg1
)->GetDefaultColSize();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= PyInt_FromLong((long)result
);
10208 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxGrid
*arg1
= (wxGrid
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self",(char *) "col", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 result
= (int)(arg1
)->GetColSize(arg2
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= PyInt_FromLong((long)result
);
10234 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxGrid
*arg1
= (wxGrid
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
10244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (arg1
)->GetDefaultCellBackgroundColour();
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 wxColour
* resultptr
;
10254 resultptr
= new wxColour((wxColour
&) result
);
10255 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10263 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxGrid
*arg1
= (wxGrid
*) 0 ;
10269 PyObject
* obj0
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self",(char *) "row",(char *) "col", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 wxColour
* resultptr
;
10285 resultptr
= new wxColour((wxColour
&) result
);
10286 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10294 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxGrid
*arg1
= (wxGrid
*) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "self", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
10304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (arg1
)->GetDefaultCellTextColour();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10313 wxColour
* resultptr
;
10314 resultptr
= new wxColour((wxColour
&) result
);
10315 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10323 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxGrid
*arg1
= (wxGrid
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self",(char *) "row",(char *) "col", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10344 wxColour
* resultptr
;
10345 resultptr
= new wxColour((wxColour
&) result
);
10346 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10354 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxGrid
*arg1
= (wxGrid
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (arg1
)->GetDefaultCellFont();
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10373 wxFont
* resultptr
;
10374 resultptr
= new wxFont((wxFont
&) result
);
10375 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10383 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
;
10385 wxGrid
*arg1
= (wxGrid
*) 0 ;
10389 PyObject
* obj0
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self",(char *) "row",(char *) "col", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellFont",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (arg1
)->GetCellFont(arg2
,arg3
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10404 wxFont
* resultptr
;
10405 resultptr
= new wxFont((wxFont
&) result
);
10406 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10414 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxGrid
*arg1
= (wxGrid
*) 0 ;
10417 int *arg2
= (int *) 0 ;
10418 int *arg3
= (int *) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 Py_INCREF(Py_None
); resultobj
= Py_None
;
10439 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10440 resultobj
= t_output_helper(resultobj
,o
);
10443 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10444 resultobj
= t_output_helper(resultobj
,o
);
10452 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
;
10454 wxGrid
*arg1
= (wxGrid
*) 0 ;
10457 int *arg4
= (int *) 0 ;
10458 int *arg5
= (int *) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self",(char *) "row",(char *) "col", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 Py_INCREF(Py_None
); resultobj
= Py_None
;
10479 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10480 resultobj
= t_output_helper(resultobj
,o
);
10483 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10484 resultobj
= t_output_helper(resultobj
,o
);
10492 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxGrid
*arg1
= (wxGrid
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (bool)(arg1
)->GetDefaultCellOverflow();
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= PyInt_FromLong((long)result
);
10517 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
;
10519 wxGrid
*arg1
= (wxGrid
*) 0 ;
10523 PyObject
* obj0
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self",(char *) "row",(char *) "col", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= PyInt_FromLong((long)result
);
10544 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxGrid
*arg1
= (wxGrid
*) 0 ;
10549 int *arg4
= (int *) 0 ;
10550 int *arg5
= (int *) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self",(char *) "row",(char *) "col", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 Py_INCREF(Py_None
); resultobj
= Py_None
;
10571 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10572 resultobj
= t_output_helper(resultobj
,o
);
10575 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10576 resultobj
= t_output_helper(resultobj
,o
);
10584 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 wxGrid
*arg1
= (wxGrid
*) 0 ;
10588 bool arg3
= (bool) False
;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj2
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10598 arg3
= PyInt_AsLong(obj2
) ? true : false;
10599 if (PyErr_Occurred()) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 Py_INCREF(Py_None
); resultobj
= Py_None
;
10615 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxGrid
*arg1
= (wxGrid
*) 0 ;
10620 PyObject
* obj0
= 0 ;
10621 char *kwnames
[] = {
10622 (char *) "self",(char *) "row",(char *) "height", NULL
10625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 (arg1
)->SetRowSize(arg2
,arg3
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 Py_INCREF(Py_None
); resultobj
= Py_None
;
10641 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
;
10643 wxGrid
*arg1
= (wxGrid
*) 0 ;
10645 bool arg3
= (bool) False
;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj2
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10655 arg3
= PyInt_AsLong(obj2
) ? true : false;
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 (arg1
)->SetDefaultColSize(arg2
,arg3
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 Py_INCREF(Py_None
); resultobj
= Py_None
;
10672 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxGrid
*arg1
= (wxGrid
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "col",(char *) "width", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->SetColSize(arg2
,arg3
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 Py_INCREF(Py_None
); resultobj
= Py_None
;
10698 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
;
10700 wxGrid
*arg1
= (wxGrid
*) 0 ;
10702 bool arg3
= (bool) True
;
10703 PyObject
* obj0
= 0 ;
10704 PyObject
* obj2
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10712 arg3
= PyInt_AsLong(obj2
) ? true : false;
10713 if (PyErr_Occurred()) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 (arg1
)->AutoSizeColumn(arg2
,arg3
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 Py_INCREF(Py_None
); resultobj
= Py_None
;
10729 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxGrid
*arg1
= (wxGrid
*) 0 ;
10733 bool arg3
= (bool) True
;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj2
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10743 arg3
= PyInt_AsLong(obj2
) ? true : false;
10744 if (PyErr_Occurred()) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 (arg1
)->AutoSizeRow(arg2
,arg3
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 Py_INCREF(Py_None
); resultobj
= Py_None
;
10760 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
;
10762 wxGrid
*arg1
= (wxGrid
*) 0 ;
10763 bool arg2
= (bool) True
;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self",(char *) "setAsMin", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10773 arg2
= PyInt_AsLong(obj1
) ? true : false;
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->AutoSizeColumns(arg2
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 Py_INCREF(Py_None
); resultobj
= Py_None
;
10790 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxGrid
*arg1
= (wxGrid
*) 0 ;
10793 bool arg2
= (bool) True
;
10794 PyObject
* obj0
= 0 ;
10795 PyObject
* obj1
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self",(char *) "setAsMin", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10803 arg2
= PyInt_AsLong(obj1
) ? true : false;
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->AutoSizeRows(arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxGrid
*arg1
= (wxGrid
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 (arg1
)->AutoSize();
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 Py_INCREF(Py_None
); resultobj
= Py_None
;
10844 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxGrid
*arg1
= (wxGrid
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "row", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 (arg1
)->AutoSizeRowLabelSize(arg2
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 Py_INCREF(Py_None
); resultobj
= Py_None
;
10869 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10871 wxGrid
*arg1
= (wxGrid
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "self",(char *) "col", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 (arg1
)->AutoSizeColLabelSize(arg2
);
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 Py_INCREF(Py_None
); resultobj
= Py_None
;
10894 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxGrid
*arg1
= (wxGrid
*) 0 ;
10899 PyObject
* obj0
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self",(char *) "col",(char *) "width", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColMinimalWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 Py_INCREF(Py_None
); resultobj
= Py_None
;
10920 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxGrid
*arg1
= (wxGrid
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self",(char *) "row",(char *) "width", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxGrid
*arg1
= (wxGrid
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self",(char *) "width", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 Py_INCREF(Py_None
); resultobj
= Py_None
;
10971 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxGrid
*arg1
= (wxGrid
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self",(char *) "width", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
10981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxGrid
*arg1
= (wxGrid
*) 0 ;
11000 PyObject
* obj0
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
11006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= PyInt_FromLong((long)result
);
11021 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11022 PyObject
*resultobj
;
11023 wxGrid
*arg1
= (wxGrid
*) 0 ;
11025 PyObject
* obj0
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
11031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= PyInt_FromLong((long)result
);
11046 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxGrid
*arg1
= (wxGrid
*) 0 ;
11049 wxColour
*arg2
= 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self","arg2", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11061 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 Py_INCREF(Py_None
); resultobj
= Py_None
;
11077 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxGrid
*arg1
= (wxGrid
*) 0 ;
11082 wxColour
*arg4
= 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj3
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11094 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 Py_INCREF(Py_None
); resultobj
= Py_None
;
11110 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxGrid
*arg1
= (wxGrid
*) 0 ;
11113 wxColour
*arg2
= 0 ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self","arg2", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 Py_INCREF(Py_None
); resultobj
= Py_None
;
11141 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxGrid
*arg1
= (wxGrid
*) 0 ;
11146 wxColour
*arg4
= 0 ;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj3
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11158 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 Py_INCREF(Py_None
); resultobj
= Py_None
;
11174 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxGrid
*arg1
= (wxGrid
*) 0 ;
11178 PyObject
* obj0
= 0 ;
11179 PyObject
* obj1
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self","arg2", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11187 if (arg2
== NULL
) {
11188 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxGrid
*arg1
= (wxGrid
*) 0 ;
11210 PyObject
* obj0
= 0 ;
11211 PyObject
* obj3
= 0 ;
11212 char *kwnames
[] = {
11213 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellFont",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11218 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11219 if (arg4
== NULL
) {
11220 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 Py_INCREF(Py_None
); resultobj
= Py_None
;
11236 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxGrid
*arg1
= (wxGrid
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self",(char *) "horiz",(char *) "vert", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 Py_INCREF(Py_None
); resultobj
= Py_None
;
11262 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
*resultobj
;
11264 wxGrid
*arg1
= (wxGrid
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxGrid
*arg1
= (wxGrid
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self",(char *) "allow", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
11301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11302 arg2
= PyInt_AsLong(obj1
) ? true : false;
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 (arg1
)->SetDefaultCellOverflow(arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 Py_INCREF(Py_None
); resultobj
= Py_None
;
11318 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxGrid
*arg1
= (wxGrid
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj3
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11332 arg4
= PyInt_AsLong(obj3
) ? true : false;
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11348 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxGrid
*arg1
= (wxGrid
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 Py_INCREF(Py_None
); resultobj
= Py_None
;
11376 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxGrid
*arg1
= (wxGrid
*) 0 ;
11379 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self",(char *) "renderer", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
11387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 (arg1
)->SetDefaultRenderer(arg2
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 Py_INCREF(Py_None
); resultobj
= Py_None
;
11403 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxGrid
*arg1
= (wxGrid
*) 0 ;
11408 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
11409 PyObject
* obj0
= 0 ;
11410 PyObject
* obj3
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11417 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxGrid
*arg1
= (wxGrid
*) 0 ;
11435 wxGridCellRenderer
*result
;
11436 PyObject
* obj0
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11459 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxGrid
*arg1
= (wxGrid
*) 0 ;
11464 wxGridCellRenderer
*result
;
11465 PyObject
* obj0
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "self",(char *) "row",(char *) "col", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11488 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
;
11490 wxGrid
*arg1
= (wxGrid
*) 0 ;
11491 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self",(char *) "editor", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
11499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 (arg1
)->SetDefaultEditor(arg2
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 Py_INCREF(Py_None
); resultobj
= Py_None
;
11515 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
;
11517 wxGrid
*arg1
= (wxGrid
*) 0 ;
11520 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj3
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11529 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11544 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxGrid
*arg1
= (wxGrid
*) 0 ;
11547 wxGridCellEditor
*result
;
11548 PyObject
* obj0
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
11554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= wxPyMake_wxGridCellEditor(result
);
11571 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxGrid
*arg1
= (wxGrid
*) 0 ;
11576 wxGridCellEditor
*result
;
11577 PyObject
* obj0
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "row",(char *) "col", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= wxPyMake_wxGridCellEditor(result
);
11600 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11602 wxGrid
*arg1
= (wxGrid
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self",(char *) "row",(char *) "col", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (arg1
)->GetCellValue(arg2
,arg3
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11633 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxGrid
*arg1
= (wxGrid
*) 0 ;
11638 wxString
*arg4
= 0 ;
11639 bool temp4
= False
;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj3
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11649 arg4
= wxString_in_helper(obj3
);
11650 if (arg4
== NULL
) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 Py_INCREF(Py_None
); resultobj
= Py_None
;
11675 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxGrid
*arg1
= (wxGrid
*) 0 ;
11681 PyObject
* obj0
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self",(char *) "row",(char *) "col", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsReadOnly",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= PyInt_FromLong((long)result
);
11702 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 wxGrid
*arg1
= (wxGrid
*) 0 ;
11707 bool arg4
= (bool) True
;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj3
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_SetReadOnly",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11717 arg4
= PyInt_AsLong(obj3
) ? true : false;
11718 if (PyErr_Occurred()) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 Py_INCREF(Py_None
); resultobj
= Py_None
;
11734 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxGrid
*arg1
= (wxGrid
*) 0 ;
11738 bool arg3
= (bool) False
;
11739 PyObject
* obj0
= 0 ;
11740 PyObject
* obj2
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11748 arg3
= PyInt_AsLong(obj2
) ? true : false;
11749 if (PyErr_Occurred()) SWIG_fail
;
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 (arg1
)->SelectRow(arg2
,arg3
);
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11758 Py_INCREF(Py_None
); resultobj
= Py_None
;
11765 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
;
11767 wxGrid
*arg1
= (wxGrid
*) 0 ;
11769 bool arg3
= (bool) False
;
11770 PyObject
* obj0
= 0 ;
11771 PyObject
* obj2
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectCol",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11779 arg3
= PyInt_AsLong(obj2
) ? true : false;
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 (arg1
)->SelectCol(arg2
,arg3
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 Py_INCREF(Py_None
); resultobj
= Py_None
;
11796 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxGrid
*arg1
= (wxGrid
*) 0 ;
11803 bool arg6
= (bool) False
;
11804 PyObject
* obj0
= 0 ;
11805 PyObject
* obj5
= 0 ;
11806 char *kwnames
[] = {
11807 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Grid_SelectBlock",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
11811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11813 arg6
= PyInt_AsLong(obj5
) ? true : false;
11814 if (PyErr_Occurred()) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 Py_INCREF(Py_None
); resultobj
= Py_None
;
11830 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxGrid
*arg1
= (wxGrid
*) 0 ;
11833 PyObject
* obj0
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "self", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 (arg1
)->SelectAll();
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 Py_INCREF(Py_None
); resultobj
= Py_None
;
11854 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
;
11856 wxGrid
*arg1
= (wxGrid
*) 0 ;
11858 PyObject
* obj0
= 0 ;
11859 char *kwnames
[] = {
11860 (char *) "self", NULL
11863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
11864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (bool)(arg1
)->IsSelection();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= PyInt_FromLong((long)result
);
11879 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxGrid
*arg1
= (wxGrid
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 (arg1
)->ClearSelection();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 Py_INCREF(Py_None
); resultobj
= Py_None
;
11903 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxGrid
*arg1
= (wxGrid
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self",(char *) "row",(char *) "col", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsInSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= PyInt_FromLong((long)result
);
11930 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxGrid
*arg1
= (wxGrid
*) 0 ;
11933 wxGridCellCoordsArray result
;
11934 PyObject
* obj0
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= wxGridCellCoordsArray_helper(result
);
11957 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxGrid
*arg1
= (wxGrid
*) 0 ;
11960 wxGridCellCoordsArray result
;
11961 PyObject
* obj0
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
11967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= wxGridCellCoordsArray_helper(result
);
11984 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxGrid
*arg1
= (wxGrid
*) 0 ;
11987 wxGridCellCoordsArray result
;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
11994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= wxGridCellCoordsArray_helper(result
);
12011 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxGrid
*arg1
= (wxGrid
*) 0 ;
12015 PyObject
* obj0
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
12021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= PyList_New(0);
12032 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12033 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12034 PyList_Append(resultobj
, val
);
12044 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxGrid
*arg1
= (wxGrid
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= PyList_New(0);
12065 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12066 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12067 PyList_Append(resultobj
, val
);
12077 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxGrid
*arg1
= (wxGrid
*) 0 ;
12081 PyObject
* obj0
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self",(char *) "row", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectRow",kwnames
,&obj0
,&arg2
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 (arg1
)->DeselectRow(arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 Py_INCREF(Py_None
); resultobj
= Py_None
;
12102 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxGrid
*arg1
= (wxGrid
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self",(char *) "col", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectCol",kwnames
,&obj0
,&arg2
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 (arg1
)->DeselectCol(arg2
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 Py_INCREF(Py_None
); resultobj
= Py_None
;
12127 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxGrid
*arg1
= (wxGrid
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self",(char *) "row",(char *) "col", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_DeselectCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->DeselectCell(arg2
,arg3
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 Py_INCREF(Py_None
); resultobj
= Py_None
;
12153 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxGrid
*arg1
= (wxGrid
*) 0 ;
12156 wxGridCellCoords
*arg2
= 0 ;
12157 wxGridCellCoords
*arg3
= 0 ;
12159 wxGridCellCoords temp2
;
12160 wxGridCellCoords temp3
;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 PyObject
* obj2
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12172 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
12176 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12186 wxRect
* resultptr
;
12187 resultptr
= new wxRect((wxRect
&) result
);
12188 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12196 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxGrid
*arg1
= (wxGrid
*) 0 ;
12200 PyObject
* obj0
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 wxColour
* resultptr
;
12216 resultptr
= new wxColour((wxColour
&) result
);
12217 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12225 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxGrid
*arg1
= (wxGrid
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 wxColour
* resultptr
;
12245 resultptr
= new wxColour((wxColour
&) result
);
12246 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12254 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxGrid
*arg1
= (wxGrid
*) 0 ;
12257 wxColour
*arg2
= 0 ;
12259 PyObject
* obj0
= 0 ;
12260 PyObject
* obj1
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self",(char *) "c", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 Py_INCREF(Py_None
); resultobj
= Py_None
;
12285 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
;
12287 wxGrid
*arg1
= (wxGrid
*) 0 ;
12288 wxColour
*arg2
= 0 ;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self",(char *) "c", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
12297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12300 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 Py_INCREF(Py_None
); resultobj
= Py_None
;
12316 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxGrid
*arg1
= (wxGrid
*) 0 ;
12319 wxString
*arg2
= 0 ;
12320 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
12321 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12322 bool temp2
= False
;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 PyObject
* obj2
= 0 ;
12326 PyObject
* obj3
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12334 arg2
= wxString_in_helper(obj1
);
12335 if (arg2
== NULL
) SWIG_fail
;
12338 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12339 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 Py_INCREF(Py_None
); resultobj
= Py_None
;
12362 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxGrid
*arg1
= (wxGrid
*) 0 ;
12367 wxGridCellEditor
*result
;
12368 PyObject
* obj0
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "row",(char *) "col", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= wxPyMake_wxGridCellEditor(result
);
12391 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxGrid
*arg1
= (wxGrid
*) 0 ;
12396 wxGridCellRenderer
*result
;
12397 PyObject
* obj0
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "self",(char *) "row",(char *) "col", NULL
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12420 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxGrid
*arg1
= (wxGrid
*) 0 ;
12423 wxString
*arg2
= 0 ;
12424 wxGridCellEditor
*result
;
12425 bool temp2
= False
;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self",(char *) "typeName", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12435 arg2
= wxString_in_helper(obj1
);
12436 if (arg2
== NULL
) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= wxPyMake_wxGridCellEditor(result
);
12463 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxGrid
*arg1
= (wxGrid
*) 0 ;
12466 wxString
*arg2
= 0 ;
12467 wxGridCellRenderer
*result
;
12468 bool temp2
= False
;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "typeName", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12478 arg2
= wxString_in_helper(obj1
);
12479 if (arg2
== NULL
) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12506 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxGrid
*arg1
= (wxGrid
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 (arg1
)->SetMargins(arg2
,arg3
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 Py_INCREF(Py_None
); resultobj
= Py_None
;
12532 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxGrid
*arg1
= (wxGrid
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 result
= (wxWindow
*)(arg1
)->GetGridWindow();
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= wxPyMake_wxObject(result
);
12559 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxGrid
*arg1
= (wxGrid
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= wxPyMake_wxObject(result
);
12586 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
;
12588 wxGrid
*arg1
= (wxGrid
*) 0 ;
12590 PyObject
* obj0
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= wxPyMake_wxObject(result
);
12613 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxGrid
*arg1
= (wxGrid
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= wxPyMake_wxObject(result
);
12640 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
12642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12643 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
12645 return Py_BuildValue((char *)"");
12647 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12651 wxGrid
*arg3
= (wxGrid
*) 0 ;
12652 int arg4
= (int) -1 ;
12653 int arg5
= (int) -1 ;
12654 int arg6
= (int) -1 ;
12655 int arg7
= (int) -1 ;
12656 bool arg8
= (bool) True
;
12657 bool arg9
= (bool) False
;
12658 bool arg10
= (bool) False
;
12659 bool arg11
= (bool) False
;
12660 bool arg12
= (bool) False
;
12661 wxGridEvent
*result
;
12662 PyObject
* obj2
= 0 ;
12663 PyObject
* obj7
= 0 ;
12664 PyObject
* obj8
= 0 ;
12665 PyObject
* obj9
= 0 ;
12666 PyObject
* obj10
= 0 ;
12667 PyObject
* obj11
= 0 ;
12668 char *kwnames
[] = {
12669 (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
12672 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
;
12673 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12675 arg8
= PyInt_AsLong(obj7
) ? true : false;
12676 if (PyErr_Occurred()) SWIG_fail
;
12679 arg9
= PyInt_AsLong(obj8
) ? true : false;
12680 if (PyErr_Occurred()) SWIG_fail
;
12683 arg10
= PyInt_AsLong(obj9
) ? true : false;
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 arg11
= PyInt_AsLong(obj10
) ? true : false;
12688 if (PyErr_Occurred()) SWIG_fail
;
12691 arg12
= PyInt_AsLong(obj11
) ? true : false;
12692 if (PyErr_Occurred()) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEvent
, 1);
12708 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (int)(arg1
)->GetRow();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= PyInt_FromLong((long)result
);
12733 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
12743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (int)(arg1
)->GetCol();
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= PyInt_FromLong((long)result
);
12758 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (arg1
)->GetPosition();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12777 wxPoint
* resultptr
;
12778 resultptr
= new wxPoint((wxPoint
&) result
);
12779 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12787 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (bool)(arg1
)->Selecting();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= PyInt_FromLong((long)result
);
12812 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (bool)(arg1
)->ControlDown();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= PyInt_FromLong((long)result
);
12837 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "self", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= (bool)(arg1
)->MetaDown();
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= PyInt_FromLong((long)result
);
12862 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (bool)(arg1
)->ShiftDown();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= PyInt_FromLong((long)result
);
12887 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (bool)(arg1
)->AltDown();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= PyInt_FromLong((long)result
);
12912 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12915 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
12917 return Py_BuildValue((char *)"");
12919 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12923 wxGrid
*arg3
= (wxGrid
*) 0 ;
12924 int arg4
= (int) -1 ;
12925 int arg5
= (int) -1 ;
12926 int arg6
= (int) -1 ;
12927 bool arg7
= (bool) False
;
12928 bool arg8
= (bool) False
;
12929 bool arg9
= (bool) False
;
12930 bool arg10
= (bool) False
;
12931 wxGridSizeEvent
*result
;
12932 PyObject
* obj2
= 0 ;
12933 PyObject
* obj6
= 0 ;
12934 PyObject
* obj7
= 0 ;
12935 PyObject
* obj8
= 0 ;
12936 PyObject
* obj9
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
12941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO|iiiOOOO:new_GridSizeEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12942 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12944 arg7
= PyInt_AsLong(obj6
) ? true : false;
12945 if (PyErr_Occurred()) SWIG_fail
;
12948 arg8
= PyInt_AsLong(obj7
) ? true : false;
12949 if (PyErr_Occurred()) SWIG_fail
;
12952 arg9
= PyInt_AsLong(obj8
) ? true : false;
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 arg10
= PyInt_AsLong(obj9
) ? true : false;
12957 if (PyErr_Occurred()) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizeEvent
, 1);
12973 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
12977 PyObject
* obj0
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
12983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (int)(arg1
)->GetRowOrCol();
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= PyInt_FromLong((long)result
);
12998 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (arg1
)->GetPosition();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13017 wxPoint
* resultptr
;
13018 resultptr
= new wxPoint((wxPoint
&) result
);
13019 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13027 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (bool)(arg1
)->ControlDown();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= PyInt_FromLong((long)result
);
13052 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (bool)(arg1
)->MetaDown();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= PyInt_FromLong((long)result
);
13077 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (bool)(arg1
)->ShiftDown();
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= PyInt_FromLong((long)result
);
13102 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (bool)(arg1
)->AltDown();
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= PyInt_FromLong((long)result
);
13127 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13130 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
13132 return Py_BuildValue((char *)"");
13134 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
;
13138 wxGrid
*arg3
= (wxGrid
*) 0 ;
13139 wxGridCellCoords
*arg4
= 0 ;
13140 wxGridCellCoords
*arg5
= 0 ;
13141 bool arg6
= (bool) True
;
13142 bool arg7
= (bool) False
;
13143 bool arg8
= (bool) False
;
13144 bool arg9
= (bool) False
;
13145 bool arg10
= (bool) False
;
13146 wxGridRangeSelectEvent
*result
;
13147 wxGridCellCoords temp4
;
13148 wxGridCellCoords temp5
;
13149 PyObject
* obj2
= 0 ;
13150 PyObject
* obj3
= 0 ;
13151 PyObject
* obj4
= 0 ;
13152 PyObject
* obj5
= 0 ;
13153 PyObject
* obj6
= 0 ;
13154 PyObject
* obj7
= 0 ;
13155 PyObject
* obj8
= 0 ;
13156 PyObject
* obj9
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13162 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13165 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
13169 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
13172 arg6
= PyInt_AsLong(obj5
) ? true : false;
13173 if (PyErr_Occurred()) SWIG_fail
;
13176 arg7
= PyInt_AsLong(obj6
) ? true : false;
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 arg8
= PyInt_AsLong(obj7
) ? true : false;
13181 if (PyErr_Occurred()) SWIG_fail
;
13184 arg9
= PyInt_AsLong(obj8
) ? true : false;
13185 if (PyErr_Occurred()) SWIG_fail
;
13188 arg10
= PyInt_AsLong(obj9
) ? true : false;
13189 if (PyErr_Occurred()) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
13205 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
;
13207 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13208 wxGridCellCoords result
;
13209 PyObject
* obj0
= 0 ;
13210 char *kwnames
[] = {
13211 (char *) "self", NULL
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
13215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (arg1
)->GetTopLeftCoords();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 wxGridCellCoords
* resultptr
;
13225 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13226 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13234 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13237 wxGridCellCoords result
;
13238 PyObject
* obj0
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
13244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= (arg1
)->GetBottomRightCoords();
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13253 wxGridCellCoords
* resultptr
;
13254 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13255 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13263 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (int)(arg1
)->GetTopRow();
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= PyInt_FromLong((long)result
);
13288 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13292 PyObject
* obj0
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (int)(arg1
)->GetBottomRow();
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= PyInt_FromLong((long)result
);
13313 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 result
= (int)(arg1
)->GetLeftCol();
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= PyInt_FromLong((long)result
);
13338 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (int)(arg1
)->GetRightCol();
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= PyInt_FromLong((long)result
);
13363 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13367 PyObject
* obj0
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
13373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (bool)(arg1
)->Selecting();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= PyInt_FromLong((long)result
);
13388 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
;
13390 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13392 PyObject
* obj0
= 0 ;
13393 char *kwnames
[] = {
13394 (char *) "self", NULL
13397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= (bool)(arg1
)->ControlDown();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= PyInt_FromLong((long)result
);
13413 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (bool)(arg1
)->MetaDown();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= PyInt_FromLong((long)result
);
13438 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13442 PyObject
* obj0
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 result
= (bool)(arg1
)->ShiftDown();
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= PyInt_FromLong((long)result
);
13463 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
;
13465 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (bool)(arg1
)->AltDown();
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= PyInt_FromLong((long)result
);
13488 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13491 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
13493 return Py_BuildValue((char *)"");
13495 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13499 wxObject
*arg3
= (wxObject
*) 0 ;
13502 wxControl
*arg6
= (wxControl
*) 0 ;
13503 wxGridEditorCreatedEvent
*result
;
13504 PyObject
* obj2
= 0 ;
13505 PyObject
* obj5
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOiiO:new_GridEditorCreatedEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
13511 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13512 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
13527 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (int)(arg1
)->GetRow();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= PyInt_FromLong((long)result
);
13552 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (int)(arg1
)->GetCol();
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= PyInt_FromLong((long)result
);
13577 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (wxControl
*)(arg1
)->GetControl();
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= wxPyMake_wxObject(result
);
13604 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13608 PyObject
* obj0
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self",(char *) "row", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
13614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 (arg1
)->SetRow(arg2
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 Py_INCREF(Py_None
); resultobj
= Py_None
;
13629 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 char *kwnames
[] = {
13635 (char *) "self",(char *) "col", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
13639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 (arg1
)->SetCol(arg2
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 Py_INCREF(Py_None
); resultobj
= Py_None
;
13654 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
;
13656 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13657 wxControl
*arg2
= (wxControl
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self",(char *) "ctrl", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13666 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 (arg1
)->SetControl(arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 Py_INCREF(Py_None
); resultobj
= Py_None
;
13681 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13684 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
13686 return Py_BuildValue((char *)"");
13688 static PyMethodDef SwigMethods
[] = {
13689 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13690 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13691 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13692 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13693 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13694 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
13695 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13696 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
13697 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13698 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13699 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13700 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
13701 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13702 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
13703 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13704 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
13705 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13706 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13707 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13708 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13709 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13710 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
13711 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13712 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
13713 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13714 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
13715 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13716 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
13717 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13718 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
13719 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13720 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
13721 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13722 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13723 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13724 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13725 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13726 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13727 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13728 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
13729 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
13730 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
13731 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13732 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13733 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13734 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
13735 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13736 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13737 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13738 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13739 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13740 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13741 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
13742 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13743 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13744 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13745 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
13746 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13747 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13748 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13749 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13750 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13751 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13752 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13753 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
13754 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13755 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13756 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
13757 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13758 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13759 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
13760 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13761 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13762 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
13763 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13764 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13765 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
13766 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13767 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13768 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
13769 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
13770 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13771 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
13772 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
13773 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13774 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
13775 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13776 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13777 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13778 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
13779 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13780 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13781 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13782 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13783 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13784 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13785 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13786 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
13787 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13788 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13789 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13790 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13791 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13792 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13793 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13794 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13795 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13796 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13797 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13798 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
13799 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13800 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13801 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13802 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13803 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13804 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
13805 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13806 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13807 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13808 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13809 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
13810 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13811 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13812 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13813 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13814 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13815 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13816 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13817 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13818 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
13819 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13820 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13821 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13822 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13823 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13824 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13825 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
13826 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13827 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13828 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13829 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13830 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13831 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13832 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13833 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13834 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13835 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13836 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13837 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13838 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13839 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13840 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13841 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13842 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13843 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13844 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13845 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13846 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13847 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13848 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13849 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13850 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13851 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13852 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13853 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13854 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13855 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13856 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13857 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13858 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13859 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13860 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13861 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
13862 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13863 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13864 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13865 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13866 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13867 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13868 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13869 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13870 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13871 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13872 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13873 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13874 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13875 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13876 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13877 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13878 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13879 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13880 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13881 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13882 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13883 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13884 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
13885 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13886 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
13887 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13888 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13889 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13890 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13891 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13892 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13893 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13894 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13895 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13896 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13897 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
13898 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13899 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13900 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13901 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13902 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13903 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13904 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13905 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
13906 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
13907 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13908 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
13909 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
13910 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13911 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13912 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13913 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13914 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13915 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13916 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13917 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13918 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13919 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13920 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13921 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13922 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13923 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13924 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13925 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13926 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13927 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13928 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13929 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13930 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13931 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13932 { (char *)"Grid_Refresh", (PyCFunction
) _wrap_Grid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
13933 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13934 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13935 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13936 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13937 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13938 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13939 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13940 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13941 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13942 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13943 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13944 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13945 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13946 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13947 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13948 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13949 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13950 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13951 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13952 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13953 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13954 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13955 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13956 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13957 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13958 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13959 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13960 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13961 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13962 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13963 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13964 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13965 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13966 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13967 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13968 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13969 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13970 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13971 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13972 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13973 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13974 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
13975 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13976 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13977 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13978 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13979 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13980 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13981 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13982 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13983 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13984 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13985 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13986 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13987 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13988 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
13989 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13990 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13991 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13992 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13993 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13994 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13995 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13996 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13997 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13998 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13999 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14000 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14001 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14002 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14003 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14004 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14005 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14006 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14007 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14008 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14009 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14010 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14011 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14012 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14013 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14014 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14015 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14016 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14017 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14018 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14019 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14020 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14021 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14022 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14023 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14024 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14025 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14026 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14027 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14028 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14029 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14030 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14031 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14032 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14033 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14034 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14035 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14036 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14037 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14038 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14039 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14040 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14041 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14042 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14043 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14044 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14045 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14046 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14047 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14048 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14049 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14050 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14051 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14052 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14053 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14054 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14055 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14056 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14057 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14058 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14059 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14060 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14061 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14062 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14063 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14064 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14065 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14066 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14067 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14068 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
14069 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
14070 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
14071 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
14072 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
14073 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
14074 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
14075 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
14076 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
14077 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
14078 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
14079 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
14080 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
14081 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
14082 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
14083 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14084 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14085 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14086 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14087 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14088 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14089 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14090 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14091 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14092 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14093 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14094 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14095 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14096 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14097 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14098 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
14099 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14100 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14101 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14102 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14103 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14104 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14105 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14106 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14107 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14108 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
14109 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14110 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14111 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14112 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14113 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14114 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14115 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14116 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
14117 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14118 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14119 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14120 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14121 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14122 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14123 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14124 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14125 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14126 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14127 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14128 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14129 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
14130 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14131 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14132 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14133 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14134 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14135 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14136 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14137 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
14142 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14144 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
14145 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
14147 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
14148 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
14150 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
14151 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14153 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
14154 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14156 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
14157 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
14159 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
14160 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14162 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
14163 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14165 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
14166 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14168 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
14169 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14171 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
14172 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14174 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
14175 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14177 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
14178 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14180 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
14181 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14183 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
14184 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
14186 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
14187 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14189 static void *_p_wxGridTo_p_wxPanel(void *x
) {
14190 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
14192 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
14193 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14195 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
14196 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14198 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
14199 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
14201 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
14202 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14204 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
14205 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
14207 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
14208 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14210 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
14211 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14213 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
14214 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14216 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
14217 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14219 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
14220 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
14222 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
14223 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
14225 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
14226 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14228 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
14229 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14231 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
14232 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14234 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
14235 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
14237 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
14238 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
14240 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
14241 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14243 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
14244 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14246 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
14247 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14249 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
14250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14252 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
14253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14255 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
14256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14258 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
14259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14261 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
14262 return (void *)((wxWindow
*) ((wxPanel
*) x
));
14264 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
14265 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
14267 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
14268 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
14270 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
14271 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14273 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
14274 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14276 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
14277 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14279 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
14280 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
14282 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
14283 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14285 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
14286 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
14288 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
14289 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
14291 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
14292 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
14294 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
14295 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
14297 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
14298 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
14300 static void *_p_wxControlTo_p_wxWindow(void *x
) {
14301 return (void *)((wxWindow
*) ((wxControl
*) x
));
14303 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
14304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14306 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
14307 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14309 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
14310 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14312 static void *_p_wxGridTo_p_wxWindow(void *x
) {
14313 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14315 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
14316 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
14318 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
14319 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
14321 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
14322 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14324 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
14325 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14327 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
14328 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14330 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
14331 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
14333 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
14334 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14336 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
14337 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
14339 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
14340 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
14342 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
14343 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
14345 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
14346 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
14348 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
14349 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
14351 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
14352 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
14354 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
14355 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
14357 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
14358 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
14360 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
14361 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
14363 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
14364 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
14366 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
14367 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
14369 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
14370 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
14372 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
14373 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
14375 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
14376 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
14378 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
14379 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
14381 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
14382 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14384 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
14385 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
14387 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
14388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
14390 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
14391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14393 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
14394 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
14396 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
14397 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14399 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
14400 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
14402 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
14403 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14405 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
14406 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
14408 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
14409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
14411 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
14412 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
14414 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
14415 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
14417 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
14418 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
14420 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
14421 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
14423 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
14424 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
14426 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
14427 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
14429 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
14430 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14432 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
14433 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
14435 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
14436 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
14438 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
14439 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14441 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
14442 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14444 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
14445 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14447 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
14448 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14450 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
14451 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14453 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
14454 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14456 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
14457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14459 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
14460 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
14462 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
14463 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
14465 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
14466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
14468 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
14469 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
14471 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
14472 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14474 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
14475 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
14477 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
14478 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
14480 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
14481 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
14483 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
14484 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
14486 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
14487 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
14489 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
14490 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
14492 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
14493 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
14495 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
14496 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
14498 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
14499 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
14501 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
14502 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14504 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
14505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14507 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
14508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14510 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
14511 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
14513 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
14514 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
14516 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
14517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
14519 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
14520 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
14522 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
14523 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
14525 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
14526 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
14528 static void *_p_wxSizerTo_p_wxObject(void *x
) {
14529 return (void *)((wxObject
*) ((wxSizer
*) x
));
14531 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
14532 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
14534 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
14535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14537 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
14538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
14540 static void *_p_wxEventTo_p_wxObject(void *x
) {
14541 return (void *)((wxObject
*) ((wxEvent
*) x
));
14543 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
14544 return (void *)((wxObject
*) ((wxFontData
*) x
));
14546 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
14547 return (void *)((wxObject
*) ((wxPrintData
*) x
));
14549 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
14550 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
14552 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
14553 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
14555 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
14556 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
14558 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
14559 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
14561 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
14562 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
14564 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
14565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14567 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
14568 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
14570 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
14571 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
14573 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
14574 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
14576 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
14577 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14579 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
14580 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14582 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
14583 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14585 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
14586 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14588 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
14589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14591 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
14592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14594 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
14595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14597 static void *_p_wxControlTo_p_wxObject(void *x
) {
14598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
14600 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
14601 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
14603 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
14604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14606 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
14607 return (void *)((wxObject
*) ((wxFSFile
*) x
));
14609 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
14610 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
14612 static void *_p_wxGridTo_p_wxObject(void *x
) {
14613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14615 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
14616 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
14618 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
14619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14621 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
14622 return (void *)((wxObject
*) ((wxColourData
*) x
));
14624 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
14625 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
14627 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
14628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14630 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
14631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
14633 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
14634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14636 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
14637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14639 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
14640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14642 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
14643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14645 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
14646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14648 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
14649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14651 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
14652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14654 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
14655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14657 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
14658 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
14660 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
14661 return (void *)((wxObject
*) ((wxPrinter
*) x
));
14663 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
14664 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
14666 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
14667 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
14669 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
14670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
14672 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
14673 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
14675 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
14676 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
14678 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
14679 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
14681 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
14682 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
14684 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
14685 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
14687 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
14688 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
14690 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
14691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14693 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
14694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
14696 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
14697 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
14699 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
14700 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
14702 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
14703 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
14705 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
14706 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
14708 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
14709 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
14711 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
14712 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
14714 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
14715 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
14717 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
14718 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
14720 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
14721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
14723 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
14724 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
14726 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
14727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
14729 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
14730 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
14732 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
14733 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
14735 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
14736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14738 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
14739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14741 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
14742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14744 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
14745 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
14747 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
14748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14750 static void *_p_wxImageTo_p_wxObject(void *x
) {
14751 return (void *)((wxObject
*) ((wxImage
*) x
));
14753 static void *_p_wxFrameTo_p_wxObject(void *x
) {
14754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
14756 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
14757 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
14759 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
14760 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
14762 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
14763 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
14765 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
14766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
14768 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
14769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
14771 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
14772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
14774 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
14775 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
14777 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
14778 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) 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_wxScrolledWindowTo_p_wxObject(void *x
) {
14790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
14792 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
14793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
14795 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
14796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
14798 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
14799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
14801 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
14802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
14804 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
14805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14807 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
14808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
14810 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
14811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14813 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
14814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14816 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
14817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14819 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
14820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
14822 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
14823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
14825 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
14826 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
14828 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
14829 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
14831 static void *_p_wxPanelTo_p_wxObject(void *x
) {
14832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
14834 static void *_p_wxDialogTo_p_wxObject(void *x
) {
14835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
14837 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
14838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
14840 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
14841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
14843 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
14844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
14846 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
14847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
14849 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
14850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
14852 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
14853 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
14855 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
14856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
14858 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
14859 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
14861 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
14862 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
14864 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
14865 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
14867 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
14868 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
14870 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
14871 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
14873 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
14874 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
14876 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
14877 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
14879 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
14880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
14882 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
14883 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
14885 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
14886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
14888 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
14889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14891 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
14892 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
14894 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
14895 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
14897 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
14898 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
14900 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
14901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
14903 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
14904 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
14906 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
14907 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
14909 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
14910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
14912 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
14913 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
14915 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
14916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14918 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
14919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14921 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
14922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
14924 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
14925 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
14927 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
14928 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
14930 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
14931 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
14933 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
14934 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
14936 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
14937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14939 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
14940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14942 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
14943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14945 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
14946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14948 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
14949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14951 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
14952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14954 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
14955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14957 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
14958 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
14960 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
14961 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
14963 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
14964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14966 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
14967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14969 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
14970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14972 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
14973 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
14975 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
14976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14978 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
14979 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
14981 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
14982 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
14984 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
14985 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
14987 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
14988 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
14990 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
14991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
14993 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
14994 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
14996 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
14997 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
14999 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
15000 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
15002 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
15003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15005 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
15006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15008 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
15009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15011 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
15012 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
15014 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
15015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
15017 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
15018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
15020 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
15021 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
15023 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
15024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15026 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
15027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15029 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
15030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15032 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15033 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
15035 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15038 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
15039 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
15041 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
15042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
15044 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
15045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15047 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
15048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15050 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
15051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15053 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
15054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
15056 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
15057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
15059 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
15060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
15062 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
15063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15065 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
15066 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
15068 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
15069 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
15071 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
15072 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
15074 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
15075 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
15077 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
15078 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15080 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
15081 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15083 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
15084 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
15086 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
15087 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
15089 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
15090 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15092 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
15093 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15095 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
15096 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15098 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
15099 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15101 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
15102 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15104 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
15105 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
15107 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
15108 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
15110 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
15111 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15113 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
15114 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
15116 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
15117 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
15119 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
15120 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
15122 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
15123 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
15125 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
15126 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15128 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
15129 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15131 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
15132 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
15134 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
15135 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
15137 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
15138 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
15140 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
15141 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
15143 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
15144 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
15146 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
15147 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
15149 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
15150 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
15152 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
15153 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15155 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
15156 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
15157 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
15158 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
15159 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
15160 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
15161 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
15162 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}};
15163 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}};
15164 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
15165 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
15166 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
15167 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
15168 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
15169 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}};
15170 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}};
15171 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
15172 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
15173 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
15174 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}};
15175 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}};
15176 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
15177 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
15178 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}};
15179 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}};
15180 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
15181 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
15182 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
15183 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
15184 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}};
15185 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
15186 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
15187 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
15188 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}};
15189 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
15190 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
15191 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
15192 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}};
15193 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}};
15194 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
15195 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
15196 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
15197 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
15198 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}};
15199 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
},{0}};
15200 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
15201 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
},{0}};
15202 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
15203 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
15204 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
15205 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
15207 static swig_type_info
*swig_types_initial
[] = {
15208 _swigt__p_wxGridCellAutoWrapStringRenderer
,
15209 _swigt__p_wxGridCellEnumRenderer
,
15210 _swigt__p_wxGridCellDateTimeRenderer
,
15211 _swigt__p_wxGridCellBoolRenderer
,
15212 _swigt__p_wxGridCellFloatRenderer
,
15213 _swigt__p_wxGridCellNumberRenderer
,
15214 _swigt__p_wxPyGridCellRenderer
,
15215 _swigt__p_wxGridCellRenderer
,
15216 _swigt__p_wxGridCellStringRenderer
,
15217 _swigt__p_wxGridCellAttr
,
15218 _swigt__p_wxColour
,
15220 _swigt__p_wxGridTableMessage
,
15223 _swigt__p_wxNotifyEvent
,
15224 _swigt__p_wxGridRangeSelectEvent
,
15226 _swigt__p_wxGridCellCoords
,
15227 _swigt__p_wxScrolledWindow
,
15228 _swigt__p_wxWindow
,
15230 _swigt__p_wxControl
,
15232 _swigt__p_wxObject
,
15233 _swigt__p_wxGridSizeEvent
,
15236 _swigt__p_wxString
,
15237 _swigt__p_wxEvtHandler
,
15239 _swigt__p_wxGridEvent
,
15240 _swigt__p_wxGridEditorCreatedEvent
,
15241 _swigt__p_wxGridTableBase
,
15242 _swigt__p_wxGridCellFloatEditor
,
15243 _swigt__p_wxGridCellNumberEditor
,
15244 _swigt__p_wxPyGridCellEditor
,
15245 _swigt__p_wxGridCellEditor
,
15246 _swigt__p_wxGridCellTextEditor
,
15247 _swigt__p_wxGridCellBoolEditor
,
15248 _swigt__p_wxPyGridTableBase
,
15249 _swigt__p_wxGridStringTable
,
15250 _swigt__p_wxArrayString
,
15251 _swigt__p_wxCommandEvent
,
15252 _swigt__p_wxGridCellAttrProvider
,
15253 _swigt__p_wxKeyEvent
,
15254 _swigt__p_wxGridCellChoiceEditor
,
15255 _swigt__p_wxGridCellEnumEditor
,
15256 _swigt__p_wxGridCellAutoWrapStringEditor
,
15258 _swigt__p_wxPyGridCellAttrProvider
,
15263 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15265 static swig_const_info swig_const_table
[] = {
15266 { SWIG_PY_STRING
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
15267 { SWIG_PY_STRING
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
15268 { SWIG_PY_STRING
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
15269 { SWIG_PY_STRING
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
15270 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
15271 { SWIG_PY_STRING
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
15272 { SWIG_PY_STRING
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
15273 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
15274 { SWIG_PY_STRING
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
15275 { SWIG_PY_INT
, (char *)"GridCellAttr_Any", (long) wxGridCellAttr::Any
, 0, 0, 0},
15276 { SWIG_PY_INT
, (char *)"GridCellAttr_Default", (long) wxGridCellAttr::Default
, 0, 0, 0},
15277 { SWIG_PY_INT
, (char *)"GridCellAttr_Cell", (long) wxGridCellAttr::Cell
, 0, 0, 0},
15278 { SWIG_PY_INT
, (char *)"GridCellAttr_Row", (long) wxGridCellAttr::Row
, 0, 0, 0},
15279 { SWIG_PY_INT
, (char *)"GridCellAttr_Col", (long) wxGridCellAttr::Col
, 0, 0, 0},
15280 { SWIG_PY_INT
, (char *)"GridCellAttr_Merged", (long) wxGridCellAttr::Merged
, 0, 0, 0},
15281 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_GET_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
, 0, 0, 0},
15282 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
, 0, 0, 0},
15283 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_INSERTED", (long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
, 0, 0, 0},
15284 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_APPENDED", (long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
, 0, 0, 0},
15285 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_DELETED", (long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
, 0, 0, 0},
15286 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_INSERTED", (long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
, 0, 0, 0},
15287 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_APPENDED", (long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
, 0, 0, 0},
15288 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_DELETED", (long) wxGRIDTABLE_NOTIFY_COLS_DELETED
, 0, 0, 0},
15289 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectCells", (long) wxGrid::wxGridSelectCells
, 0, 0, 0},
15290 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectRows", (long) wxGrid::wxGridSelectRows
, 0, 0, 0},
15291 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectColumns", (long) wxGrid::wxGridSelectColumns
, 0, 0, 0},
15292 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_CLICK", (long) wxEVT_GRID_CELL_LEFT_CLICK
, 0, 0, 0},
15293 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_CLICK", (long) wxEVT_GRID_CELL_RIGHT_CLICK
, 0, 0, 0},
15294 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_DCLICK", (long) wxEVT_GRID_CELL_LEFT_DCLICK
, 0, 0, 0},
15295 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_DCLICK", (long) wxEVT_GRID_CELL_RIGHT_DCLICK
, 0, 0, 0},
15296 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_CLICK", (long) wxEVT_GRID_LABEL_LEFT_CLICK
, 0, 0, 0},
15297 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_CLICK", (long) wxEVT_GRID_LABEL_RIGHT_CLICK
, 0, 0, 0},
15298 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_DCLICK", (long) wxEVT_GRID_LABEL_LEFT_DCLICK
, 0, 0, 0},
15299 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_DCLICK", (long) wxEVT_GRID_LABEL_RIGHT_DCLICK
, 0, 0, 0},
15300 { SWIG_PY_INT
, (char *)"wxEVT_GRID_ROW_SIZE", (long) wxEVT_GRID_ROW_SIZE
, 0, 0, 0},
15301 { SWIG_PY_INT
, (char *)"wxEVT_GRID_COL_SIZE", (long) wxEVT_GRID_COL_SIZE
, 0, 0, 0},
15302 { SWIG_PY_INT
, (char *)"wxEVT_GRID_RANGE_SELECT", (long) wxEVT_GRID_RANGE_SELECT
, 0, 0, 0},
15303 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_CHANGE", (long) wxEVT_GRID_CELL_CHANGE
, 0, 0, 0},
15304 { SWIG_PY_INT
, (char *)"wxEVT_GRID_SELECT_CELL", (long) wxEVT_GRID_SELECT_CELL
, 0, 0, 0},
15305 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_SHOWN", (long) wxEVT_GRID_EDITOR_SHOWN
, 0, 0, 0},
15306 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_HIDDEN", (long) wxEVT_GRID_EDITOR_HIDDEN
, 0, 0, 0},
15307 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_CREATED", (long) wxEVT_GRID_EDITOR_CREATED
, 0, 0, 0},
15317 SWIGEXPORT(void) SWIG_init(void) {
15318 static PyObject
*SWIG_globals
= 0;
15319 static int typeinit
= 0;
15322 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
15323 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
15324 d
= PyModule_GetDict(m
);
15327 for (i
= 0; swig_types_initial
[i
]; i
++) {
15328 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
15332 SWIG_InstallConstants(d
,swig_const_table
);
15334 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
15335 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
15336 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
15337 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
15338 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
15339 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
15340 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
15341 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
15342 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
15343 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
15344 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
15345 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
15346 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
15347 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
15348 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
15349 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
15350 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
15351 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
15352 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));