1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
210 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
211 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
212 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
213 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
214 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
215 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
216 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
217 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
218 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
219 #define SWIGTYPE_p_wxColour swig_types[10]
220 #define SWIGTYPE_p_wxDC swig_types[11]
221 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
222 #define SWIGTYPE_p_wxGrid swig_types[13]
223 #define SWIGTYPE_p_char swig_types[14]
224 #define SWIGTYPE_p_wxPanel swig_types[15]
225 #define SWIGTYPE_p_wxNotifyEvent swig_types[16]
226 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxGridCellCoords swig_types[19]
229 #define SWIGTYPE_p_wxScrolledWindow swig_types[20]
230 #define SWIGTYPE_p_wxWindow swig_types[21]
231 #define SWIGTYPE_p_wxFont swig_types[22]
232 #define SWIGTYPE_p_wxControl swig_types[23]
233 #define SWIGTYPE_p_wxEvent swig_types[24]
234 #define SWIGTYPE_p_wxObject swig_types[25]
235 #define SWIGTYPE_p_wxGridSizeEvent swig_types[26]
236 #define SWIGTYPE_p_wxRect swig_types[27]
237 #define SWIGTYPE_p_long swig_types[28]
238 #define SWIGTYPE_p_wxString swig_types[29]
239 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
240 #define SWIGTYPE_p_wxPoint swig_types[31]
241 #define SWIGTYPE_p_wxGridEvent swig_types[32]
242 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]
243 #define SWIGTYPE_p_wxGridTableBase swig_types[34]
244 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
245 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
246 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
247 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
248 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]
249 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]
250 #define SWIGTYPE_p_wxPyGridTableBase swig_types[41]
251 #define SWIGTYPE_p_wxGridStringTable swig_types[42]
252 #define SWIGTYPE_p_wxArrayString swig_types[43]
253 #define SWIGTYPE_p_wxCommandEvent swig_types[44]
254 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]
255 #define SWIGTYPE_p_wxKeyEvent swig_types[46]
256 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]
257 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]
258 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]
261 static swig_type_info
*swig_types
[53];
263 /* -------- TYPES TABLE (END) -------- */
266 /*-----------------------------------------------
268 ------------------------------------------------*/
269 #define SWIG_init init_grid
271 #define SWIG_name "_grid"
273 /* Auxiliar swig macros */
276 #define SWIGSTATICINLINE(a) static inline a
277 #define SWIGSTATIC(a) static a
278 #define swig_new_array(type, size) (new type[(size)])
279 #define swig_delete_array(cptr) delete[] cptr
280 #define swig_const_cast(type,a) const_cast<type>(a)
281 #define swig_static_cast(type,a) static_cast<type>(a)
282 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
284 #ifdef HAVE_NUMERIC_CAST
285 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
287 #define swig_numeric_cast(type,a) static_cast<type>(a)
292 #define SWIGSTATICINLINE(a) static a
293 #define SWIGSTATIC(a) static a
294 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
295 #define swig_delete_array(cptr) free((char*)cptr)
296 #define swig_const_cast(type,a) (type)(a)
297 #define swig_static_cast(type,a) (type)(a)
298 #define swig_reinterpret_cast(type,a) (type)(a)
299 #define swig_numeric_cast(type,a) (type)(a)
301 #endif /* __cplusplus */
304 #define SWIG_FromSignedChar PyInt_FromLong
305 #define SWIG_FromUnsignedChar PyInt_FromLong
306 #define SWIG_FromShort PyInt_FromLong
307 #define SWIG_FromUnsignedShort PyInt_FromLong
308 #define SWIG_FromInt PyInt_FromLong
309 #define SWIG_FromLong PyInt_FromLong
310 #define SWIG_FromFloat PyFloat_FromDouble
311 #define SWIG_FromDouble PyFloat_FromDouble
312 #define SWIG_FromFloat PyFloat_FromDouble
313 #define SWIG_FromDouble PyFloat_FromDouble
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
318 #include "wx/wxPython/printfw.h"
321 #include <wx/generic/gridctrl.h>
324 static const wxString
wxPyEmptyString(wxEmptyString
);
325 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
326 static const wxString
wxPyDateTimeFormatStr(wxT("%c"));
329 #define wxPyMake_TEMPLATE(TYPE) \
330 PyObject* wxPyMake_##TYPE(TYPE* source) { \
331 PyObject* target = NULL; \
333 /* Check if there is already a pointer to a Python object in the \
334 OOR data that we can use. */ \
335 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
337 target = data->m_obj; \
340 /* Otherwise make a new wrapper for it the old fashioned way and \
341 give it the OOR treatment */ \
343 target = wxPyConstructObject(source, wxT(#TYPE), False); \
345 source->SetClientObject(new wxPyOORClientData(target)); \
347 } else { /* source was NULL so return None. */ \
348 Py_INCREF(Py_None); target = Py_None; \
354 wxPyMake_TEMPLATE(wxGridCellRenderer)
355 wxPyMake_TEMPLATE(wxGridCellEditor
)
356 wxPyMake_TEMPLATE(wxGridCellAttr
)
357 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
358 wxPyMake_TEMPLATE(wxGridTableBase
)
362 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
363 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
364 wxGridCellAttr* rval = NULL; \
366 wxPyBeginBlockThreads(); \
367 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
369 wxGridCellAttr* ptr; \
370 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
372 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
377 wxPyEndBlockThreads(); \
379 rval = PCLASS::CBNAME(a, b, c); \
382 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
383 return PCLASS::CBNAME(a, b, c); \
388 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
389 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
390 wxPyBeginBlockThreads(); \
392 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
393 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
394 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
397 wxPyEndBlockThreads(); \
399 PCLASS::CBNAME(attr, a, b); \
401 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
402 PCLASS::CBNAME(attr, a, b); \
407 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
408 void CBNAME(wxGridCellAttr *attr, int val) { \
409 wxPyBeginBlockThreads(); \
411 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
413 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
416 wxPyEndBlockThreads(); \
418 PCLASS::CBNAME(attr, val); \
420 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
421 PCLASS::CBNAME(attr, val); \
426 #define PYCALLBACK_INT__pure(CBNAME) \
428 wxPyBeginBlockThreads(); \
430 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
431 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
432 wxPyEndBlockThreads(); \
438 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
439 bool CBNAME(int a, int b) { \
440 wxPyBeginBlockThreads(); \
442 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
443 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
444 wxPyEndBlockThreads(); \
449 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
450 wxString CBNAME(int a, int b) { \
451 wxPyBeginBlockThreads(); \
453 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
455 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
457 rval = Py2wxString(ro); \
461 wxPyEndBlockThreads(); \
466 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
467 void CBNAME(int a, int b, const wxString& c) { \
468 wxPyBeginBlockThreads(); \
469 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
470 PyObject* s = wx2PyString(c); \
471 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
474 wxPyEndBlockThreads(); \
478 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
479 wxString CBNAME(int a, int b) { \
481 wxPyBeginBlockThreads(); \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
485 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
487 rval = Py2wxString(ro); \
491 wxPyEndBlockThreads(); \
493 rval = PCLASS::CBNAME(a, b); \
496 wxString base_##CBNAME(int a, int b) { \
497 return PCLASS::CBNAME(a, b); \
501 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
502 bool CBNAME(int a, int b, const wxString& c) { \
505 wxPyBeginBlockThreads(); \
506 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
507 PyObject* s = wx2PyString(c); \
508 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
511 wxPyEndBlockThreads(); \
513 rval = PCLASS::CBNAME(a,b,c); \
516 bool base_##CBNAME(int a, int b, const wxString& c) { \
517 return PCLASS::CBNAME(a,b,c); \
523 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
524 long CBNAME(int a, int b) { \
527 wxPyBeginBlockThreads(); \
528 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
529 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
530 wxPyEndBlockThreads(); \
532 rval = PCLASS::CBNAME(a,b); \
535 long base_##CBNAME(int a, int b) { \
536 return PCLASS::CBNAME(a,b); \
541 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
542 bool CBNAME(int a, int b) { \
545 wxPyBeginBlockThreads(); \
546 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
547 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
548 wxPyEndBlockThreads(); \
550 rval = PCLASS::CBNAME(a,b); \
553 bool base_##CBNAME(int a, int b) { \
554 return PCLASS::CBNAME(a,b); \
559 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
560 double CBNAME(int a, int b) { \
562 wxPyBeginBlockThreads(); \
564 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
566 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
568 PyObject* str = PyObject_Str(ro); \
569 rval = PyFloat_AsDouble(str); \
570 Py_DECREF(ro); Py_DECREF(str); \
573 wxPyEndBlockThreads(); \
575 rval = PCLASS::CBNAME(a, b); \
578 double base_##CBNAME(int a, int b) { \
579 return PCLASS::CBNAME(a, b); \
584 #define PYCALLBACK__(PCLASS, CBNAME) \
587 wxPyBeginBlockThreads(); \
588 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
589 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
590 wxPyEndBlockThreads(); \
594 void base_##CBNAME() { \
601 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
602 bool CBNAME(size_t a, size_t b) { \
605 wxPyBeginBlockThreads(); \
606 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
607 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
608 wxPyEndBlockThreads(); \
610 rval = PCLASS::CBNAME(a,b); \
613 bool base_##CBNAME(size_t a, size_t b) { \
614 return PCLASS::CBNAME(a,b); \
619 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
620 bool CBNAME(size_t a) { \
623 wxPyBeginBlockThreads(); \
624 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
626 wxPyEndBlockThreads(); \
628 rval = PCLASS::CBNAME(a); \
631 bool base_##CBNAME(size_t a) { \
632 return PCLASS::CBNAME(a); \
636 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
637 wxString CBNAME(int a) { \
639 wxPyBeginBlockThreads(); \
641 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
643 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
645 rval = Py2wxString(ro); \
649 wxPyEndBlockThreads(); \
651 rval = PCLASS::CBNAME(a); \
654 wxString base_##CBNAME(int a) { \
655 return PCLASS::CBNAME(a); \
659 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
660 void CBNAME(int a, const wxString& c) { \
662 wxPyBeginBlockThreads(); \
663 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
664 PyObject* s = wx2PyString(c); \
665 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
668 wxPyEndBlockThreads(); \
670 PCLASS::CBNAME(a,c); \
672 void base_##CBNAME(int a, const wxString& c) { \
673 PCLASS::CBNAME(a,c); \
679 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
683 wxPyBeginBlockThreads(); \
684 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
685 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
686 wxPyEndBlockThreads(); \
688 rval = PCLASS::CBNAME(); \
691 bool base_##CBNAME() { \
692 return PCLASS::CBNAME(); \
697 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
698 void CBNAME(size_t a, int b) { \
700 wxPyBeginBlockThreads(); \
701 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
702 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
703 wxPyEndBlockThreads(); \
705 PCLASS::CBNAME(a,b); \
707 void base_##CBNAME(size_t a, int b) { \
708 PCLASS::CBNAME(a,b); \
714 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
715 void CBNAME(int a, int b, long c) { \
717 wxPyBeginBlockThreads(); \
718 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
719 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
720 wxPyEndBlockThreads(); \
722 PCLASS::CBNAME(a,b,c); \
724 void base_##CBNAME(int a, int b, long c) { \
725 PCLASS::CBNAME(a,b,c); \
731 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
732 void CBNAME(int a, int b, double c) { \
734 wxPyBeginBlockThreads(); \
735 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
736 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
737 wxPyEndBlockThreads(); \
739 PCLASS::CBNAME(a,b,c); \
741 void base_##CBNAME(int a, int b, double c) { \
742 PCLASS::CBNAME(a,b,c); \
747 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
748 void CBNAME(int a, int b, bool c) { \
750 wxPyBeginBlockThreads(); \
751 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
752 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
753 wxPyEndBlockThreads(); \
755 PCLASS::CBNAME(a,b,c); \
757 void base_##CBNAME(int a, int b, bool c) { \
758 PCLASS::CBNAME(a,b,c); \
766 SWIGSTATICINLINE(PyObject
*)
767 SWIG_FromCharPtr(const char* cptr
)
769 size_t size
= cptr
? strlen(cptr
) : 0;
771 if (size
> INT_MAX
) {
772 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
773 SWIG_TypeQuery("char *"), 0);
775 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
783 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
784 self
->SetClientObject(new wxPyOORClientData(_self
));
790 SWIGSTATICINLINE(long)
791 SWIG_CheckLongInRange(long value
, const char* type
,
792 long min_value
, long max_value
)
794 if (!PyErr_Occurred()) {
795 if (value
< min_value
) {
797 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
798 value
, type
, min_value
);
800 PyErr_SetObject(PyExc_OverflowError
, err
);
802 } else if (value
> max_value
) {
804 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
805 value
, type
, max_value
);
806 PyErr_SetObject(PyExc_OverflowError
, err
);
814 SWIGSTATICINLINE(long)
815 SWIG_AsLong(PyObject
* obj
)
817 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
821 #if INT_MAX != LONG_MAX
822 SWIGSTATICINLINE(int)
823 SWIG_AsInt(PyObject
*obj
)
825 return swig_numeric_cast(int,
826 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
827 "int", INT_MIN
, INT_MAX
));
830 #define SWIG_AsInt SWIG_AsLong
834 SWIGSTATICINLINE(bool)
835 SWIG_AsBool(PyObject
*obj
)
837 return PyObject_IsTrue(obj
) ? true : false;
841 SWIGSTATICINLINE(int)
842 SWIG_CheckInt(PyObject
* obj
)
845 if (PyErr_Occurred()) {
854 SWIGSTATICINLINE(int)
855 SWIG_CheckBool(PyObject
* obj
)
858 if (PyErr_Occurred()) {
867 class wxPyGridCellRenderer
: public wxGridCellRenderer
870 wxPyGridCellRenderer() : wxGridCellRenderer() {};
872 // Implement Python callback aware virtual methods
873 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
874 wxDC
& dc
, const wxRect
& rect
,
875 int row
, int col
, bool isSelected
) {
876 wxPyBeginBlockThreads();
877 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
878 PyObject
* go
= wxPyMake_wxObject(&grid
);
879 PyObject
* dco
= wxPyMake_wxObject(&dc
);
880 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
881 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
883 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
884 row
, col
, isSelected
));
890 wxPyEndBlockThreads();
893 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
896 wxPyBeginBlockThreads();
897 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
900 PyObject
* go
= wxPyMake_wxObject(&grid
);
901 PyObject
* dco
= wxPyMake_wxObject(&dc
);
902 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
904 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
912 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
913 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
916 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
917 PyObject
* o1
= PySequence_GetItem(ro
, 0);
918 PyObject
* o2
= PySequence_GetItem(ro
, 1);
919 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
920 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
922 PyErr_SetString(PyExc_TypeError
, errmsg
);
927 PyErr_SetString(PyExc_TypeError
, errmsg
);
932 wxPyEndBlockThreads();
937 wxGridCellRenderer
*Clone() const {
938 wxGridCellRenderer
* rval
= NULL
;
939 wxPyBeginBlockThreads();
940 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
942 wxGridCellRenderer
* ptr
;
943 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
945 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
950 wxPyEndBlockThreads();
954 DEC_PYCALLBACK__STRING(SetParameters
);
959 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
962 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
963 self
->SetClientObject(new wxPyOORClientData(_self
));
966 class wxPyGridCellEditor
: public wxGridCellEditor
969 wxPyGridCellEditor() : wxGridCellEditor() {}
971 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
972 wxPyBeginBlockThreads();
973 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
974 PyObject
* po
= wxPyMake_wxObject(parent
);
975 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
977 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
981 wxPyEndBlockThreads();
985 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
986 wxPyBeginBlockThreads();
987 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
988 PyObject
* go
= wxPyMake_wxObject(grid
);
989 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
992 wxPyEndBlockThreads();
996 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
998 wxPyBeginBlockThreads();
999 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
1000 PyObject
* go
= wxPyMake_wxObject(grid
);
1001 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1004 wxPyEndBlockThreads();
1009 wxGridCellEditor
* Clone() const {
1010 wxGridCellEditor
* rval
= NULL
;
1011 wxPyBeginBlockThreads();
1012 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
1014 wxGridCellEditor
* ptr
;
1015 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1017 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
1022 wxPyEndBlockThreads();
1027 void Show(bool show
, wxGridCellAttr
*attr
) {
1029 wxPyBeginBlockThreads();
1030 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
1031 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1032 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
1035 wxPyEndBlockThreads();
1037 wxGridCellEditor::Show(show
, attr
);
1039 void base_Show(bool show
, wxGridCellAttr
*attr
) {
1040 wxGridCellEditor::Show(show
, attr
);
1044 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1046 wxPyBeginBlockThreads();
1047 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
1048 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1049 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
1051 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
1056 wxPyEndBlockThreads();
1058 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1060 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1061 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1065 DEC_PYCALLBACK___pure(Reset
);
1066 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
1067 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
1068 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
1069 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
1070 DEC_PYCALLBACK__(StartingClick
);
1071 DEC_PYCALLBACK__(Destroy
);
1072 DEC_PYCALLBACK__STRING(SetParameters
);
1073 DEC_PYCALLBACK_STRING__constpure(GetValue
);
1079 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
1080 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
1081 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
1082 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
1083 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
1084 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
1085 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
1086 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
1087 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
1090 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
1091 self
->SetClientObject(new wxPyOORClientData(_self
));
1094 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1100 } else if (target
== Py_None
) {
1104 if (!PyTuple_Check(target
)) {
1106 target
= PyTuple_New(1);
1107 PyTuple_SetItem(target
, 0, o2
);
1109 o3
= PyTuple_New(1);
1110 PyTuple_SetItem(o3
, 0, o
);
1113 target
= PySequence_Concat(o2
, o3
);
1120 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1121 self
->SetClientObject(new wxPyOORClientData(_self
));
1124 SWIGSTATICINLINE(unsigned long)
1125 SWIG_AsUnsignedLong(PyObject
* obj
)
1127 if (PyLong_Check(obj
)) {
1128 return PyLong_AsUnsignedLong(obj
);
1130 long i
= PyInt_AsLong(obj
);
1131 if ( !PyErr_Occurred() && (i
< 0)) {
1132 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
1139 SWIGSTATICINLINE(int)
1140 SWIG_CheckUnsignedLong(PyObject
* obj
)
1142 SWIG_AsUnsignedLong(obj
);
1143 if (PyErr_Occurred()) {
1152 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1155 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1157 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1158 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1159 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1160 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1165 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1166 self
->SetClientObject(new wxPyOORClientData(_self
));
1169 SWIGSTATICINLINE(int)
1170 SWIG_CheckLong(PyObject
* obj
)
1173 if (PyErr_Occurred()) {
1182 SWIGSTATICINLINE(double)
1183 SWIG_AsDouble(PyObject
*obj
)
1185 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1187 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1189 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1191 if (PyErr_Occurred()) {
1193 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1199 SWIGSTATICINLINE(int)
1200 SWIG_CheckDouble(PyObject
* obj
)
1203 if (PyErr_Occurred()) {
1212 class wxPyGridTableBase
: public wxGridTableBase
1215 wxPyGridTableBase() : wxGridTableBase() {}
1217 PYCALLBACK_INT__pure(GetNumberRows
);
1218 PYCALLBACK_INT__pure(GetNumberCols
);
1219 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1220 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1221 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1222 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1223 PYCALLBACK__(wxGridTableBase
, Clear
);
1224 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1225 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1226 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1227 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1228 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1229 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1230 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1231 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1232 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1233 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1234 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1235 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1236 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1237 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1238 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1241 wxString
GetValue(int row
, int col
) {
1242 wxPyBeginBlockThreads();
1244 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1246 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1248 rval
= Py2wxString(ro
);
1252 wxPyEndBlockThreads();
1256 void SetValue(int row
, int col
, const wxString
& val
) {
1257 wxPyBeginBlockThreads();
1258 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1259 PyObject
* s
= wx2PyString(val
);
1260 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1263 wxPyEndBlockThreads();
1267 // Map the Get/Set methods for the standard non-string types to
1268 // the GetValue and SetValue python methods.
1269 long GetValueAsLong( int row
, int col
) {
1271 wxPyBeginBlockThreads();
1272 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1275 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1276 if (ro
&& PyNumber_Check(ro
)) {
1277 num
= PyNumber_Int(ro
);
1279 rval
= PyInt_AsLong(num
);
1285 wxPyEndBlockThreads();
1289 double GetValueAsDouble( int row
, int col
) {
1291 wxPyBeginBlockThreads();
1292 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1295 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1296 if (ro
&& PyNumber_Check(ro
)) {
1297 num
= PyNumber_Float(ro
);
1299 rval
= PyFloat_AsDouble(num
);
1305 wxPyEndBlockThreads();
1309 bool GetValueAsBool( int row
, int col
) {
1310 return (bool)GetValueAsLong(row
, col
);
1313 void SetValueAsLong( int row
, int col
, long value
) {
1314 wxPyBeginBlockThreads();
1315 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1316 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1318 wxPyEndBlockThreads();
1321 void SetValueAsDouble( int row
, int col
, double value
) {
1322 wxPyBeginBlockThreads();
1323 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1324 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1326 wxPyEndBlockThreads();
1329 void SetValueAsBool( int row
, int col
, bool value
) {
1330 SetValueAsLong( row
, col
, (long)value
);
1337 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1339 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1341 if (source
== Py_None
) {
1342 **obj
= wxGridCellCoords(-1,-1);
1346 // If source is an object instance then it may already be the right type
1347 if (wxPySwigInstance_Check(source
)) {
1348 wxGridCellCoords
* ptr
;
1349 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1354 // otherwise a 2-tuple of integers is expected
1355 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1356 PyObject
* o1
= PySequence_GetItem(source
, 0);
1357 PyObject
* o2
= PySequence_GetItem(source
, 1);
1358 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1363 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1370 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1375 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1378 if (wxPySwigInstance_Check(source
) &&
1379 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1383 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1390 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1392 PyObject
* list
= PyList_New(0);
1394 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1395 wxGridCellCoords
& coord
= source
.Item(idx
);
1396 PyObject
* tup
= PyTuple_New(2);
1397 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1398 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1399 PyList_Append(list
, tup
);
1405 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1406 PyObject
* tup
= PyTuple_New(2);
1407 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1408 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1412 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1414 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1415 wxGridCellCoords rv
;
1416 self
->XYToCell(x
, y
, rv
);
1422 static int _wrap_DateTimeFormatStr_set(PyObject
*) {
1423 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1428 static PyObject
*_wrap_DateTimeFormatStr_get() {
1433 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1435 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1442 static int _wrap_GridNoCellCoords_set(PyObject
*) {
1443 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1448 static PyObject
*_wrap_GridNoCellCoords_get() {
1451 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
1456 static int _wrap_GridNoCellRect_set(PyObject
*) {
1457 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1462 static PyObject
*_wrap_GridNoCellRect_get() {
1465 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
1470 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1473 PyObject
*arg2
= (PyObject
*) 0 ;
1474 PyObject
* obj0
= 0 ;
1475 PyObject
* obj1
= 0 ;
1477 (char *) "self",(char *) "_self", NULL
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1486 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1488 wxPyEndAllowThreads(__tstate
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1491 Py_INCREF(Py_None
); resultobj
= Py_None
;
1498 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1501 wxString
*arg2
= 0 ;
1502 bool temp2
= False
;
1503 PyObject
* obj0
= 0 ;
1504 PyObject
* obj1
= 0 ;
1506 (char *) "self",(char *) "params", NULL
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1513 arg2
= wxString_in_helper(obj1
);
1514 if (arg2
== NULL
) SWIG_fail
;
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 (arg1
)->SetParameters((wxString
const &)*arg2
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1524 Py_INCREF(Py_None
); resultobj
= Py_None
;
1539 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
*resultobj
;
1541 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1542 PyObject
* obj0
= 0 ;
1544 (char *) "self", NULL
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) SWIG_fail
;
1557 Py_INCREF(Py_None
); resultobj
= Py_None
;
1564 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
*resultobj
;
1566 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1567 PyObject
* obj0
= 0 ;
1569 (char *) "self", NULL
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) SWIG_fail
;
1582 Py_INCREF(Py_None
); resultobj
= Py_None
;
1589 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1591 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1593 wxGridCellAttr
*arg3
= 0 ;
1600 PyObject
* obj0
= 0 ;
1601 PyObject
* obj1
= 0 ;
1602 PyObject
* obj2
= 0 ;
1603 PyObject
* obj3
= 0 ;
1604 PyObject
* obj4
= 0 ;
1605 PyObject
* obj5
= 0 ;
1606 PyObject
* obj6
= 0 ;
1607 PyObject
* obj7
= 0 ;
1609 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1619 PyErr_SetString(PyExc_TypeError
,"null reference");
1622 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1626 PyErr_SetString(PyExc_TypeError
,"null reference");
1629 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1633 PyErr_SetString(PyExc_TypeError
,"null reference");
1638 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1640 arg6
= (int) SWIG_AsInt(obj5
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1642 arg7
= (int) SWIG_AsInt(obj6
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1644 arg8
= (bool) SWIG_AsBool(obj7
);
1645 if (PyErr_Occurred()) SWIG_fail
;
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 Py_INCREF(Py_None
); resultobj
= Py_None
;
1660 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
*resultobj
;
1662 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1664 wxGridCellAttr
*arg3
= 0 ;
1669 PyObject
* obj0
= 0 ;
1670 PyObject
* obj1
= 0 ;
1671 PyObject
* obj2
= 0 ;
1672 PyObject
* obj3
= 0 ;
1673 PyObject
* obj4
= 0 ;
1674 PyObject
* obj5
= 0 ;
1676 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1686 PyErr_SetString(PyExc_TypeError
,"null reference");
1689 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1693 PyErr_SetString(PyExc_TypeError
,"null reference");
1696 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1700 PyErr_SetString(PyExc_TypeError
,"null reference");
1703 arg5
= (int) SWIG_AsInt(obj4
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1705 arg6
= (int) SWIG_AsInt(obj5
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1716 resultptr
= new wxSize((wxSize
&) result
);
1717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1725 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1728 wxGridCellRenderer
*result
;
1729 PyObject
* obj0
= 0 ;
1731 (char *) "self", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1745 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1753 static PyObject
* GridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
1755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1756 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1758 return Py_BuildValue((char *)"");
1760 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxPyGridCellRenderer
*result
;
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1782 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1785 PyObject
*arg2
= (PyObject
*) 0 ;
1786 PyObject
*arg3
= (PyObject
*) 0 ;
1787 PyObject
* obj0
= 0 ;
1788 PyObject
* obj1
= 0 ;
1789 PyObject
* obj2
= 0 ;
1791 (char *) "self",(char *) "self",(char *) "_class", NULL
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 Py_INCREF(Py_None
); resultobj
= Py_None
;
1813 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1816 wxString
*arg2
= 0 ;
1817 bool temp2
= False
;
1818 PyObject
* obj0
= 0 ;
1819 PyObject
* obj1
= 0 ;
1821 (char *) "self",(char *) "params", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 arg2
= wxString_in_helper(obj1
);
1829 if (arg2
== NULL
) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 Py_INCREF(Py_None
); resultobj
= Py_None
;
1854 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
1856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1857 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1859 return Py_BuildValue((char *)"");
1861 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxGridCellStringRenderer
*result
;
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1883 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
1885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1886 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1888 return Py_BuildValue((char *)"");
1890 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxGridCellNumberRenderer
*result
;
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1912 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*, PyObject
*args
) {
1914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1915 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1917 return Py_BuildValue((char *)"");
1919 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 int arg1
= (int) -1 ;
1922 int arg2
= (int) -1 ;
1923 wxGridCellFloatRenderer
*result
;
1924 PyObject
* obj0
= 0 ;
1925 PyObject
* obj1
= 0 ;
1927 (char *) "width",(char *) "precision", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1932 arg1
= (int) SWIG_AsInt(obj0
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1936 arg2
= (int) SWIG_AsInt(obj1
);
1937 if (PyErr_Occurred()) SWIG_fail
;
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1953 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
*resultobj
;
1955 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1957 PyObject
* obj0
= 0 ;
1959 (char *) "self", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
1964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 resultobj
= SWIG_FromInt((int)result
);
1979 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1986 (char *) "self",(char *) "width", NULL
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
1991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1992 arg2
= (int) SWIG_AsInt(obj1
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 (arg1
)->SetWidth(arg2
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 Py_INCREF(Py_None
); resultobj
= Py_None
;
2008 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
;
2010 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2012 PyObject
* obj0
= 0 ;
2014 (char *) "self", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 resultobj
= SWIG_FromInt((int)result
);
2034 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2041 (char *) "self",(char *) "precision", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2047 arg2
= (int) SWIG_AsInt(obj1
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 (arg1
)->SetPrecision(arg2
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 Py_INCREF(Py_None
); resultobj
= Py_None
;
2063 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*, PyObject
*args
) {
2065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2066 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
2068 return Py_BuildValue((char *)"");
2070 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxGridCellBoolRenderer
*result
;
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
2092 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*, PyObject
*args
) {
2094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2095 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
2097 return Py_BuildValue((char *)"");
2099 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
2102 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
2103 wxGridCellDateTimeRenderer
*result
;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "outformat",(char *) "informat", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2113 wxString
* sptr
= wxString_in_helper(obj0
);
2114 if (sptr
== NULL
) SWIG_fail
;
2121 wxString
* sptr
= wxString_in_helper(obj1
);
2122 if (sptr
== NULL
) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2141 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*, PyObject
*args
) {
2143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2144 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2146 return Py_BuildValue((char *)"");
2148 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2151 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2152 wxGridCellEnumRenderer
*result
;
2153 bool temp1
= False
;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "choices", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2162 arg1
= wxString_in_helper(obj0
);
2163 if (arg1
== NULL
) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2189 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*, PyObject
*args
) {
2191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2192 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2194 return Py_BuildValue((char *)"");
2196 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxGridCellAutoWrapStringRenderer
*result
;
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2218 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
2220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2221 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2223 return Py_BuildValue((char *)"");
2225 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
*resultobj
;
2227 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2228 PyObject
*arg2
= (PyObject
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2230 PyObject
* obj1
= 0 ;
2232 (char *) "self",(char *) "_self", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2246 Py_INCREF(Py_None
); resultobj
= Py_None
;
2253 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2259 (char *) "self", NULL
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 result
= (bool)(arg1
)->IsCreated();
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2279 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2285 (char *) "self", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 result
= (wxControl
*)(arg1
)->GetControl();
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2299 resultobj
= wxPyMake_wxObject(result
);
2307 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2310 wxControl
*arg2
= (wxControl
*) 0 ;
2311 PyObject
* obj0
= 0 ;
2312 PyObject
* obj1
= 0 ;
2314 (char *) "self",(char *) "control", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 (arg1
)->SetControl(arg2
);
2326 wxPyEndAllowThreads(__tstate
);
2327 if (PyErr_Occurred()) SWIG_fail
;
2329 Py_INCREF(Py_None
); resultobj
= Py_None
;
2336 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
*resultobj
;
2338 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2339 wxGridCellAttr
*result
;
2340 PyObject
* obj0
= 0 ;
2342 (char *) "self", NULL
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2356 resultobj
= wxPyMake_wxGridCellAttr(result
);
2364 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2367 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2368 PyObject
* obj0
= 0 ;
2369 PyObject
* obj1
= 0 ;
2371 (char *) "self",(char *) "attr", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
2378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 (arg1
)->SetCellAttr(arg2
);
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 Py_INCREF(Py_None
); resultobj
= Py_None
;
2393 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2396 wxString
*arg2
= 0 ;
2397 bool temp2
= False
;
2398 PyObject
* obj0
= 0 ;
2399 PyObject
* obj1
= 0 ;
2401 (char *) "self",(char *) "params", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2408 arg2
= wxString_in_helper(obj1
);
2409 if (arg2
== NULL
) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 (arg1
)->SetParameters((wxString
const &)*arg2
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2419 Py_INCREF(Py_None
); resultobj
= Py_None
;
2434 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2437 PyObject
* obj0
= 0 ;
2439 (char *) "self", NULL
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 Py_INCREF(Py_None
); resultobj
= Py_None
;
2459 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
*resultobj
;
2461 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2464 (char *) "self", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 Py_INCREF(Py_None
); resultobj
= Py_None
;
2484 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2487 wxWindow
*arg2
= (wxWindow
*) 0 ;
2489 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2490 PyObject
* obj0
= 0 ;
2491 PyObject
* obj1
= 0 ;
2492 PyObject
* obj2
= 0 ;
2493 PyObject
* obj3
= 0 ;
2495 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 arg3
= (int) SWIG_AsInt(obj2
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2505 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxEvtHandler
,
2506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 (arg1
)->Create(arg2
,arg3
,arg4
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 Py_INCREF(Py_None
); resultobj
= Py_None
;
2521 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2526 wxGrid
*arg4
= (wxGrid
*) 0 ;
2527 PyObject
* obj0
= 0 ;
2528 PyObject
* obj1
= 0 ;
2529 PyObject
* obj2
= 0 ;
2530 PyObject
* obj3
= 0 ;
2532 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2538 arg2
= (int) SWIG_AsInt(obj1
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2540 arg3
= (int) SWIG_AsInt(obj2
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2542 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2551 Py_INCREF(Py_None
); resultobj
= Py_None
;
2558 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
*resultobj
;
2560 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2563 wxGrid
*arg4
= (wxGrid
*) 0 ;
2565 PyObject
* obj0
= 0 ;
2566 PyObject
* obj1
= 0 ;
2567 PyObject
* obj2
= 0 ;
2568 PyObject
* obj3
= 0 ;
2570 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2576 arg2
= (int) SWIG_AsInt(obj1
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2578 arg3
= (int) SWIG_AsInt(obj2
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2580 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2596 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2599 PyObject
* obj0
= 0 ;
2601 (char *) "self", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2614 Py_INCREF(Py_None
); resultobj
= Py_None
;
2621 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2624 wxGridCellEditor
*result
;
2625 PyObject
* obj0
= 0 ;
2627 (char *) "self", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2641 resultobj
= wxPyMake_wxGridCellEditor(result
);
2649 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2657 (char *) "self",(char *) "rect", NULL
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2665 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 (arg1
)->SetSize((wxRect
const &)*arg2
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 Py_INCREF(Py_None
); resultobj
= Py_None
;
2681 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2685 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2686 PyObject
* obj0
= 0 ;
2687 PyObject
* obj1
= 0 ;
2688 PyObject
* obj2
= 0 ;
2690 (char *) "self",(char *) "show",(char *) "attr", NULL
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2696 arg2
= (bool) SWIG_AsBool(obj1
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 (arg1
)->Show(arg2
,arg3
);
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2709 Py_INCREF(Py_None
); resultobj
= Py_None
;
2716 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2720 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2722 PyObject
* obj0
= 0 ;
2723 PyObject
* obj1
= 0 ;
2724 PyObject
* obj2
= 0 ;
2726 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2734 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2736 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 Py_INCREF(Py_None
); resultobj
= Py_None
;
2752 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2755 wxKeyEvent
*arg2
= 0 ;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "event", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2770 PyErr_SetString(PyExc_TypeError
,"null reference");
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2787 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2790 wxKeyEvent
*arg2
= 0 ;
2791 PyObject
* obj0
= 0 ;
2792 PyObject
* obj1
= 0 ;
2794 (char *) "self",(char *) "event", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2804 PyErr_SetString(PyExc_TypeError
,"null reference");
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 (arg1
)->StartingKey(*arg2
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2814 Py_INCREF(Py_None
); resultobj
= Py_None
;
2821 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
*resultobj
;
2823 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2824 PyObject
* obj0
= 0 ;
2826 (char *) "self", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 (arg1
)->StartingClick();
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2839 Py_INCREF(Py_None
); resultobj
= Py_None
;
2846 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
*resultobj
;
2848 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2849 wxKeyEvent
*arg2
= 0 ;
2850 PyObject
* obj0
= 0 ;
2851 PyObject
* obj1
= 0 ;
2853 (char *) "self",(char *) "event", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2863 PyErr_SetString(PyExc_TypeError
,"null reference");
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 (arg1
)->HandleReturn(*arg2
);
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) SWIG_fail
;
2873 Py_INCREF(Py_None
); resultobj
= Py_None
;
2880 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
;
2882 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2883 PyObject
* obj0
= 0 ;
2885 (char *) "self", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2898 Py_INCREF(Py_None
); resultobj
= Py_None
;
2905 static PyObject
* GridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
2907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2908 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2910 return Py_BuildValue((char *)"");
2912 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxPyGridCellEditor
*result
;
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
2934 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2937 PyObject
*arg2
= (PyObject
*) 0 ;
2938 PyObject
*arg3
= (PyObject
*) 0 ;
2939 PyObject
* obj0
= 0 ;
2940 PyObject
* obj1
= 0 ;
2941 PyObject
* obj2
= 0 ;
2943 (char *) "self",(char *) "self",(char *) "_class", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
2948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2958 Py_INCREF(Py_None
); resultobj
= Py_None
;
2965 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2973 (char *) "self",(char *) "rect", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
2978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2981 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2990 Py_INCREF(Py_None
); resultobj
= Py_None
;
2997 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3001 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3002 PyObject
* obj0
= 0 ;
3003 PyObject
* obj1
= 0 ;
3004 PyObject
* obj2
= 0 ;
3006 (char *) "self",(char *) "show",(char *) "attr", NULL
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3012 arg2
= (bool) SWIG_AsBool(obj1
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 (arg1
)->base_Show(arg2
,arg3
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 Py_INCREF(Py_None
); resultobj
= Py_None
;
3032 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3036 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3040 PyObject
* obj2
= 0 ;
3042 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3050 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3052 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3071 wxKeyEvent
*arg2
= 0 ;
3073 PyObject
* obj0
= 0 ;
3074 PyObject
* obj1
= 0 ;
3076 (char *) "self",(char *) "event", NULL
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3086 PyErr_SetString(PyExc_TypeError
,"null reference");
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3103 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3106 wxKeyEvent
*arg2
= 0 ;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3110 (char *) "self",(char *) "event", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3120 PyErr_SetString(PyExc_TypeError
,"null reference");
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 (arg1
)->base_StartingKey(*arg2
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3130 Py_INCREF(Py_None
); resultobj
= Py_None
;
3137 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3142 (char *) "self", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 (arg1
)->base_StartingClick();
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3155 Py_INCREF(Py_None
); resultobj
= Py_None
;
3162 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3165 wxKeyEvent
*arg2
= 0 ;
3166 PyObject
* obj0
= 0 ;
3167 PyObject
* obj1
= 0 ;
3169 (char *) "self",(char *) "event", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3179 PyErr_SetString(PyExc_TypeError
,"null reference");
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3184 (arg1
)->base_HandleReturn(*arg2
);
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3189 Py_INCREF(Py_None
); resultobj
= Py_None
;
3196 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3201 (char *) "self", NULL
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 (arg1
)->base_Destroy();
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3214 Py_INCREF(Py_None
); resultobj
= Py_None
;
3221 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3224 wxString
*arg2
= 0 ;
3225 bool temp2
= False
;
3226 PyObject
* obj0
= 0 ;
3227 PyObject
* obj1
= 0 ;
3229 (char *) "self",(char *) "params", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3236 arg2
= wxString_in_helper(obj1
);
3237 if (arg2
== NULL
) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3262 static PyObject
* PyGridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
3264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3265 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3267 return Py_BuildValue((char *)"");
3269 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
*resultobj
;
3271 wxGridCellTextEditor
*result
;
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
3291 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3295 PyObject
* obj0
= 0 ;
3297 (char *) "self", NULL
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellTextEditor
,
3302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 result
= (arg1
)->GetValue();
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3323 static PyObject
* GridCellTextEditor_swigregister(PyObject
*, PyObject
*args
) {
3325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3326 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3328 return Py_BuildValue((char *)"");
3330 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3332 int arg1
= (int) -1 ;
3333 int arg2
= (int) -1 ;
3334 wxGridCellNumberEditor
*result
;
3335 PyObject
* obj0
= 0 ;
3336 PyObject
* obj1
= 0 ;
3338 (char *) "min",(char *) "max", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3343 arg1
= (int) SWIG_AsInt(obj0
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3347 arg2
= (int) SWIG_AsInt(obj1
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3364 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3368 PyObject
* obj0
= 0 ;
3370 (char *) "self", NULL
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellNumberEditor
,
3375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 result
= (arg1
)->GetValue();
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3396 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*, PyObject
*args
) {
3398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3399 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3401 return Py_BuildValue((char *)"");
3403 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxGridCellFloatEditor
*result
;
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3425 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3431 (char *) "self", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatEditor
,
3436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= (arg1
)->GetValue();
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3457 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*, PyObject
*args
) {
3459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3460 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3462 return Py_BuildValue((char *)"");
3464 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxGridCellBoolEditor
*result
;
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3486 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3492 (char *) "self", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellBoolEditor
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= (arg1
)->GetValue();
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3518 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*, PyObject
*args
) {
3520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3521 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3523 return Py_BuildValue((char *)"");
3525 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 int arg1
= (int) 0 ;
3528 wxString
*arg2
= (wxString
*) NULL
;
3529 bool arg3
= (bool) False
;
3530 wxGridCellChoiceEditor
*result
;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "choices",(char *) "allowOthers", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 arg1
= PyList_Size(obj0
);
3541 arg2
= wxString_LIST_helper(obj0
);
3542 if (arg2
== NULL
) SWIG_fail
;
3546 arg3
= (bool) SWIG_AsBool(obj1
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3558 if (arg2
) delete [] arg2
;
3563 if (arg2
) delete [] arg2
;
3569 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3575 (char *) "self", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellChoiceEditor
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= (arg1
)->GetValue();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3601 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*, PyObject
*args
) {
3603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3604 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3606 return Py_BuildValue((char *)"");
3608 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3611 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3612 wxGridCellEnumEditor
*result
;
3613 bool temp1
= False
;
3614 PyObject
* obj0
= 0 ;
3616 (char *) "choices", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3622 arg1
= wxString_in_helper(obj0
);
3623 if (arg1
== NULL
) SWIG_fail
;
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3649 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
*resultobj
;
3651 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3653 PyObject
* obj0
= 0 ;
3655 (char *) "self", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEnumEditor
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 result
= (arg1
)->GetValue();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3681 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*, PyObject
*args
) {
3683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3684 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3686 return Py_BuildValue((char *)"");
3688 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxGridCellAutoWrapStringEditor
*result
;
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3710 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "self", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (arg1
)->GetValue();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3742 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*, PyObject
*args
) {
3744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3745 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3747 return Py_BuildValue((char *)"");
3749 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3752 PyObject
*arg2
= (PyObject
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3754 PyObject
* obj1
= 0 ;
3756 (char *) "self",(char *) "_self", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3770 Py_INCREF(Py_None
); resultobj
= Py_None
;
3777 static PyObject
*_wrap_new_GridCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3779 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3780 wxGridCellAttr
*result
;
3781 PyObject
* obj0
= 0 ;
3783 (char *) "attrDefault", NULL
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3799 resultobj
= wxPyMake_wxGridCellAttr(result
);
3807 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3810 wxGridCellAttr
*result
;
3811 PyObject
* obj0
= 0 ;
3813 (char *) "self", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= wxPyMake_wxGridCellAttr(result
);
3835 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3837 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3838 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3839 PyObject
* obj0
= 0 ;
3840 PyObject
* obj1
= 0 ;
3842 (char *) "self",(char *) "mergefrom", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
3849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 (arg1
)->MergeWith(arg2
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 Py_INCREF(Py_None
); resultobj
= Py_None
;
3864 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3869 (char *) "self", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 Py_INCREF(Py_None
); resultobj
= Py_None
;
3889 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3894 (char *) "self", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3917 wxColour
*arg2
= 0 ;
3919 PyObject
* obj0
= 0 ;
3920 PyObject
* obj1
= 0 ;
3922 (char *) "self",(char *) "colText", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3930 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 Py_INCREF(Py_None
); resultobj
= Py_None
;
3946 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3949 wxColour
*arg2
= 0 ;
3951 PyObject
* obj0
= 0 ;
3952 PyObject
* obj1
= 0 ;
3954 (char *) "self",(char *) "colBack", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3962 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3982 PyObject
* obj0
= 0 ;
3983 PyObject
* obj1
= 0 ;
3985 (char *) "self",(char *) "font", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
3992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3995 PyErr_SetString(PyExc_TypeError
,"null reference");
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 (arg1
)->SetFont((wxFont
const &)*arg2
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 Py_INCREF(Py_None
); resultobj
= Py_None
;
4012 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4017 PyObject
* obj0
= 0 ;
4018 PyObject
* obj1
= 0 ;
4019 PyObject
* obj2
= 0 ;
4021 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4027 arg2
= (int) SWIG_AsInt(obj1
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4029 arg3
= (int) SWIG_AsInt(obj2
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 (arg1
)->SetAlignment(arg2
,arg3
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 Py_INCREF(Py_None
); resultobj
= Py_None
;
4045 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4052 PyObject
* obj2
= 0 ;
4054 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 arg2
= (int) SWIG_AsInt(obj1
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4062 arg3
= (int) SWIG_AsInt(obj2
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->SetSize(arg2
,arg3
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4081 bool arg2
= (bool) True
;
4082 PyObject
* obj0
= 0 ;
4083 PyObject
* obj1
= 0 ;
4085 (char *) "self",(char *) "allow", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 arg2
= (bool) SWIG_AsBool(obj1
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 (arg1
)->SetOverflow(arg2
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 Py_INCREF(Py_None
); resultobj
= Py_None
;
4109 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4112 bool arg2
= (bool) True
;
4113 PyObject
* obj0
= 0 ;
4114 PyObject
* obj1
= 0 ;
4116 (char *) "self",(char *) "isReadOnly", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
4120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4123 arg2
= (bool) SWIG_AsBool(obj1
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 (arg1
)->SetReadOnly(arg2
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 Py_INCREF(Py_None
); resultobj
= Py_None
;
4140 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4143 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4147 (char *) "self",(char *) "renderer", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
4151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
4154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 (arg1
)->SetRenderer(arg2
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 Py_INCREF(Py_None
); resultobj
= Py_None
;
4169 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4172 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "editor", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
4183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 (arg1
)->SetEditor(arg2
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 Py_INCREF(Py_None
); resultobj
= Py_None
;
4198 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4203 PyObject
* obj1
= 0 ;
4205 (char *) "self",(char *) "kind", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4211 arg2
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj1
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 Py_INCREF(Py_None
); resultobj
= Py_None
;
4227 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
*resultobj
;
4229 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4231 PyObject
* obj0
= 0 ;
4233 (char *) "self", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4253 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4257 PyObject
* obj0
= 0 ;
4259 (char *) "self", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4279 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
;
4281 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4283 PyObject
* obj0
= 0 ;
4285 (char *) "self", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4305 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4309 PyObject
* obj0
= 0 ;
4311 (char *) "self", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4331 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
;
4333 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4335 PyObject
* obj0
= 0 ;
4337 (char *) "self", NULL
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4357 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4361 PyObject
* obj0
= 0 ;
4363 (char *) "self", NULL
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4383 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4389 (char *) "self", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4409 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4413 PyObject
* obj0
= 0 ;
4415 (char *) "self", NULL
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4435 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4441 (char *) "self", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4455 wxColour
* resultptr
;
4456 resultptr
= new wxColour((wxColour
&) result
);
4457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4465 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4469 PyObject
* obj0
= 0 ;
4471 (char *) "self", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4485 wxColour
* resultptr
;
4486 resultptr
= new wxColour((wxColour
&) result
);
4487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4495 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4499 PyObject
* obj0
= 0 ;
4501 (char *) "self", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4516 resultptr
= new wxFont((wxFont
&) result
);
4517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
4525 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4528 int *arg2
= (int *) 0 ;
4529 int *arg3
= (int *) 0 ;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "self", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 Py_INCREF(Py_None
); resultobj
= Py_None
;
4551 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4552 resultobj
= t_output_helper(resultobj
,o
);
4555 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4556 resultobj
= t_output_helper(resultobj
,o
);
4564 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
;
4566 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4567 int *arg2
= (int *) 0 ;
4568 int *arg3
= (int *) 0 ;
4571 PyObject
* obj0
= 0 ;
4573 (char *) "self", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 Py_INCREF(Py_None
); resultobj
= Py_None
;
4590 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4591 resultobj
= t_output_helper(resultobj
,o
);
4594 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4595 resultobj
= t_output_helper(resultobj
,o
);
4603 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4609 (char *) "self", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4629 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4631 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4632 wxGrid
*arg2
= (wxGrid
*) 0 ;
4635 wxGridCellRenderer
*result
;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4638 PyObject
* obj2
= 0 ;
4639 PyObject
* obj3
= 0 ;
4641 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4649 arg3
= (int) SWIG_AsInt(obj2
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4651 arg4
= (int) SWIG_AsInt(obj3
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4669 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4672 wxGrid
*arg2
= (wxGrid
*) 0 ;
4675 wxGridCellEditor
*result
;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4681 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4689 arg3
= (int) SWIG_AsInt(obj2
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4691 arg4
= (int) SWIG_AsInt(obj3
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= wxPyMake_wxGridCellEditor(result
);
4709 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "self", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4735 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4738 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4739 PyObject
* obj0
= 0 ;
4740 PyObject
* obj1
= 0 ;
4742 (char *) "self",(char *) "defAttr", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 (arg1
)->SetDefAttr(arg2
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 Py_INCREF(Py_None
); resultobj
= Py_None
;
4764 static PyObject
* GridCellAttr_swigregister(PyObject
*, PyObject
*args
) {
4766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4767 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4769 return Py_BuildValue((char *)"");
4771 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxGridCellAttrProvider
*result
;
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4795 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4798 PyObject
*arg2
= (PyObject
*) 0 ;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4802 (char *) "self",(char *) "_self", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 Py_INCREF(Py_None
); resultobj
= Py_None
;
4823 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4829 wxGridCellAttr
*result
;
4830 PyObject
* obj0
= 0 ;
4831 PyObject
* obj1
= 0 ;
4832 PyObject
* obj2
= 0 ;
4833 PyObject
* obj3
= 0 ;
4835 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4841 arg2
= (int) SWIG_AsInt(obj1
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4843 arg3
= (int) SWIG_AsInt(obj2
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4845 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= wxPyMake_wxGridCellAttr(result
);
4863 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4866 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 PyObject
* obj2
= 0 ;
4872 PyObject
* obj3
= 0 ;
4874 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4882 arg3
= (int) SWIG_AsInt(obj2
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4884 arg4
= (int) SWIG_AsInt(obj3
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 Py_INCREF(Py_None
); resultobj
= Py_None
;
4900 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4903 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4905 PyObject
* obj0
= 0 ;
4906 PyObject
* obj1
= 0 ;
4907 PyObject
* obj2
= 0 ;
4909 (char *) "self",(char *) "attr",(char *) "row", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4917 arg3
= (int) SWIG_AsInt(obj2
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 (arg1
)->SetRowAttr(arg2
,arg3
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 Py_INCREF(Py_None
); resultobj
= Py_None
;
4933 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4936 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 PyObject
* obj2
= 0 ;
4942 (char *) "self",(char *) "attr",(char *) "col", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4950 arg3
= (int) SWIG_AsInt(obj2
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->SetColAttr(arg2
,arg3
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 Py_INCREF(Py_None
); resultobj
= Py_None
;
4966 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4971 PyObject
* obj0
= 0 ;
4972 PyObject
* obj1
= 0 ;
4973 PyObject
* obj2
= 0 ;
4975 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4981 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4983 arg3
= (int) SWIG_AsInt(obj2
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 (arg1
)->UpdateAttrRows(arg2
,arg3
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 Py_INCREF(Py_None
); resultobj
= Py_None
;
4999 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5006 PyObject
* obj2
= 0 ;
5008 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5014 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5016 arg3
= (int) SWIG_AsInt(obj2
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 (arg1
)->UpdateAttrCols(arg2
,arg3
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 Py_INCREF(Py_None
); resultobj
= Py_None
;
5032 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
5034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
5037 return Py_BuildValue((char *)"");
5039 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxPyGridCellAttrProvider
*result
;
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
5061 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5064 PyObject
*arg2
= (PyObject
*) 0 ;
5065 PyObject
*arg3
= (PyObject
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5067 PyObject
* obj1
= 0 ;
5068 PyObject
* obj2
= 0 ;
5070 (char *) "self",(char *) "self",(char *) "_class", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 Py_INCREF(Py_None
); resultobj
= Py_None
;
5092 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
;
5094 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5098 wxGridCellAttr
*result
;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5101 PyObject
* obj2
= 0 ;
5102 PyObject
* obj3
= 0 ;
5104 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5110 arg2
= (int) SWIG_AsInt(obj1
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5112 arg3
= (int) SWIG_AsInt(obj2
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5114 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= wxPyMake_wxGridCellAttr(result
);
5132 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5135 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5140 PyObject
* obj2
= 0 ;
5141 PyObject
* obj3
= 0 ;
5143 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5151 arg3
= (int) SWIG_AsInt(obj2
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5153 arg4
= (int) SWIG_AsInt(obj3
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 Py_INCREF(Py_None
); resultobj
= Py_None
;
5169 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5172 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5176 PyObject
* obj2
= 0 ;
5178 (char *) "self",(char *) "attr",(char *) "row", NULL
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5186 arg3
= (int) SWIG_AsInt(obj2
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 Py_INCREF(Py_None
); resultobj
= Py_None
;
5202 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5205 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5207 PyObject
* obj0
= 0 ;
5208 PyObject
* obj1
= 0 ;
5209 PyObject
* obj2
= 0 ;
5211 (char *) "self",(char *) "attr",(char *) "col", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5219 arg3
= (int) SWIG_AsInt(obj2
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 (arg1
)->base_SetColAttr(arg2
,arg3
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
5237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5238 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5240 return Py_BuildValue((char *)"");
5242 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5245 PyObject
*arg2
= (PyObject
*) 0 ;
5246 PyObject
* obj0
= 0 ;
5247 PyObject
* obj1
= 0 ;
5249 (char *) "self",(char *) "_self", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 wxGridTableBase__setOORInfo(arg1
,arg2
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 Py_INCREF(Py_None
); resultobj
= Py_None
;
5270 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5273 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5277 (char *) "self",(char *) "attrProvider", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
,
5284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 (arg1
)->SetAttrProvider(arg2
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 Py_INCREF(Py_None
); resultobj
= Py_None
;
5299 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
*resultobj
;
5301 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5302 wxGridCellAttrProvider
*result
;
5303 PyObject
* obj0
= 0 ;
5305 (char *) "self", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
5327 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5330 wxGrid
*arg2
= (wxGrid
*) 0 ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5334 (char *) "self",(char *) "grid", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
5341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 (arg1
)->SetView(arg2
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 Py_INCREF(Py_None
); resultobj
= Py_None
;
5356 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5360 PyObject
* obj0
= 0 ;
5362 (char *) "self", NULL
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5376 resultobj
= wxPyMake_wxObject(result
);
5384 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5390 (char *) "self", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (int)(arg1
)->GetNumberRows();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= SWIG_FromInt((int)result
);
5410 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5414 PyObject
* obj0
= 0 ;
5416 (char *) "self", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (int)(arg1
)->GetNumberCols();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_FromInt((int)result
);
5436 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 PyObject
* obj2
= 0 ;
5446 (char *) "self",(char *) "row",(char *) "col", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5452 arg2
= (int) SWIG_AsInt(obj1
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5454 arg3
= (int) SWIG_AsInt(obj2
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5470 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5478 PyObject
* obj2
= 0 ;
5480 (char *) "self",(char *) "row",(char *) "col", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5486 arg2
= (int) SWIG_AsInt(obj1
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5488 arg3
= (int) SWIG_AsInt(obj2
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (arg1
)->GetValue(arg2
,arg3
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5510 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5515 wxString
*arg4
= 0 ;
5516 bool temp4
= False
;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5519 PyObject
* obj2
= 0 ;
5520 PyObject
* obj3
= 0 ;
5522 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5528 arg2
= (int) SWIG_AsInt(obj1
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5530 arg3
= (int) SWIG_AsInt(obj2
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 arg4
= wxString_in_helper(obj3
);
5534 if (arg4
== NULL
) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 Py_INCREF(Py_None
); resultobj
= Py_None
;
5559 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5567 PyObject
* obj2
= 0 ;
5569 (char *) "self",(char *) "row",(char *) "col", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5575 arg2
= (int) SWIG_AsInt(obj1
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5577 arg3
= (int) SWIG_AsInt(obj2
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5599 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5604 wxString
*arg4
= 0 ;
5606 bool temp4
= False
;
5607 PyObject
* obj0
= 0 ;
5608 PyObject
* obj1
= 0 ;
5609 PyObject
* obj2
= 0 ;
5610 PyObject
* obj3
= 0 ;
5612 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5618 arg2
= (int) SWIG_AsInt(obj1
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5620 arg3
= (int) SWIG_AsInt(obj2
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 arg4
= wxString_in_helper(obj3
);
5624 if (arg4
== NULL
) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5649 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5654 wxString
*arg4
= 0 ;
5656 bool temp4
= False
;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5659 PyObject
* obj2
= 0 ;
5660 PyObject
* obj3
= 0 ;
5662 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5668 arg2
= (int) SWIG_AsInt(obj1
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5670 arg3
= (int) SWIG_AsInt(obj2
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 arg4
= wxString_in_helper(obj3
);
5674 if (arg4
== NULL
) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5699 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 PyObject
* obj2
= 0 ;
5709 (char *) "self",(char *) "row",(char *) "col", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5715 arg2
= (int) SWIG_AsInt(obj1
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5717 arg3
= (int) SWIG_AsInt(obj2
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= SWIG_FromLong((long)result
);
5733 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5741 PyObject
* obj2
= 0 ;
5743 (char *) "self",(char *) "row",(char *) "col", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 arg2
= (int) SWIG_AsInt(obj1
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5751 arg3
= (int) SWIG_AsInt(obj2
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= SWIG_FromDouble((double)result
);
5767 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5769 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 PyObject
* obj2
= 0 ;
5777 (char *) "self",(char *) "row",(char *) "col", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 arg2
= (int) SWIG_AsInt(obj1
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5785 arg3
= (int) SWIG_AsInt(obj2
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
;
5803 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5809 PyObject
* obj2
= 0 ;
5810 PyObject
* obj3
= 0 ;
5812 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 arg2
= (int) SWIG_AsInt(obj1
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5820 arg3
= (int) SWIG_AsInt(obj2
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5822 arg4
= (long) SWIG_AsLong(obj3
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 Py_INCREF(Py_None
); resultobj
= Py_None
;
5838 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 PyObject
* obj2
= 0 ;
5847 PyObject
* obj3
= 0 ;
5849 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5855 arg2
= (int) SWIG_AsInt(obj1
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5857 arg3
= (int) SWIG_AsInt(obj2
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5859 arg4
= (double) SWIG_AsDouble(obj3
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 PyObject
* obj2
= 0 ;
5884 PyObject
* obj3
= 0 ;
5886 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 arg2
= (int) SWIG_AsInt(obj1
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5894 arg3
= (int) SWIG_AsInt(obj2
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5896 arg4
= (bool) SWIG_AsBool(obj3
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 Py_INCREF(Py_None
); resultobj
= Py_None
;
5912 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5915 PyObject
* obj0
= 0 ;
5917 (char *) "self", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5937 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5940 size_t arg2
= (size_t) 0 ;
5941 size_t arg3
= (size_t) 1 ;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5945 PyObject
* obj2
= 0 ;
5947 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5954 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5958 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5975 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5978 size_t arg2
= (size_t) 1 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5983 (char *) "self",(char *) "numRows", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (bool)(arg1
)->AppendRows(arg2
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6007 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6010 size_t arg2
= (size_t) 0 ;
6011 size_t arg3
= (size_t) 1 ;
6013 PyObject
* obj0
= 0 ;
6014 PyObject
* obj1
= 0 ;
6015 PyObject
* obj2
= 0 ;
6017 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6024 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6045 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6047 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6048 size_t arg2
= (size_t) 0 ;
6049 size_t arg3
= (size_t) 1 ;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj1
= 0 ;
6053 PyObject
* obj2
= 0 ;
6055 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6062 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6086 size_t arg2
= (size_t) 1 ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6091 (char *) "self",(char *) "numCols", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (bool)(arg1
)->AppendCols(arg2
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6115 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6118 size_t arg2
= (size_t) 0 ;
6119 size_t arg3
= (size_t) 1 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6123 PyObject
* obj2
= 0 ;
6125 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6132 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6136 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6153 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6158 PyObject
* obj0
= 0 ;
6159 PyObject
* obj1
= 0 ;
6161 (char *) "self",(char *) "row", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 arg2
= (int) SWIG_AsInt(obj1
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (arg1
)->GetRowLabelValue(arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6189 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
;
6191 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6197 (char *) "self",(char *) "col", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6203 arg2
= (int) SWIG_AsInt(obj1
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (arg1
)->GetColLabelValue(arg2
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6225 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6229 wxString
*arg3
= 0 ;
6230 bool temp3
= False
;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6233 PyObject
* obj2
= 0 ;
6235 (char *) "self",(char *) "row",(char *) "value", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6241 arg2
= (int) SWIG_AsInt(obj1
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 arg3
= wxString_in_helper(obj2
);
6245 if (arg3
== NULL
) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 Py_INCREF(Py_None
); resultobj
= Py_None
;
6270 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6274 wxString
*arg3
= 0 ;
6275 bool temp3
= False
;
6276 PyObject
* obj0
= 0 ;
6277 PyObject
* obj1
= 0 ;
6278 PyObject
* obj2
= 0 ;
6280 (char *) "self",(char *) "col",(char *) "value", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 arg2
= (int) SWIG_AsInt(obj1
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 arg3
= wxString_in_helper(obj2
);
6290 if (arg3
== NULL
) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 Py_INCREF(Py_None
); resultobj
= Py_None
;
6315 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6321 (char *) "self", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (bool)(arg1
)->CanHaveAttributes();
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6341 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6347 wxGridCellAttr
*result
;
6348 PyObject
* obj0
= 0 ;
6349 PyObject
* obj1
= 0 ;
6350 PyObject
* obj2
= 0 ;
6351 PyObject
* obj3
= 0 ;
6353 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6359 arg2
= (int) SWIG_AsInt(obj1
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6361 arg3
= (int) SWIG_AsInt(obj2
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6363 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= wxPyMake_wxGridCellAttr(result
);
6381 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6384 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 PyObject
* obj3
= 0 ;
6392 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 arg3
= (int) SWIG_AsInt(obj2
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6402 arg4
= (int) SWIG_AsInt(obj3
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 Py_INCREF(Py_None
); resultobj
= Py_None
;
6418 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6420 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6421 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6423 PyObject
* obj0
= 0 ;
6424 PyObject
* obj1
= 0 ;
6425 PyObject
* obj2
= 0 ;
6427 (char *) "self",(char *) "attr",(char *) "row", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 arg3
= (int) SWIG_AsInt(obj2
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 (arg1
)->SetRowAttr(arg2
,arg3
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 Py_INCREF(Py_None
); resultobj
= Py_None
;
6451 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6454 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6457 PyObject
* obj1
= 0 ;
6458 PyObject
* obj2
= 0 ;
6460 (char *) "self",(char *) "attr",(char *) "col", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6468 arg3
= (int) SWIG_AsInt(obj2
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 (arg1
)->SetColAttr(arg2
,arg3
);
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 Py_INCREF(Py_None
); resultobj
= Py_None
;
6484 static PyObject
* GridTableBase_swigregister(PyObject
*, PyObject
*args
) {
6486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6487 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6489 return Py_BuildValue((char *)"");
6491 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxPyGridTableBase
*result
;
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
6513 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6516 PyObject
*arg2
= (PyObject
*) 0 ;
6517 PyObject
*arg3
= (PyObject
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6519 PyObject
* obj1
= 0 ;
6520 PyObject
* obj2
= 0 ;
6522 (char *) "self",(char *) "self",(char *) "_class", NULL
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 Py_INCREF(Py_None
); resultobj
= Py_None
;
6544 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6549 (char *) "self", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 wxPyGridTableBase_Destroy(arg1
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 Py_INCREF(Py_None
); resultobj
= Py_None
;
6569 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 PyObject
* obj2
= 0 ;
6579 (char *) "self",(char *) "row",(char *) "col", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6585 arg2
= (int) SWIG_AsInt(obj1
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6587 arg3
= (int) SWIG_AsInt(obj2
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6609 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6614 wxString
*arg4
= 0 ;
6616 bool temp4
= False
;
6617 PyObject
* obj0
= 0 ;
6618 PyObject
* obj1
= 0 ;
6619 PyObject
* obj2
= 0 ;
6620 PyObject
* obj3
= 0 ;
6622 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6628 arg2
= (int) SWIG_AsInt(obj1
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6630 arg3
= (int) SWIG_AsInt(obj2
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 arg4
= wxString_in_helper(obj3
);
6634 if (arg4
== NULL
) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6659 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6664 wxString
*arg4
= 0 ;
6666 bool temp4
= False
;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6669 PyObject
* obj2
= 0 ;
6670 PyObject
* obj3
= 0 ;
6672 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 arg2
= (int) SWIG_AsInt(obj1
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6680 arg3
= (int) SWIG_AsInt(obj2
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6683 arg4
= wxString_in_helper(obj3
);
6684 if (arg4
== NULL
) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6709 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6711 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6712 PyObject
* obj0
= 0 ;
6714 (char *) "self", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 (arg1
)->base_Clear();
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 Py_INCREF(Py_None
); resultobj
= Py_None
;
6734 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6737 size_t arg2
= (size_t) 0 ;
6738 size_t arg3
= (size_t) 1 ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6742 PyObject
* obj2
= 0 ;
6744 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6751 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6755 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6772 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6775 size_t arg2
= (size_t) 1 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6780 (char *) "self",(char *) "numRows", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6787 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6804 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6807 size_t arg2
= (size_t) 0 ;
6808 size_t arg3
= (size_t) 1 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6812 PyObject
* obj2
= 0 ;
6814 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6821 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6842 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6845 size_t arg2
= (size_t) 0 ;
6846 size_t arg3
= (size_t) 1 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6850 PyObject
* obj2
= 0 ;
6852 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6859 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6863 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6880 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6883 size_t arg2
= (size_t) 1 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "numCols", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6895 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6912 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6915 size_t arg2
= (size_t) 0 ;
6916 size_t arg3
= (size_t) 1 ;
6918 PyObject
* obj0
= 0 ;
6919 PyObject
* obj1
= 0 ;
6920 PyObject
* obj2
= 0 ;
6922 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6929 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6933 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6950 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6955 PyObject
* obj0
= 0 ;
6956 PyObject
* obj1
= 0 ;
6958 (char *) "self",(char *) "row", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6964 arg2
= (int) SWIG_AsInt(obj1
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (arg1
)->base_GetRowLabelValue(arg2
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6986 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6994 (char *) "self",(char *) "col", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7000 arg2
= (int) SWIG_AsInt(obj1
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (arg1
)->base_GetColLabelValue(arg2
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7022 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7026 wxString
*arg3
= 0 ;
7027 bool temp3
= False
;
7028 PyObject
* obj0
= 0 ;
7029 PyObject
* obj1
= 0 ;
7030 PyObject
* obj2
= 0 ;
7032 (char *) "self",(char *) "row",(char *) "value", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7038 arg2
= (int) SWIG_AsInt(obj1
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 arg3
= wxString_in_helper(obj2
);
7042 if (arg3
== NULL
) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7071 wxString
*arg3
= 0 ;
7072 bool temp3
= False
;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 PyObject
* obj2
= 0 ;
7077 (char *) "self",(char *) "col",(char *) "value", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 arg2
= (int) SWIG_AsInt(obj1
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 arg3
= wxString_in_helper(obj2
);
7087 if (arg3
== NULL
) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7118 (char *) "self", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (bool)(arg1
)->base_CanHaveAttributes();
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7138 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7144 wxGridCellAttr
*result
;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 PyObject
* obj2
= 0 ;
7148 PyObject
* obj3
= 0 ;
7150 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 arg2
= (int) SWIG_AsInt(obj1
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7158 arg3
= (int) SWIG_AsInt(obj2
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7160 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= wxPyMake_wxGridCellAttr(result
);
7178 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7181 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7186 PyObject
* obj2
= 0 ;
7187 PyObject
* obj3
= 0 ;
7189 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7197 arg3
= (int) SWIG_AsInt(obj2
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7199 arg4
= (int) SWIG_AsInt(obj3
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 Py_INCREF(Py_None
); resultobj
= Py_None
;
7215 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7218 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7222 PyObject
* obj2
= 0 ;
7224 (char *) "self",(char *) "attr",(char *) "row", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 arg3
= (int) SWIG_AsInt(obj2
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7251 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7254 PyObject
* obj1
= 0 ;
7255 PyObject
* obj2
= 0 ;
7257 (char *) "self",(char *) "attr",(char *) "col", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7265 arg3
= (int) SWIG_AsInt(obj2
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 (arg1
)->base_SetColAttr(arg2
,arg3
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 Py_INCREF(Py_None
); resultobj
= Py_None
;
7281 static PyObject
* PyGridTableBase_swigregister(PyObject
*, PyObject
*args
) {
7283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7284 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7286 return Py_BuildValue((char *)"");
7288 static PyObject
*_wrap_new_GridStringTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 int arg1
= (int) 0 ;
7291 int arg2
= (int) 0 ;
7292 wxGridStringTable
*result
;
7293 PyObject
* obj0
= 0 ;
7294 PyObject
* obj1
= 0 ;
7296 (char *) "numRows",(char *) "numCols", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7301 arg1
= (int) SWIG_AsInt(obj0
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7305 arg2
= (int) SWIG_AsInt(obj1
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
7322 static PyObject
* GridStringTable_swigregister(PyObject
*, PyObject
*args
) {
7324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7325 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7327 return Py_BuildValue((char *)"");
7329 static PyObject
*_wrap_new_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7333 int arg3
= (int) -1 ;
7334 int arg4
= (int) -1 ;
7335 wxGridTableMessage
*result
;
7336 PyObject
* obj0
= 0 ;
7337 PyObject
* obj1
= 0 ;
7338 PyObject
* obj2
= 0 ;
7339 PyObject
* obj3
= 0 ;
7341 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
7346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7347 arg2
= (int) SWIG_AsInt(obj1
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 arg3
= (int) SWIG_AsInt(obj2
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7354 arg4
= (int) SWIG_AsInt(obj3
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
7371 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 Py_INCREF(Py_None
); resultobj
= Py_None
;
7396 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7399 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7401 PyObject
* obj1
= 0 ;
7403 (char *) "self",(char *) "table", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->SetTableObject(arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7428 wxGridTableBase
*result
;
7429 PyObject
* obj0
= 0 ;
7431 (char *) "self", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= wxPyMake_wxGridTableBase(result
);
7453 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7460 (char *) "self",(char *) "id", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7466 arg2
= (int) SWIG_AsInt(obj1
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 (arg1
)->SetId(arg2
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 Py_INCREF(Py_None
); resultobj
= Py_None
;
7482 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7486 PyObject
* obj0
= 0 ;
7488 (char *) "self", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (int)(arg1
)->GetId();
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= SWIG_FromInt((int)result
);
7508 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7512 PyObject
* obj0
= 0 ;
7513 PyObject
* obj1
= 0 ;
7515 (char *) "self",(char *) "comInt1", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7521 arg2
= (int) SWIG_AsInt(obj1
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 (arg1
)->SetCommandInt(arg2
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7543 (char *) "self", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (int)(arg1
)->GetCommandInt();
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 resultobj
= SWIG_FromInt((int)result
);
7563 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7567 PyObject
* obj0
= 0 ;
7568 PyObject
* obj1
= 0 ;
7570 (char *) "self",(char *) "comInt2", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7576 arg2
= (int) SWIG_AsInt(obj1
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 (arg1
)->SetCommandInt2(arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 Py_INCREF(Py_None
); resultobj
= Py_None
;
7592 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7598 (char *) "self", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (int)(arg1
)->GetCommandInt2();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= SWIG_FromInt((int)result
);
7618 static PyObject
* GridTableMessage_swigregister(PyObject
*, PyObject
*args
) {
7620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7621 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7623 return Py_BuildValue((char *)"");
7625 static PyObject
*_wrap_new_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 int arg1
= (int) -1 ;
7628 int arg2
= (int) -1 ;
7629 wxGridCellCoords
*result
;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7633 (char *) "r",(char *) "c", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7638 arg1
= (int) SWIG_AsInt(obj0
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 arg2
= (int) SWIG_AsInt(obj1
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
7659 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7664 (char *) "self", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 Py_INCREF(Py_None
); resultobj
= Py_None
;
7684 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_FromInt((int)result
);
7710 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "n", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7723 arg2
= (int) SWIG_AsInt(obj1
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 (arg1
)->SetRow(arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 Py_INCREF(Py_None
); resultobj
= Py_None
;
7739 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_FromInt((int)result
);
7765 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7772 (char *) "self",(char *) "n", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 arg2
= (int) SWIG_AsInt(obj1
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 (arg1
)->SetCol(arg2
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 Py_INCREF(Py_None
); resultobj
= Py_None
;
7794 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 PyObject
* obj2
= 0 ;
7803 (char *) "self",(char *) "row",(char *) "col", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 arg2
= (int) SWIG_AsInt(obj1
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7811 arg3
= (int) SWIG_AsInt(obj2
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 (arg1
)->Set(arg2
,arg3
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 Py_INCREF(Py_None
); resultobj
= Py_None
;
7827 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7830 wxGridCellCoords
*arg2
= 0 ;
7832 wxGridCellCoords temp2
;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7836 (char *) "self",(char *) "other", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7844 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7860 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7863 wxGridCellCoords
*arg2
= 0 ;
7865 wxGridCellCoords temp2
;
7866 PyObject
* obj0
= 0 ;
7867 PyObject
* obj1
= 0 ;
7869 (char *) "self",(char *) "other", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7877 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7893 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7899 (char *) "self", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7919 static PyObject
* GridCellCoords_swigregister(PyObject
*, PyObject
*args
) {
7921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7922 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7924 return Py_BuildValue((char *)"");
7926 static PyObject
*_wrap_new_Grid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxWindow
*arg1
= (wxWindow
*) 0 ;
7930 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7931 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7932 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7933 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7934 long arg5
= (long) wxWANTS_CHARS
;
7935 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7936 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7940 bool temp6
= False
;
7941 PyObject
* obj0
= 0 ;
7942 PyObject
* obj1
= 0 ;
7943 PyObject
* obj2
= 0 ;
7944 PyObject
* obj3
= 0 ;
7945 PyObject
* obj4
= 0 ;
7946 PyObject
* obj5
= 0 ;
7948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 arg2
= (int) SWIG_AsInt(obj1
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7959 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7965 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7969 arg5
= (long) SWIG_AsLong(obj4
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7974 arg6
= wxString_in_helper(obj5
);
7975 if (arg6
== NULL
) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= wxPyMake_wxObject(result
);
8003 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 wxGrid
*arg1
= (wxGrid
*) 0 ;
8008 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8012 PyObject
* obj2
= 0 ;
8013 PyObject
* obj3
= 0 ;
8015 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8021 arg2
= (int) SWIG_AsInt(obj1
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8023 arg3
= (int) SWIG_AsInt(obj2
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8043 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxGrid
*arg1
= (wxGrid
*) 0 ;
8046 WXGRIDSELECTIONMODES arg2
;
8047 PyObject
* obj0
= 0 ;
8048 PyObject
* obj1
= 0 ;
8050 (char *) "self",(char *) "selmode", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8056 arg2
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj1
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 (arg1
)->SetSelectionMode(arg2
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxGrid
*arg1
= (wxGrid
*) 0 ;
8075 WXGRIDSELECTIONMODES result
;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "self", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_FromInt((int)result
);
8098 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxGrid
*arg1
= (wxGrid
*) 0 ;
8102 PyObject
* obj0
= 0 ;
8104 (char *) "self", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (int)(arg1
)->GetNumberRows();
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= SWIG_FromInt((int)result
);
8124 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxGrid
*arg1
= (wxGrid
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8130 (char *) "self", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 result
= (int)(arg1
)->GetNumberCols();
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= SWIG_FromInt((int)result
);
8150 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxGrid
*arg1
= (wxGrid
*) 0 ;
8153 wxGridTableMessage
*arg2
= 0 ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8158 (char *) "self","arg2", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
,
8165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8168 PyErr_SetString(PyExc_TypeError
,"null reference");
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8185 static PyObject
*_wrap_Grid_GetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxGrid
*arg1
= (wxGrid
*) 0 ;
8188 wxGridTableBase
*result
;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "self", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= wxPyMake_wxGridTableBase(result
);
8213 static PyObject
*_wrap_Grid_SetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxGrid
*arg1
= (wxGrid
*) 0 ;
8216 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8217 bool arg3
= (bool) False
;
8218 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8222 PyObject
* obj2
= 0 ;
8223 PyObject
* obj3
= 0 ;
8225 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
8232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8234 arg3
= (bool) SWIG_AsBool(obj2
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8238 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8255 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxGrid
*arg1
= (wxGrid
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "self", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 (arg1
)->ClearGrid();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 Py_INCREF(Py_None
); resultobj
= Py_None
;
8280 static PyObject
*_wrap_Grid_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxGrid
*arg1
= (wxGrid
*) 0 ;
8283 int arg2
= (int) 0 ;
8284 int arg3
= (int) 1 ;
8285 bool arg4
= (bool) True
;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8289 PyObject
* obj2
= 0 ;
8290 PyObject
* obj3
= 0 ;
8292 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8299 arg2
= (int) SWIG_AsInt(obj1
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8303 arg3
= (int) SWIG_AsInt(obj2
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8307 arg4
= (bool) SWIG_AsBool(obj3
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8324 static PyObject
*_wrap_Grid_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxGrid
*arg1
= (wxGrid
*) 0 ;
8327 int arg2
= (int) 1 ;
8328 bool arg3
= (bool) True
;
8330 PyObject
* obj0
= 0 ;
8331 PyObject
* obj1
= 0 ;
8332 PyObject
* obj2
= 0 ;
8334 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8341 arg2
= (int) SWIG_AsInt(obj1
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8345 arg3
= (bool) SWIG_AsBool(obj2
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8362 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxGrid
*arg1
= (wxGrid
*) 0 ;
8365 int arg2
= (int) 0 ;
8366 int arg3
= (int) 1 ;
8367 bool arg4
= (bool) True
;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8371 PyObject
* obj2
= 0 ;
8372 PyObject
* obj3
= 0 ;
8374 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 arg2
= (int) SWIG_AsInt(obj1
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8385 arg3
= (int) SWIG_AsInt(obj2
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8389 arg4
= (bool) SWIG_AsBool(obj3
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8406 static PyObject
*_wrap_Grid_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxGrid
*arg1
= (wxGrid
*) 0 ;
8409 int arg2
= (int) 0 ;
8410 int arg3
= (int) 1 ;
8411 bool arg4
= (bool) True
;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8415 PyObject
* obj2
= 0 ;
8416 PyObject
* obj3
= 0 ;
8418 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 arg2
= (int) SWIG_AsInt(obj1
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8429 arg3
= (int) SWIG_AsInt(obj2
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8433 arg4
= (bool) SWIG_AsBool(obj3
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8450 static PyObject
*_wrap_Grid_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxGrid
*arg1
= (wxGrid
*) 0 ;
8453 int arg2
= (int) 1 ;
8454 bool arg3
= (bool) True
;
8456 PyObject
* obj0
= 0 ;
8457 PyObject
* obj1
= 0 ;
8458 PyObject
* obj2
= 0 ;
8460 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 arg2
= (int) SWIG_AsInt(obj1
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8471 arg3
= (bool) SWIG_AsBool(obj2
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8488 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxGrid
*arg1
= (wxGrid
*) 0 ;
8491 int arg2
= (int) 0 ;
8492 int arg3
= (int) 1 ;
8493 bool arg4
= (bool) True
;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8497 PyObject
* obj2
= 0 ;
8498 PyObject
* obj3
= 0 ;
8500 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8507 arg2
= (int) SWIG_AsInt(obj1
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 arg3
= (int) SWIG_AsInt(obj2
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 arg4
= (bool) SWIG_AsBool(obj3
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8532 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxGrid
*arg1
= (wxGrid
*) 0 ;
8536 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8538 PyObject
* obj1
= 0 ;
8539 PyObject
* obj2
= 0 ;
8541 (char *) "self",(char *) "dc",(char *) "attr", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8551 PyErr_SetString(PyExc_TypeError
,"null reference");
8554 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
8555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 Py_INCREF(Py_None
); resultobj
= Py_None
;
8570 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxGrid
*arg1
= (wxGrid
*) 0 ;
8574 wxString
*arg3
= 0 ;
8576 int arg5
= (int) wxLEFT
;
8577 int arg6
= (int) wxTOP
;
8578 int arg7
= (int) wxHORIZONTAL
;
8579 bool temp3
= False
;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj1
= 0 ;
8583 PyObject
* obj2
= 0 ;
8584 PyObject
* obj3
= 0 ;
8585 PyObject
* obj4
= 0 ;
8586 PyObject
* obj5
= 0 ;
8587 PyObject
* obj6
= 0 ;
8589 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8599 PyErr_SetString(PyExc_TypeError
,"null reference");
8603 arg3
= wxString_in_helper(obj2
);
8604 if (arg3
== NULL
) SWIG_fail
;
8609 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8612 arg5
= (int) SWIG_AsInt(obj4
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8616 arg6
= (int) SWIG_AsInt(obj5
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 arg7
= (int) SWIG_AsInt(obj6
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 Py_INCREF(Py_None
); resultobj
= Py_None
;
8645 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxGrid
*arg1
= (wxGrid
*) 0 ;
8649 wxArrayString
*arg3
= 0 ;
8650 long *arg4
= (long *) 0 ;
8651 long *arg5
= (long *) 0 ;
8652 bool temp3
= False
;
8655 PyObject
* obj0
= 0 ;
8656 PyObject
* obj1
= 0 ;
8657 PyObject
* obj2
= 0 ;
8659 (char *) "self",(char *) "dc",(char *) "lines", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8671 PyErr_SetString(PyExc_TypeError
,"null reference");
8675 if (! PySequence_Check(obj2
)) {
8676 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8679 arg3
= new wxArrayString
;
8681 int i
, len
=PySequence_Length(obj2
);
8682 for (i
=0; i
<len
; i
++) {
8683 PyObject
* item
= PySequence_GetItem(obj2
, i
);
8685 PyObject
* str
= PyObject_Unicode(item
);
8687 PyObject
* str
= PyObject_Str(item
);
8689 arg3
->Add(Py2wxString(str
));
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 Py_INCREF(Py_None
); resultobj
= Py_None
;
8703 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8704 resultobj
= t_output_helper(resultobj
,o
);
8707 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8708 resultobj
= t_output_helper(resultobj
,o
);
8711 if (temp3
) delete arg3
;
8716 if (temp3
) delete arg3
;
8722 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxGrid
*arg1
= (wxGrid
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8727 (char *) "self", NULL
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 (arg1
)->BeginBatch();
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 Py_INCREF(Py_None
); resultobj
= Py_None
;
8747 static PyObject
*_wrap_Grid_EndBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
;
8749 wxGrid
*arg1
= (wxGrid
*) 0 ;
8750 PyObject
* obj0
= 0 ;
8752 (char *) "self", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
8756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 Py_INCREF(Py_None
); resultobj
= Py_None
;
8772 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 wxGrid
*arg1
= (wxGrid
*) 0 ;
8776 PyObject
* obj0
= 0 ;
8778 (char *) "self", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
8782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (int)(arg1
)->GetBatchCount();
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= SWIG_FromInt((int)result
);
8798 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxGrid
*arg1
= (wxGrid
*) 0 ;
8801 PyObject
* obj0
= 0 ;
8803 (char *) "self", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
8807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->ForceRefresh();
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
*_wrap_Grid_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxGrid
*arg1
= (wxGrid
*) 0 ;
8826 bool arg2
= (bool) True
;
8827 wxRect
*arg3
= (wxRect
*) NULL
;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 PyObject
* obj2
= 0 ;
8832 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 arg2
= (bool) SWIG_AsBool(obj1
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8843 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 Py_INCREF(Py_None
); resultobj
= Py_None
;
8860 static PyObject
*_wrap_Grid_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxGrid
*arg1
= (wxGrid
*) 0 ;
8864 PyObject
* obj0
= 0 ;
8866 (char *) "self", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (bool)(arg1
)->IsEditable();
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8886 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxGrid
*arg1
= (wxGrid
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8893 (char *) "self",(char *) "edit", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 arg2
= (bool) SWIG_AsBool(obj1
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->EnableEditing(arg2
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxGrid
*arg1
= (wxGrid
*) 0 ;
8918 bool arg2
= (bool) True
;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8922 (char *) "self",(char *) "enable", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 arg2
= (bool) SWIG_AsBool(obj1
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 (arg1
)->EnableCellEditControl(arg2
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 Py_INCREF(Py_None
); resultobj
= Py_None
;
8946 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxGrid
*arg1
= (wxGrid
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8951 (char *) "self", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 (arg1
)->DisableCellEditControl();
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxGrid
*arg1
= (wxGrid
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8977 (char *) "self", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8997 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxGrid
*arg1
= (wxGrid
*) 0 ;
9001 PyObject
* obj0
= 0 ;
9003 (char *) "self", NULL
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
9007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9023 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxGrid
*arg1
= (wxGrid
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9029 (char *) "self", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
9033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9049 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxGrid
*arg1
= (wxGrid
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9055 (char *) "self", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9075 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxGrid
*arg1
= (wxGrid
*) 0 ;
9078 PyObject
* obj0
= 0 ;
9080 (char *) "self", NULL
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 (arg1
)->ShowCellEditControl();
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 Py_INCREF(Py_None
); resultobj
= Py_None
;
9100 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxGrid
*arg1
= (wxGrid
*) 0 ;
9103 PyObject
* obj0
= 0 ;
9105 (char *) "self", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 (arg1
)->HideCellEditControl();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxGrid
*arg1
= (wxGrid
*) 0 ;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "self", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 (arg1
)->SaveEditControlValue();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 Py_INCREF(Py_None
); resultobj
= Py_None
;
9150 static PyObject
*_wrap_Grid_XYToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxGrid
*arg1
= (wxGrid
*) 0 ;
9155 wxGridCellCoords result
;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9158 PyObject
* obj2
= 0 ;
9160 (char *) "self",(char *) "x",(char *) "y", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9166 arg2
= (int) SWIG_AsInt(obj1
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9168 arg3
= (int) SWIG_AsInt(obj2
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9178 wxGridCellCoords
* resultptr
;
9179 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
9188 static PyObject
*_wrap_Grid_YToRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxGrid
*arg1
= (wxGrid
*) 0 ;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9196 (char *) "self",(char *) "y", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9202 arg2
= (int) SWIG_AsInt(obj1
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (int)(arg1
)->YToRow(arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_FromInt((int)result
);
9218 static PyObject
*_wrap_Grid_XToCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxGrid
*arg1
= (wxGrid
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9226 (char *) "self",(char *) "x", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 arg2
= (int) SWIG_AsInt(obj1
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (int)(arg1
)->XToCol(arg2
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_FromInt((int)result
);
9248 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 wxGrid
*arg1
= (wxGrid
*) 0 ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9256 (char *) "self",(char *) "y", NULL
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9262 arg2
= (int) SWIG_AsInt(obj1
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_FromInt((int)result
);
9278 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxGrid
*arg1
= (wxGrid
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9286 (char *) "self",(char *) "x", NULL
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9292 arg2
= (int) SWIG_AsInt(obj1
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= SWIG_FromInt((int)result
);
9308 static PyObject
*_wrap_Grid_CellToRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxGrid
*arg1
= (wxGrid
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9316 PyObject
* obj2
= 0 ;
9318 (char *) "self",(char *) "row",(char *) "col", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9324 arg2
= (int) SWIG_AsInt(obj1
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9326 arg3
= (int) SWIG_AsInt(obj2
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (arg1
)->CellToRect(arg2
,arg3
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9337 resultptr
= new wxRect((wxRect
&) result
);
9338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9346 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxGrid
*arg1
= (wxGrid
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (int)(arg1
)->GetGridCursorRow();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_FromInt((int)result
);
9372 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxGrid
*arg1
= (wxGrid
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9378 (char *) "self", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (int)(arg1
)->GetGridCursorCol();
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_FromInt((int)result
);
9398 static PyObject
*_wrap_Grid_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxGrid
*arg1
= (wxGrid
*) 0 ;
9403 bool arg4
= (bool) True
;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9407 PyObject
* obj2
= 0 ;
9408 PyObject
* obj3
= 0 ;
9410 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 arg2
= (int) SWIG_AsInt(obj1
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9418 arg3
= (int) SWIG_AsInt(obj2
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 arg4
= (bool) SWIG_AsBool(obj3
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9438 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxGrid
*arg1
= (wxGrid
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9445 PyObject
* obj2
= 0 ;
9447 (char *) "self",(char *) "row",(char *) "col", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9453 arg2
= (int) SWIG_AsInt(obj1
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9455 arg3
= (int) SWIG_AsInt(obj2
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 (arg1
)->MakeCellVisible(arg2
,arg3
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 Py_INCREF(Py_None
); resultobj
= Py_None
;
9471 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxGrid
*arg1
= (wxGrid
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9478 PyObject
* obj2
= 0 ;
9480 (char *) "self",(char *) "row",(char *) "col", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 arg2
= (int) SWIG_AsInt(obj1
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9488 arg3
= (int) SWIG_AsInt(obj2
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 (arg1
)->SetGridCursor(arg2
,arg3
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 Py_INCREF(Py_None
); resultobj
= Py_None
;
9504 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxGrid
*arg1
= (wxGrid
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9512 (char *) "self",(char *) "expandSelection", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9518 arg2
= (bool) SWIG_AsBool(obj1
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9534 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxGrid
*arg1
= (wxGrid
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9542 (char *) "self",(char *) "expandSelection", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 arg2
= (bool) SWIG_AsBool(obj1
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9564 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxGrid
*arg1
= (wxGrid
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9572 (char *) "self",(char *) "expandSelection", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 arg2
= (bool) SWIG_AsBool(obj1
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxGrid
*arg1
= (wxGrid
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9602 (char *) "self",(char *) "expandSelection", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg2
= (bool) SWIG_AsBool(obj1
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9624 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxGrid
*arg1
= (wxGrid
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (bool)(arg1
)->MovePageDown();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9650 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxGrid
*arg1
= (wxGrid
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9656 (char *) "self", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (bool)(arg1
)->MovePageUp();
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9676 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
;
9678 wxGrid
*arg1
= (wxGrid
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9684 (char *) "self",(char *) "expandSelection", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9690 arg2
= (bool) SWIG_AsBool(obj1
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9706 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxGrid
*arg1
= (wxGrid
*) 0 ;
9711 PyObject
* obj0
= 0 ;
9712 PyObject
* obj1
= 0 ;
9714 (char *) "self",(char *) "expandSelection", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9720 arg2
= (bool) SWIG_AsBool(obj1
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9736 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxGrid
*arg1
= (wxGrid
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9744 (char *) "self",(char *) "expandSelection", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 arg2
= (bool) SWIG_AsBool(obj1
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9766 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxGrid
*arg1
= (wxGrid
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9774 (char *) "self",(char *) "expandSelection", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9780 arg2
= (bool) SWIG_AsBool(obj1
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9796 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxGrid
*arg1
= (wxGrid
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
9806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (int)(arg1
)->GetDefaultRowLabelSize();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_FromInt((int)result
);
9822 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxGrid
*arg1
= (wxGrid
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "self", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
9832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)(arg1
)->GetRowLabelSize();
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_FromInt((int)result
);
9848 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxGrid
*arg1
= (wxGrid
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (int)(arg1
)->GetDefaultColLabelSize();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_FromInt((int)result
);
9874 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxGrid
*arg1
= (wxGrid
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9880 (char *) "self", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (int)(arg1
)->GetColLabelSize();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= SWIG_FromInt((int)result
);
9900 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxGrid
*arg1
= (wxGrid
*) 0 ;
9904 PyObject
* obj0
= 0 ;
9906 (char *) "self", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
9910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (arg1
)->GetLabelBackgroundColour();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 wxColour
* resultptr
;
9921 resultptr
= new wxColour((wxColour
&) result
);
9922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
9930 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxGrid
*arg1
= (wxGrid
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9936 (char *) "self", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (arg1
)->GetLabelTextColour();
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9950 wxColour
* resultptr
;
9951 resultptr
= new wxColour((wxColour
&) result
);
9952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
9960 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxGrid
*arg1
= (wxGrid
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9966 (char *) "self", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 result
= (arg1
)->GetLabelFont();
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9981 resultptr
= new wxFont((wxFont
&) result
);
9982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9990 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxGrid
*arg1
= (wxGrid
*) 0 ;
9993 int *arg2
= (int *) 0 ;
9994 int *arg3
= (int *) 0 ;
9997 PyObject
* obj0
= 0 ;
9999 (char *) "self", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 Py_INCREF(Py_None
); resultobj
= Py_None
;
10016 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10017 resultobj
= t_output_helper(resultobj
,o
);
10020 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10021 resultobj
= t_output_helper(resultobj
,o
);
10029 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxGrid
*arg1
= (wxGrid
*) 0 ;
10032 int *arg2
= (int *) 0 ;
10033 int *arg3
= (int *) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 Py_INCREF(Py_None
); resultobj
= Py_None
;
10055 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10056 resultobj
= t_output_helper(resultobj
,o
);
10059 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10060 resultobj
= t_output_helper(resultobj
,o
);
10068 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxGrid
*arg1
= (wxGrid
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (int)(arg1
)->GetColLabelTextOrientation();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_FromInt((int)result
);
10094 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxGrid
*arg1
= (wxGrid
*) 0 ;
10099 PyObject
* obj0
= 0 ;
10100 PyObject
* obj1
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "self",(char *) "row", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10108 arg2
= (int) SWIG_AsInt(obj1
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (arg1
)->GetRowLabelValue(arg2
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10130 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxGrid
*arg1
= (wxGrid
*) 0 ;
10135 PyObject
* obj0
= 0 ;
10136 PyObject
* obj1
= 0 ;
10137 char *kwnames
[] = {
10138 (char *) "self",(char *) "col", NULL
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10144 arg2
= (int) SWIG_AsInt(obj1
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (arg1
)->GetColLabelValue(arg2
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10166 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxGrid
*arg1
= (wxGrid
*) 0 ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (arg1
)->GetGridLineColour();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10186 wxColour
* resultptr
;
10187 resultptr
= new wxColour((wxColour
&) result
);
10188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10196 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxGrid
*arg1
= (wxGrid
*) 0 ;
10200 PyObject
* obj0
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "self", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (arg1
)->GetCellHighlightColour();
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10216 wxColour
* resultptr
;
10217 resultptr
= new wxColour((wxColour
&) result
);
10218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10226 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxGrid
*arg1
= (wxGrid
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= SWIG_FromInt((int)result
);
10252 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxGrid
*arg1
= (wxGrid
*) 0 ;
10256 PyObject
* obj0
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_FromInt((int)result
);
10278 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxGrid
*arg1
= (wxGrid
*) 0 ;
10282 PyObject
* obj0
= 0 ;
10283 PyObject
* obj1
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self",(char *) "width", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10291 arg2
= (int) SWIG_AsInt(obj1
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 (arg1
)->SetRowLabelSize(arg2
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 Py_INCREF(Py_None
); resultobj
= Py_None
;
10307 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxGrid
*arg1
= (wxGrid
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self",(char *) "height", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 arg2
= (int) SWIG_AsInt(obj1
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 (arg1
)->SetColLabelSize(arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 Py_INCREF(Py_None
); resultobj
= Py_None
;
10336 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxGrid
*arg1
= (wxGrid
*) 0 ;
10339 wxColour
*arg2
= 0 ;
10341 PyObject
* obj0
= 0 ;
10342 PyObject
* obj1
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self","arg2", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 Py_INCREF(Py_None
); resultobj
= Py_None
;
10368 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxGrid
*arg1
= (wxGrid
*) 0 ;
10371 wxColour
*arg2
= 0 ;
10373 PyObject
* obj0
= 0 ;
10374 PyObject
* obj1
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self","arg2", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10384 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxGrid
*arg1
= (wxGrid
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 PyObject
* obj1
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self","arg2", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10416 if (arg2
== NULL
) {
10417 PyErr_SetString(PyExc_TypeError
,"null reference");
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 Py_INCREF(Py_None
); resultobj
= Py_None
;
10434 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxGrid
*arg1
= (wxGrid
*) 0 ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 PyObject
* obj2
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10449 arg2
= (int) SWIG_AsInt(obj1
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10451 arg3
= (int) SWIG_AsInt(obj2
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 Py_INCREF(Py_None
); resultobj
= Py_None
;
10467 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
;
10469 wxGrid
*arg1
= (wxGrid
*) 0 ;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 PyObject
* obj2
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 arg2
= (int) SWIG_AsInt(obj1
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10484 arg3
= (int) SWIG_AsInt(obj2
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 Py_INCREF(Py_None
); resultobj
= Py_None
;
10500 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxGrid
*arg1
= (wxGrid
*) 0 ;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "textOrientation", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 arg2
= (int) SWIG_AsInt(obj1
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 (arg1
)->SetColLabelTextOrientation(arg2
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 Py_INCREF(Py_None
); resultobj
= Py_None
;
10529 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxGrid
*arg1
= (wxGrid
*) 0 ;
10533 wxString
*arg3
= 0 ;
10534 bool temp3
= False
;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 PyObject
* obj2
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self",(char *) "row","arg3", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 arg2
= (int) SWIG_AsInt(obj1
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 arg3
= wxString_in_helper(obj2
);
10549 if (arg3
== NULL
) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 Py_INCREF(Py_None
); resultobj
= Py_None
;
10574 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxGrid
*arg1
= (wxGrid
*) 0 ;
10578 wxString
*arg3
= 0 ;
10579 bool temp3
= False
;
10580 PyObject
* obj0
= 0 ;
10581 PyObject
* obj1
= 0 ;
10582 PyObject
* obj2
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self",(char *) "col","arg3", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10590 arg2
= (int) SWIG_AsInt(obj1
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 arg3
= wxString_in_helper(obj2
);
10594 if (arg3
== NULL
) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10604 Py_INCREF(Py_None
); resultobj
= Py_None
;
10619 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxGrid
*arg1
= (wxGrid
*) 0 ;
10622 wxColour
*arg2
= 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self","arg2", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10635 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 Py_INCREF(Py_None
); resultobj
= Py_None
;
10651 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxGrid
*arg1
= (wxGrid
*) 0 ;
10654 wxColour
*arg2
= 0 ;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self","arg2", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10667 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 Py_INCREF(Py_None
); resultobj
= Py_None
;
10683 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxGrid
*arg1
= (wxGrid
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self",(char *) "width", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10696 arg2
= (int) SWIG_AsInt(obj1
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 (arg1
)->SetCellHighlightPenWidth(arg2
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxGrid
*arg1
= (wxGrid
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "width", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10725 arg2
= (int) SWIG_AsInt(obj1
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 (arg1
)->SetCellHighlightROPenWidth(arg2
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 Py_INCREF(Py_None
); resultobj
= Py_None
;
10741 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxGrid
*arg1
= (wxGrid
*) 0 ;
10744 bool arg2
= (bool) True
;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self",(char *) "enable", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10755 arg2
= (bool) SWIG_AsBool(obj1
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 (arg1
)->EnableDragRowSize(arg2
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 Py_INCREF(Py_None
); resultobj
= Py_None
;
10772 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxGrid
*arg1
= (wxGrid
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
10781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->DisableDragRowSize();
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxGrid
*arg1
= (wxGrid
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (bool)(arg1
)->CanDragRowSize();
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10823 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxGrid
*arg1
= (wxGrid
*) 0 ;
10826 bool arg2
= (bool) True
;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self",(char *) "enable", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10837 arg2
= (bool) SWIG_AsBool(obj1
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 (arg1
)->EnableDragColSize(arg2
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 Py_INCREF(Py_None
); resultobj
= Py_None
;
10854 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxGrid
*arg1
= (wxGrid
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
10863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 (arg1
)->DisableDragColSize();
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10879 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxGrid
*arg1
= (wxGrid
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (bool)(arg1
)->CanDragColSize();
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10905 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxGrid
*arg1
= (wxGrid
*) 0 ;
10908 bool arg2
= (bool) True
;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self",(char *) "enable", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10919 arg2
= (bool) SWIG_AsBool(obj1
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 (arg1
)->EnableDragGridSize(arg2
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 Py_INCREF(Py_None
); resultobj
= Py_None
;
10936 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxGrid
*arg1
= (wxGrid
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
10945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 (arg1
)->DisableDragGridSize();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 Py_INCREF(Py_None
); resultobj
= Py_None
;
10961 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxGrid
*arg1
= (wxGrid
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
10971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (bool)(arg1
)->CanDragGridSize();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10987 static PyObject
*_wrap_Grid_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxGrid
*arg1
= (wxGrid
*) 0 ;
10992 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
10993 PyObject
* obj0
= 0 ;
10994 PyObject
* obj1
= 0 ;
10995 PyObject
* obj2
= 0 ;
10996 PyObject
* obj3
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11004 arg2
= (int) SWIG_AsInt(obj1
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11006 arg3
= (int) SWIG_AsInt(obj2
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11008 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 Py_INCREF(Py_None
); resultobj
= Py_None
;
11024 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxGrid
*arg1
= (wxGrid
*) 0 ;
11028 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 PyObject
* obj2
= 0 ;
11032 char *kwnames
[] = {
11033 (char *) "self",(char *) "row",(char *) "attr", NULL
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11039 arg2
= (int) SWIG_AsInt(obj1
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11041 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 (arg1
)->SetRowAttr(arg2
,arg3
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxGrid
*arg1
= (wxGrid
*) 0 ;
11061 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "col",(char *) "attr", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11072 arg2
= (int) SWIG_AsInt(obj1
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11074 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 (arg1
)->SetColAttr(arg2
,arg3
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 Py_INCREF(Py_None
); resultobj
= Py_None
;
11090 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxGrid
*arg1
= (wxGrid
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 char *kwnames
[] = {
11097 (char *) "self",(char *) "col", NULL
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11103 arg2
= (int) SWIG_AsInt(obj1
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->SetColFormatBool(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxGrid
*arg1
= (wxGrid
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 PyObject
* obj1
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self",(char *) "col", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11132 arg2
= (int) SWIG_AsInt(obj1
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 (arg1
)->SetColFormatNumber(arg2
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 Py_INCREF(Py_None
); resultobj
= Py_None
;
11148 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxGrid
*arg1
= (wxGrid
*) 0 ;
11152 int arg3
= (int) -1 ;
11153 int arg4
= (int) -1 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 PyObject
* obj2
= 0 ;
11157 PyObject
* obj3
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 arg2
= (int) SWIG_AsInt(obj1
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 arg3
= (int) SWIG_AsInt(obj2
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11172 arg4
= (int) SWIG_AsInt(obj3
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 Py_INCREF(Py_None
); resultobj
= Py_None
;
11189 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxGrid
*arg1
= (wxGrid
*) 0 ;
11193 wxString
*arg3
= 0 ;
11194 bool temp3
= False
;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 PyObject
* obj2
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "col",(char *) "typeName", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11205 arg2
= (int) SWIG_AsInt(obj1
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 arg3
= wxString_in_helper(obj2
);
11209 if (arg3
== NULL
) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 Py_INCREF(Py_None
); resultobj
= Py_None
;
11234 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxGrid
*arg1
= (wxGrid
*) 0 ;
11237 bool arg2
= (bool) True
;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "enable", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11248 arg2
= (bool) SWIG_AsBool(obj1
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->EnableGridLines(arg2
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 Py_INCREF(Py_None
); resultobj
= Py_None
;
11265 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxGrid
*arg1
= (wxGrid
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (bool)(arg1
)->GridLinesEnabled();
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11291 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxGrid
*arg1
= (wxGrid
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (int)(arg1
)->GetDefaultRowSize();
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= SWIG_FromInt((int)result
);
11317 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxGrid
*arg1
= (wxGrid
*) 0 ;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "row", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11331 arg2
= (int) SWIG_AsInt(obj1
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (int)(arg1
)->GetRowSize(arg2
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_FromInt((int)result
);
11347 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
;
11349 wxGrid
*arg1
= (wxGrid
*) 0 ;
11351 PyObject
* obj0
= 0 ;
11352 char *kwnames
[] = {
11353 (char *) "self", NULL
11356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (int)(arg1
)->GetDefaultColSize();
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= SWIG_FromInt((int)result
);
11373 static PyObject
*_wrap_Grid_GetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxGrid
*arg1
= (wxGrid
*) 0 ;
11378 PyObject
* obj0
= 0 ;
11379 PyObject
* obj1
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self",(char *) "col", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11387 arg2
= (int) SWIG_AsInt(obj1
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 result
= (int)(arg1
)->GetColSize(arg2
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_FromInt((int)result
);
11403 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxGrid
*arg1
= (wxGrid
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (arg1
)->GetDefaultCellBackgroundColour();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 wxColour
* resultptr
;
11424 resultptr
= new wxColour((wxColour
&) result
);
11425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11433 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxGrid
*arg1
= (wxGrid
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 PyObject
* obj2
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "row",(char *) "col", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11449 arg2
= (int) SWIG_AsInt(obj1
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11451 arg3
= (int) SWIG_AsInt(obj2
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 wxColour
* resultptr
;
11462 resultptr
= new wxColour((wxColour
&) result
);
11463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11471 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxGrid
*arg1
= (wxGrid
*) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (arg1
)->GetDefaultCellTextColour();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11491 wxColour
* resultptr
;
11492 resultptr
= new wxColour((wxColour
&) result
);
11493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11501 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxGrid
*arg1
= (wxGrid
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self",(char *) "row",(char *) "col", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11517 arg2
= (int) SWIG_AsInt(obj1
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11519 arg3
= (int) SWIG_AsInt(obj2
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11529 wxColour
* resultptr
;
11530 resultptr
= new wxColour((wxColour
&) result
);
11531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11539 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxGrid
*arg1
= (wxGrid
*) 0 ;
11543 PyObject
* obj0
= 0 ;
11544 char *kwnames
[] = {
11545 (char *) "self", NULL
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
11549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (arg1
)->GetDefaultCellFont();
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11559 wxFont
* resultptr
;
11560 resultptr
= new wxFont((wxFont
&) result
);
11561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11569 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxGrid
*arg1
= (wxGrid
*) 0 ;
11575 PyObject
* obj0
= 0 ;
11576 PyObject
* obj1
= 0 ;
11577 PyObject
* obj2
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "row",(char *) "col", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11585 arg2
= (int) SWIG_AsInt(obj1
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11587 arg3
= (int) SWIG_AsInt(obj2
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (arg1
)->GetCellFont(arg2
,arg3
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11597 wxFont
* resultptr
;
11598 resultptr
= new wxFont((wxFont
&) result
);
11599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11607 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxGrid
*arg1
= (wxGrid
*) 0 ;
11610 int *arg2
= (int *) 0 ;
11611 int *arg3
= (int *) 0 ;
11614 PyObject
* obj0
= 0 ;
11615 char *kwnames
[] = {
11616 (char *) "self", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
11622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 Py_INCREF(Py_None
); resultobj
= Py_None
;
11633 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11634 resultobj
= t_output_helper(resultobj
,o
);
11637 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11638 resultobj
= t_output_helper(resultobj
,o
);
11646 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
;
11648 wxGrid
*arg1
= (wxGrid
*) 0 ;
11651 int *arg4
= (int *) 0 ;
11652 int *arg5
= (int *) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 PyObject
* obj2
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self",(char *) "row",(char *) "col", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11667 arg2
= (int) SWIG_AsInt(obj1
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11669 arg3
= (int) SWIG_AsInt(obj2
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 Py_INCREF(Py_None
); resultobj
= Py_None
;
11680 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11681 resultobj
= t_output_helper(resultobj
,o
);
11684 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11685 resultobj
= t_output_helper(resultobj
,o
);
11693 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxGrid
*arg1
= (wxGrid
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
11703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (bool)(arg1
)->GetDefaultCellOverflow();
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11719 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxGrid
*arg1
= (wxGrid
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 PyObject
* obj2
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self",(char *) "row",(char *) "col", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11735 arg2
= (int) SWIG_AsInt(obj1
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11737 arg3
= (int) SWIG_AsInt(obj2
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11753 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxGrid
*arg1
= (wxGrid
*) 0 ;
11758 int *arg4
= (int *) 0 ;
11759 int *arg5
= (int *) 0 ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 PyObject
* obj2
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self",(char *) "row",(char *) "col", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11774 arg2
= (int) SWIG_AsInt(obj1
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11776 arg3
= (int) SWIG_AsInt(obj2
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 Py_INCREF(Py_None
); resultobj
= Py_None
;
11787 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11788 resultobj
= t_output_helper(resultobj
,o
);
11791 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11792 resultobj
= t_output_helper(resultobj
,o
);
11800 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
;
11802 wxGrid
*arg1
= (wxGrid
*) 0 ;
11804 bool arg3
= (bool) False
;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 PyObject
* obj2
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11815 arg2
= (int) SWIG_AsInt(obj1
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 arg3
= (bool) SWIG_AsBool(obj2
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 Py_INCREF(Py_None
); resultobj
= Py_None
;
11835 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxGrid
*arg1
= (wxGrid
*) 0 ;
11840 PyObject
* obj0
= 0 ;
11841 PyObject
* obj1
= 0 ;
11842 PyObject
* obj2
= 0 ;
11843 char *kwnames
[] = {
11844 (char *) "self",(char *) "row",(char *) "height", NULL
11847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11850 arg2
= (int) SWIG_AsInt(obj1
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11852 arg3
= (int) SWIG_AsInt(obj2
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 (arg1
)->SetRowSize(arg2
,arg3
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 Py_INCREF(Py_None
); resultobj
= Py_None
;
11868 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
;
11870 wxGrid
*arg1
= (wxGrid
*) 0 ;
11872 bool arg3
= (bool) False
;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 PyObject
* obj2
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11883 arg2
= (int) SWIG_AsInt(obj1
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 arg3
= (bool) SWIG_AsBool(obj2
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 (arg1
)->SetDefaultColSize(arg2
,arg3
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 Py_INCREF(Py_None
); resultobj
= Py_None
;
11903 static PyObject
*_wrap_Grid_SetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxGrid
*arg1
= (wxGrid
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 PyObject
* obj1
= 0 ;
11910 PyObject
* obj2
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self",(char *) "col",(char *) "width", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 arg2
= (int) SWIG_AsInt(obj1
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11920 arg3
= (int) SWIG_AsInt(obj2
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->SetColSize(arg2
,arg3
);
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 Py_INCREF(Py_None
); resultobj
= Py_None
;
11936 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxGrid
*arg1
= (wxGrid
*) 0 ;
11940 bool arg3
= (bool) True
;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 PyObject
* obj2
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11951 arg2
= (int) SWIG_AsInt(obj1
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 arg3
= (bool) SWIG_AsBool(obj2
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->AutoSizeColumn(arg2
,arg3
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 Py_INCREF(Py_None
); resultobj
= Py_None
;
11971 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxGrid
*arg1
= (wxGrid
*) 0 ;
11975 bool arg3
= (bool) True
;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 PyObject
* obj2
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11986 arg2
= (int) SWIG_AsInt(obj1
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 arg3
= (bool) SWIG_AsBool(obj2
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 (arg1
)->AutoSizeRow(arg2
,arg3
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 Py_INCREF(Py_None
); resultobj
= Py_None
;
12006 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxGrid
*arg1
= (wxGrid
*) 0 ;
12009 bool arg2
= (bool) True
;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self",(char *) "setAsMin", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
12017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12020 arg2
= (bool) SWIG_AsBool(obj1
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 (arg1
)->AutoSizeColumns(arg2
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 Py_INCREF(Py_None
); resultobj
= Py_None
;
12037 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxGrid
*arg1
= (wxGrid
*) 0 ;
12040 bool arg2
= (bool) True
;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self",(char *) "setAsMin", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12051 arg2
= (bool) SWIG_AsBool(obj1
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 (arg1
)->AutoSizeRows(arg2
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 Py_INCREF(Py_None
); resultobj
= Py_None
;
12068 static PyObject
*_wrap_Grid_AutoSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxGrid
*arg1
= (wxGrid
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 (arg1
)->AutoSize();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxGrid
*arg1
= (wxGrid
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self",(char *) "row", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12106 arg2
= (int) SWIG_AsInt(obj1
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 (arg1
)->AutoSizeRowLabelSize(arg2
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 Py_INCREF(Py_None
); resultobj
= Py_None
;
12122 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxGrid
*arg1
= (wxGrid
*) 0 ;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self",(char *) "col", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12135 arg2
= (int) SWIG_AsInt(obj1
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 (arg1
)->AutoSizeColLabelSize(arg2
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 Py_INCREF(Py_None
); resultobj
= Py_None
;
12151 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxGrid
*arg1
= (wxGrid
*) 0 ;
12156 PyObject
* obj0
= 0 ;
12157 PyObject
* obj1
= 0 ;
12158 PyObject
* obj2
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self",(char *) "col",(char *) "width", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 arg2
= (int) SWIG_AsInt(obj1
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12168 arg3
= (int) SWIG_AsInt(obj2
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 Py_INCREF(Py_None
); resultobj
= Py_None
;
12184 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
;
12186 wxGrid
*arg1
= (wxGrid
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 PyObject
* obj2
= 0 ;
12192 char *kwnames
[] = {
12193 (char *) "self",(char *) "row",(char *) "width", NULL
12196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12199 arg2
= (int) SWIG_AsInt(obj1
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12201 arg3
= (int) SWIG_AsInt(obj2
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxGrid
*arg1
= (wxGrid
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self",(char *) "width", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12230 arg2
= (int) SWIG_AsInt(obj1
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 Py_INCREF(Py_None
); resultobj
= Py_None
;
12246 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxGrid
*arg1
= (wxGrid
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 PyObject
* obj1
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self",(char *) "width", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12259 arg2
= (int) SWIG_AsInt(obj1
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 Py_INCREF(Py_None
); resultobj
= Py_None
;
12275 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxGrid
*arg1
= (wxGrid
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_FromInt((int)result
);
12301 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxGrid
*arg1
= (wxGrid
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_FromInt((int)result
);
12327 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxGrid
*arg1
= (wxGrid
*) 0 ;
12330 wxColour
*arg2
= 0 ;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self","arg2", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 Py_INCREF(Py_None
); resultobj
= Py_None
;
12359 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxGrid
*arg1
= (wxGrid
*) 0 ;
12364 wxColour
*arg4
= 0 ;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 PyObject
* obj2
= 0 ;
12369 PyObject
* obj3
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 arg2
= (int) SWIG_AsInt(obj1
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12379 arg3
= (int) SWIG_AsInt(obj2
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12383 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 Py_INCREF(Py_None
); resultobj
= Py_None
;
12399 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxGrid
*arg1
= (wxGrid
*) 0 ;
12402 wxColour
*arg2
= 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self","arg2", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 Py_INCREF(Py_None
); resultobj
= Py_None
;
12431 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxGrid
*arg1
= (wxGrid
*) 0 ;
12436 wxColour
*arg4
= 0 ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 PyObject
* obj2
= 0 ;
12441 PyObject
* obj3
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12449 arg2
= (int) SWIG_AsInt(obj1
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12451 arg3
= (int) SWIG_AsInt(obj2
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 Py_INCREF(Py_None
); resultobj
= Py_None
;
12471 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxGrid
*arg1
= (wxGrid
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 char *kwnames
[] = {
12478 (char *) "self","arg2", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12487 if (arg2
== NULL
) {
12488 PyErr_SetString(PyExc_TypeError
,"null reference");
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 Py_INCREF(Py_None
); resultobj
= Py_None
;
12505 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxGrid
*arg1
= (wxGrid
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 PyObject
* obj1
= 0 ;
12513 PyObject
* obj2
= 0 ;
12514 PyObject
* obj3
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 arg2
= (int) SWIG_AsInt(obj1
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12524 arg3
= (int) SWIG_AsInt(obj2
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12526 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12529 if (arg4
== NULL
) {
12530 PyErr_SetString(PyExc_TypeError
,"null reference");
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 Py_INCREF(Py_None
); resultobj
= Py_None
;
12547 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 wxGrid
*arg1
= (wxGrid
*) 0 ;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 PyObject
* obj2
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12562 arg2
= (int) SWIG_AsInt(obj1
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12564 arg3
= (int) SWIG_AsInt(obj2
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 Py_INCREF(Py_None
); resultobj
= Py_None
;
12580 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxGrid
*arg1
= (wxGrid
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 PyObject
* obj1
= 0 ;
12589 PyObject
* obj2
= 0 ;
12590 PyObject
* obj3
= 0 ;
12591 PyObject
* obj4
= 0 ;
12592 char *kwnames
[] = {
12593 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12599 arg2
= (int) SWIG_AsInt(obj1
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12601 arg3
= (int) SWIG_AsInt(obj2
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12603 arg4
= (int) SWIG_AsInt(obj3
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12605 arg5
= (int) SWIG_AsInt(obj4
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 Py_INCREF(Py_None
); resultobj
= Py_None
;
12621 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxGrid
*arg1
= (wxGrid
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 PyObject
* obj1
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self",(char *) "allow", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 arg2
= (bool) SWIG_AsBool(obj1
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->SetDefaultCellOverflow(arg2
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxGrid
*arg1
= (wxGrid
*) 0 ;
12656 PyObject
* obj0
= 0 ;
12657 PyObject
* obj1
= 0 ;
12658 PyObject
* obj2
= 0 ;
12659 PyObject
* obj3
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12667 arg2
= (int) SWIG_AsInt(obj1
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12669 arg3
= (int) SWIG_AsInt(obj2
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12671 arg4
= (bool) SWIG_AsBool(obj3
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 Py_INCREF(Py_None
); resultobj
= Py_None
;
12687 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxGrid
*arg1
= (wxGrid
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 PyObject
* obj3
= 0 ;
12698 PyObject
* obj4
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12706 arg2
= (int) SWIG_AsInt(obj1
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12708 arg3
= (int) SWIG_AsInt(obj2
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12710 arg4
= (int) SWIG_AsInt(obj3
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12712 arg5
= (int) SWIG_AsInt(obj4
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 Py_INCREF(Py_None
); resultobj
= Py_None
;
12728 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxGrid
*arg1
= (wxGrid
*) 0 ;
12731 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 PyObject
* obj1
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self",(char *) "renderer", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
12742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 (arg1
)->SetDefaultRenderer(arg2
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 Py_INCREF(Py_None
); resultobj
= Py_None
;
12757 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxGrid
*arg1
= (wxGrid
*) 0 ;
12762 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 PyObject
* obj2
= 0 ;
12766 PyObject
* obj3
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12774 arg2
= (int) SWIG_AsInt(obj1
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12776 arg3
= (int) SWIG_AsInt(obj2
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12778 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
,
12779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 Py_INCREF(Py_None
); resultobj
= Py_None
;
12794 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxGrid
*arg1
= (wxGrid
*) 0 ;
12797 wxGridCellRenderer
*result
;
12798 PyObject
* obj0
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
12804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12822 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxGrid
*arg1
= (wxGrid
*) 0 ;
12827 wxGridCellRenderer
*result
;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 PyObject
* obj2
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self",(char *) "row",(char *) "col", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12838 arg2
= (int) SWIG_AsInt(obj1
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12840 arg3
= (int) SWIG_AsInt(obj2
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12858 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxGrid
*arg1
= (wxGrid
*) 0 ;
12861 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "editor", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
12872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 (arg1
)->SetDefaultEditor(arg2
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 Py_INCREF(Py_None
); resultobj
= Py_None
;
12887 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxGrid
*arg1
= (wxGrid
*) 0 ;
12892 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 PyObject
* obj2
= 0 ;
12896 PyObject
* obj3
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12904 arg2
= (int) SWIG_AsInt(obj1
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12906 arg3
= (int) SWIG_AsInt(obj2
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12908 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
12909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxGrid
*arg1
= (wxGrid
*) 0 ;
12927 wxGridCellEditor
*result
;
12928 PyObject
* obj0
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
12934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= wxPyMake_wxGridCellEditor(result
);
12952 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxGrid
*arg1
= (wxGrid
*) 0 ;
12957 wxGridCellEditor
*result
;
12958 PyObject
* obj0
= 0 ;
12959 PyObject
* obj1
= 0 ;
12960 PyObject
* obj2
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self",(char *) "row",(char *) "col", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12968 arg2
= (int) SWIG_AsInt(obj1
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12970 arg3
= (int) SWIG_AsInt(obj2
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= wxPyMake_wxGridCellEditor(result
);
12988 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxGrid
*arg1
= (wxGrid
*) 0 ;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 PyObject
* obj2
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self",(char *) "row",(char *) "col", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13004 arg2
= (int) SWIG_AsInt(obj1
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13006 arg3
= (int) SWIG_AsInt(obj2
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13028 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxGrid
*arg1
= (wxGrid
*) 0 ;
13033 wxString
*arg4
= 0 ;
13034 bool temp4
= False
;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 PyObject
* obj2
= 0 ;
13038 PyObject
* obj3
= 0 ;
13039 char *kwnames
[] = {
13040 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13046 arg2
= (int) SWIG_AsInt(obj1
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13048 arg3
= (int) SWIG_AsInt(obj2
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 arg4
= wxString_in_helper(obj3
);
13052 if (arg4
== NULL
) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 Py_INCREF(Py_None
); resultobj
= Py_None
;
13077 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxGrid
*arg1
= (wxGrid
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 PyObject
* obj2
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self",(char *) "row",(char *) "col", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 arg2
= (int) SWIG_AsInt(obj1
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13095 arg3
= (int) SWIG_AsInt(obj2
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13111 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxGrid
*arg1
= (wxGrid
*) 0 ;
13116 bool arg4
= (bool) True
;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 PyObject
* obj2
= 0 ;
13120 PyObject
* obj3
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 arg2
= (int) SWIG_AsInt(obj1
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13130 arg3
= (int) SWIG_AsInt(obj2
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 arg4
= (bool) SWIG_AsBool(obj3
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 Py_INCREF(Py_None
); resultobj
= Py_None
;
13150 static PyObject
*_wrap_Grid_SelectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxGrid
*arg1
= (wxGrid
*) 0 ;
13154 bool arg3
= (bool) False
;
13155 PyObject
* obj0
= 0 ;
13156 PyObject
* obj1
= 0 ;
13157 PyObject
* obj2
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13165 arg2
= (int) SWIG_AsInt(obj1
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 arg3
= (bool) SWIG_AsBool(obj2
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 (arg1
)->SelectRow(arg2
,arg3
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_Grid_SelectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxGrid
*arg1
= (wxGrid
*) 0 ;
13189 bool arg3
= (bool) False
;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 PyObject
* obj2
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 arg2
= (int) SWIG_AsInt(obj1
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 arg3
= (bool) SWIG_AsBool(obj2
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 (arg1
)->SelectCol(arg2
,arg3
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 Py_INCREF(Py_None
); resultobj
= Py_None
;
13220 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxGrid
*arg1
= (wxGrid
*) 0 ;
13227 bool arg6
= (bool) False
;
13228 PyObject
* obj0
= 0 ;
13229 PyObject
* obj1
= 0 ;
13230 PyObject
* obj2
= 0 ;
13231 PyObject
* obj3
= 0 ;
13232 PyObject
* obj4
= 0 ;
13233 PyObject
* obj5
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13241 arg2
= (int) SWIG_AsInt(obj1
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13243 arg3
= (int) SWIG_AsInt(obj2
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13245 arg4
= (int) SWIG_AsInt(obj3
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13247 arg5
= (int) SWIG_AsInt(obj4
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 arg6
= (bool) SWIG_AsBool(obj5
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 Py_INCREF(Py_None
); resultobj
= Py_None
;
13267 static PyObject
*_wrap_Grid_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxGrid
*arg1
= (wxGrid
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 (arg1
)->SelectAll();
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 Py_INCREF(Py_None
); resultobj
= Py_None
;
13292 static PyObject
*_wrap_Grid_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxGrid
*arg1
= (wxGrid
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (bool)(arg1
)->IsSelection();
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13318 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxGrid
*arg1
= (wxGrid
*) 0 ;
13321 PyObject
* obj0
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 (arg1
)->ClearSelection();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 Py_INCREF(Py_None
); resultobj
= Py_None
;
13343 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxGrid
*arg1
= (wxGrid
*) 0 ;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 PyObject
* obj2
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self",(char *) "row",(char *) "col", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13359 arg2
= (int) SWIG_AsInt(obj1
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13361 arg3
= (int) SWIG_AsInt(obj2
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13377 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxGrid
*arg1
= (wxGrid
*) 0 ;
13380 wxGridCellCoordsArray result
;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= wxGridCellCoordsArray_helper(result
);
13405 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxGrid
*arg1
= (wxGrid
*) 0 ;
13408 wxGridCellCoordsArray result
;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= wxGridCellCoordsArray_helper(result
);
13433 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxGrid
*arg1
= (wxGrid
*) 0 ;
13436 wxGridCellCoordsArray result
;
13437 PyObject
* obj0
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= wxGridCellCoordsArray_helper(result
);
13461 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxGrid
*arg1
= (wxGrid
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= PyList_New(0);
13483 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13484 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13485 PyList_Append(resultobj
, val
);
13495 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxGrid
*arg1
= (wxGrid
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= PyList_New(0);
13517 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13518 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13519 PyList_Append(resultobj
, val
);
13529 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxGrid
*arg1
= (wxGrid
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 PyObject
* obj1
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self",(char *) "row", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13542 arg2
= (int) SWIG_AsInt(obj1
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 (arg1
)->DeselectRow(arg2
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 Py_INCREF(Py_None
); resultobj
= Py_None
;
13558 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxGrid
*arg1
= (wxGrid
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "col", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13571 arg2
= (int) SWIG_AsInt(obj1
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 (arg1
)->DeselectCol(arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxGrid
*arg1
= (wxGrid
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 PyObject
* obj2
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self",(char *) "row",(char *) "col", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 arg2
= (int) SWIG_AsInt(obj1
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13604 arg3
= (int) SWIG_AsInt(obj2
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 (arg1
)->DeselectCell(arg2
,arg3
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 Py_INCREF(Py_None
); resultobj
= Py_None
;
13620 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxGrid
*arg1
= (wxGrid
*) 0 ;
13623 wxGridCellCoords
*arg2
= 0 ;
13624 wxGridCellCoords
*arg3
= 0 ;
13626 wxGridCellCoords temp2
;
13627 wxGridCellCoords temp3
;
13628 PyObject
* obj0
= 0 ;
13629 PyObject
* obj1
= 0 ;
13630 PyObject
* obj2
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13640 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
13644 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 wxRect
* resultptr
;
13655 resultptr
= new wxRect((wxRect
&) result
);
13656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13664 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxGrid
*arg1
= (wxGrid
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13684 wxColour
* resultptr
;
13685 resultptr
= new wxColour((wxColour
&) result
);
13686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13694 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
;
13696 wxGrid
*arg1
= (wxGrid
*) 0 ;
13698 PyObject
* obj0
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 wxColour
* resultptr
;
13715 resultptr
= new wxColour((wxColour
&) result
);
13716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13724 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxGrid
*arg1
= (wxGrid
*) 0 ;
13727 wxColour
*arg2
= 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self",(char *) "c", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13740 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 Py_INCREF(Py_None
); resultobj
= Py_None
;
13756 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxGrid
*arg1
= (wxGrid
*) 0 ;
13759 wxColour
*arg2
= 0 ;
13761 PyObject
* obj0
= 0 ;
13762 PyObject
* obj1
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self",(char *) "c", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 Py_INCREF(Py_None
); resultobj
= Py_None
;
13788 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxGrid
*arg1
= (wxGrid
*) 0 ;
13791 wxString
*arg2
= 0 ;
13792 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
13793 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13794 bool temp2
= False
;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 PyObject
* obj2
= 0 ;
13798 PyObject
* obj3
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13807 arg2
= wxString_in_helper(obj1
);
13808 if (arg2
== NULL
) SWIG_fail
;
13811 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
,
13812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13813 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 Py_INCREF(Py_None
); resultobj
= Py_None
;
13837 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
;
13839 wxGrid
*arg1
= (wxGrid
*) 0 ;
13842 wxGridCellEditor
*result
;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 PyObject
* obj2
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "self",(char *) "row",(char *) "col", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13853 arg2
= (int) SWIG_AsInt(obj1
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13855 arg3
= (int) SWIG_AsInt(obj2
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= wxPyMake_wxGridCellEditor(result
);
13873 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxGrid
*arg1
= (wxGrid
*) 0 ;
13878 wxGridCellRenderer
*result
;
13879 PyObject
* obj0
= 0 ;
13880 PyObject
* obj1
= 0 ;
13881 PyObject
* obj2
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self",(char *) "row",(char *) "col", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13889 arg2
= (int) SWIG_AsInt(obj1
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13891 arg3
= (int) SWIG_AsInt(obj2
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= wxPyMake_wxGridCellRenderer(result
);
13909 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxGrid
*arg1
= (wxGrid
*) 0 ;
13912 wxString
*arg2
= 0 ;
13913 wxGridCellEditor
*result
;
13914 bool temp2
= False
;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self",(char *) "typeName", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 arg2
= wxString_in_helper(obj1
);
13926 if (arg2
== NULL
) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= wxPyMake_wxGridCellEditor(result
);
13953 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
;
13955 wxGrid
*arg1
= (wxGrid
*) 0 ;
13956 wxString
*arg2
= 0 ;
13957 wxGridCellRenderer
*result
;
13958 bool temp2
= False
;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj1
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "typeName", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13969 arg2
= wxString_in_helper(obj1
);
13970 if (arg2
== NULL
) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= wxPyMake_wxGridCellRenderer(result
);
13997 static PyObject
*_wrap_Grid_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxGrid
*arg1
= (wxGrid
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 PyObject
* obj2
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14012 arg2
= (int) SWIG_AsInt(obj1
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14014 arg3
= (int) SWIG_AsInt(obj2
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 (arg1
)->SetMargins(arg2
,arg3
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 Py_INCREF(Py_None
); resultobj
= Py_None
;
14030 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxGrid
*arg1
= (wxGrid
*) 0 ;
14034 PyObject
* obj0
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "self", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= wxPyMake_wxObject(result
);
14058 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxGrid
*arg1
= (wxGrid
*) 0 ;
14062 PyObject
* obj0
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14078 resultobj
= wxPyMake_wxObject(result
);
14086 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxGrid
*arg1
= (wxGrid
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14106 resultobj
= wxPyMake_wxObject(result
);
14114 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxGrid
*arg1
= (wxGrid
*) 0 ;
14118 PyObject
* obj0
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= wxPyMake_wxObject(result
);
14142 static PyObject
* Grid_swigregister(PyObject
*, PyObject
*args
) {
14144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14145 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14147 return Py_BuildValue((char *)"");
14149 static PyObject
*_wrap_new_GridEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14153 wxGrid
*arg3
= (wxGrid
*) 0 ;
14154 int arg4
= (int) -1 ;
14155 int arg5
= (int) -1 ;
14156 int arg6
= (int) -1 ;
14157 int arg7
= (int) -1 ;
14158 bool arg8
= (bool) True
;
14159 bool arg9
= (bool) False
;
14160 bool arg10
= (bool) False
;
14161 bool arg11
= (bool) False
;
14162 bool arg12
= (bool) False
;
14163 wxGridEvent
*result
;
14164 PyObject
* obj0
= 0 ;
14165 PyObject
* obj1
= 0 ;
14166 PyObject
* obj2
= 0 ;
14167 PyObject
* obj3
= 0 ;
14168 PyObject
* obj4
= 0 ;
14169 PyObject
* obj5
= 0 ;
14170 PyObject
* obj6
= 0 ;
14171 PyObject
* obj7
= 0 ;
14172 PyObject
* obj8
= 0 ;
14173 PyObject
* obj9
= 0 ;
14174 PyObject
* obj10
= 0 ;
14175 PyObject
* obj11
= 0 ;
14176 char *kwnames
[] = {
14177 (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
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
14181 arg1
= (int) SWIG_AsInt(obj0
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14183 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14185 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14188 arg4
= (int) SWIG_AsInt(obj3
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 arg5
= (int) SWIG_AsInt(obj4
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14196 arg6
= (int) SWIG_AsInt(obj5
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 arg7
= (int) SWIG_AsInt(obj6
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14204 arg8
= (bool) SWIG_AsBool(obj7
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 arg9
= (bool) SWIG_AsBool(obj8
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 arg10
= (bool) SWIG_AsBool(obj9
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 arg11
= (bool) SWIG_AsBool(obj10
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14220 arg12
= (bool) SWIG_AsBool(obj11
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
14237 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (int)(arg1
)->GetRow();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= SWIG_FromInt((int)result
);
14263 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (int)(arg1
)->GetCol();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_FromInt((int)result
);
14289 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14293 PyObject
* obj0
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (arg1
)->GetPosition();
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14309 wxPoint
* resultptr
;
14310 resultptr
= new wxPoint((wxPoint
&) result
);
14311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14319 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (bool)(arg1
)->Selecting();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14345 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
*resultobj
;
14347 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14349 PyObject
* obj0
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (bool)(arg1
)->ControlDown();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14371 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 result
= (bool)(arg1
)->MetaDown();
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14397 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (bool)(arg1
)->ShiftDown();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14423 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (bool)(arg1
)->AltDown();
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14449 static PyObject
* GridEvent_swigregister(PyObject
*, PyObject
*args
) {
14451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14452 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14454 return Py_BuildValue((char *)"");
14456 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14460 wxGrid
*arg3
= (wxGrid
*) 0 ;
14461 int arg4
= (int) -1 ;
14462 int arg5
= (int) -1 ;
14463 int arg6
= (int) -1 ;
14464 bool arg7
= (bool) False
;
14465 bool arg8
= (bool) False
;
14466 bool arg9
= (bool) False
;
14467 bool arg10
= (bool) False
;
14468 wxGridSizeEvent
*result
;
14469 PyObject
* obj0
= 0 ;
14470 PyObject
* obj1
= 0 ;
14471 PyObject
* obj2
= 0 ;
14472 PyObject
* obj3
= 0 ;
14473 PyObject
* obj4
= 0 ;
14474 PyObject
* obj5
= 0 ;
14475 PyObject
* obj6
= 0 ;
14476 PyObject
* obj7
= 0 ;
14477 PyObject
* obj8
= 0 ;
14478 PyObject
* obj9
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14484 arg1
= (int) SWIG_AsInt(obj0
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14486 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14488 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 arg4
= (int) SWIG_AsInt(obj3
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14495 arg5
= (int) SWIG_AsInt(obj4
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14499 arg6
= (int) SWIG_AsInt(obj5
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14503 arg7
= (bool) SWIG_AsBool(obj6
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14507 arg8
= (bool) SWIG_AsBool(obj7
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14511 arg9
= (bool) SWIG_AsBool(obj8
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 arg10
= (bool) SWIG_AsBool(obj9
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
14532 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14536 PyObject
* obj0
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= (int)(arg1
)->GetRowOrCol();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_FromInt((int)result
);
14558 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "self", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 result
= (arg1
)->GetPosition();
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14578 wxPoint
* resultptr
;
14579 resultptr
= new wxPoint((wxPoint
&) result
);
14580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14588 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (bool)(arg1
)->ControlDown();
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14614 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (bool)(arg1
)->MetaDown();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14640 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (bool)(arg1
)->ShiftDown();
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (bool)(arg1
)->AltDown();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14692 static PyObject
* GridSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
14694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14695 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
14697 return Py_BuildValue((char *)"");
14699 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14703 wxGrid
*arg3
= (wxGrid
*) 0 ;
14704 wxGridCellCoords
*arg4
= 0 ;
14705 wxGridCellCoords
*arg5
= 0 ;
14706 bool arg6
= (bool) True
;
14707 bool arg7
= (bool) False
;
14708 bool arg8
= (bool) False
;
14709 bool arg9
= (bool) False
;
14710 bool arg10
= (bool) False
;
14711 wxGridRangeSelectEvent
*result
;
14712 wxGridCellCoords temp4
;
14713 wxGridCellCoords temp5
;
14714 PyObject
* obj0
= 0 ;
14715 PyObject
* obj1
= 0 ;
14716 PyObject
* obj2
= 0 ;
14717 PyObject
* obj3
= 0 ;
14718 PyObject
* obj4
= 0 ;
14719 PyObject
* obj5
= 0 ;
14720 PyObject
* obj6
= 0 ;
14721 PyObject
* obj7
= 0 ;
14722 PyObject
* obj8
= 0 ;
14723 PyObject
* obj9
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14729 arg1
= (int) SWIG_AsInt(obj0
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14731 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14733 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
14741 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
14744 arg6
= (bool) SWIG_AsBool(obj5
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14748 arg7
= (bool) SWIG_AsBool(obj6
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14752 arg8
= (bool) SWIG_AsBool(obj7
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14756 arg9
= (bool) SWIG_AsBool(obj8
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14760 arg10
= (bool) SWIG_AsBool(obj9
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
14777 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14780 wxGridCellCoords result
;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (arg1
)->GetTopLeftCoords();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14797 wxGridCellCoords
* resultptr
;
14798 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
14807 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14810 wxGridCellCoords result
;
14811 PyObject
* obj0
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (arg1
)->GetBottomRightCoords();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 wxGridCellCoords
* resultptr
;
14828 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
14837 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (int)(arg1
)->GetTopRow();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_FromInt((int)result
);
14863 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= (int)(arg1
)->GetBottomRow();
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= SWIG_FromInt((int)result
);
14889 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (int)(arg1
)->GetLeftCol();
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_FromInt((int)result
);
14915 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (int)(arg1
)->GetRightCol();
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 resultobj
= SWIG_FromInt((int)result
);
14941 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (bool)(arg1
)->Selecting();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14967 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (bool)(arg1
)->ControlDown();
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14993 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "self", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 result
= (bool)(arg1
)->MetaDown();
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15019 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15023 PyObject
* obj0
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= (bool)(arg1
)->ShiftDown();
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (bool)(arg1
)->AltDown();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15071 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*, PyObject
*args
) {
15073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15074 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15076 return Py_BuildValue((char *)"");
15078 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15082 wxObject
*arg3
= (wxObject
*) 0 ;
15085 wxControl
*arg6
= (wxControl
*) 0 ;
15086 wxGridEditorCreatedEvent
*result
;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 PyObject
* obj2
= 0 ;
15090 PyObject
* obj3
= 0 ;
15091 PyObject
* obj4
= 0 ;
15092 PyObject
* obj5
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15098 arg1
= (int) SWIG_AsInt(obj0
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15100 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15102 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
,
15103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15104 arg4
= (int) SWIG_AsInt(obj3
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15106 arg5
= (int) SWIG_AsInt(obj4
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15108 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15124 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (int)(arg1
)->GetRow();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= SWIG_FromInt((int)result
);
15150 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15154 PyObject
* obj0
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (int)(arg1
)->GetCol();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_FromInt((int)result
);
15176 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= (wxControl
*)(arg1
)->GetControl();
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= wxPyMake_wxObject(result
);
15204 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self",(char *) "row", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 arg2
= (int) SWIG_AsInt(obj1
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 (arg1
)->SetRow(arg2
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 Py_INCREF(Py_None
); resultobj
= Py_None
;
15233 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15234 PyObject
*resultobj
;
15235 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "self",(char *) "col", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15246 arg2
= (int) SWIG_AsInt(obj1
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 (arg1
)->SetCol(arg2
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 Py_INCREF(Py_None
); resultobj
= Py_None
;
15262 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15265 wxControl
*arg2
= (wxControl
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "ctrl", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 (arg1
)->SetControl(arg2
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 Py_INCREF(Py_None
); resultobj
= Py_None
;
15291 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*, PyObject
*args
) {
15293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15294 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15296 return Py_BuildValue((char *)"");
15298 static PyMethodDef SwigMethods
[] = {
15299 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15300 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15301 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15302 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15303 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15304 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15305 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15306 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
15307 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15308 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15309 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15310 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
15311 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15312 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
15313 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15314 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
15315 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15316 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15317 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15318 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15319 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15320 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
15321 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15322 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
15323 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15324 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
15325 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15326 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
15327 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15328 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
15329 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15330 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15331 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15332 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15333 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15334 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15335 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15336 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15337 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15338 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15339 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15340 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15341 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15342 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15343 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15344 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15345 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15346 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15347 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15348 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15349 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15350 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15351 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
15352 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15353 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15354 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15355 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15356 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15357 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15358 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15359 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15360 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15361 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15362 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15363 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
15364 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15365 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15366 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
15367 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15368 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15369 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
15370 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15371 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15372 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
15373 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15374 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15375 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
15376 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15377 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15378 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
15379 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15380 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15381 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
15382 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15383 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15384 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
15385 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15386 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15387 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15388 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15389 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15390 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15391 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15392 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15393 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15394 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15395 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15396 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15397 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15398 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15399 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15400 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15401 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15402 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15403 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15404 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15405 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15406 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15407 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15408 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15409 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15410 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15411 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15412 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15413 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15414 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15415 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15416 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15417 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15418 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15419 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
15420 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15421 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15422 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15423 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15424 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15425 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15426 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15427 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15428 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
15429 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15430 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15431 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15432 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15433 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15434 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15435 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
15436 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15437 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15438 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15439 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15440 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15441 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15442 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15443 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15444 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15445 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15446 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15447 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15448 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15449 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15450 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15451 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15452 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15453 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15454 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15455 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15456 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15457 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15458 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15459 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15460 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15461 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15462 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15463 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15464 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15465 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15466 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15467 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15468 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15469 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15470 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15471 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
15472 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15473 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15474 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15475 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15476 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15477 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15478 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15479 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15480 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15481 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15482 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15483 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15484 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15485 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15486 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15487 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15488 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15489 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15490 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15491 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15492 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15493 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15494 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
15495 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15496 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
15497 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15498 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15499 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15500 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15501 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15502 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15503 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15504 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15505 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15506 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15507 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
15508 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15509 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15510 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15511 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15512 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15513 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15514 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15515 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15516 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15517 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15518 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
15519 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15520 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15521 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15522 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15523 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15524 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15525 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15526 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15527 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15528 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15529 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15530 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15531 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15532 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15533 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15534 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15535 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15536 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15537 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15538 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15539 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15540 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15541 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15542 { (char *)"Grid_Refresh", (PyCFunction
) _wrap_Grid_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15543 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15544 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15545 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15546 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15547 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15548 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15549 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15550 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15551 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15552 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15553 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15554 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15555 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15556 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15557 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15558 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15559 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15560 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15561 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15562 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15563 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15564 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15565 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15566 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15567 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15568 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15569 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15570 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15571 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15572 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15573 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15574 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15575 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15576 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15577 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15578 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15579 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15580 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15581 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15582 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15583 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15584 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15585 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15586 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15587 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15588 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15589 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15590 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15591 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15592 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15593 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15594 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15595 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15596 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15597 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15598 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15599 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15600 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15601 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15602 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15603 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15604 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15605 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15606 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15607 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15608 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15609 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15610 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15611 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15612 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15613 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15614 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15615 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15616 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15617 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15618 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15619 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15620 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15621 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15622 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15623 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15624 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15625 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15626 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15627 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15628 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15629 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15630 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15631 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15632 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15633 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15634 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15635 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15636 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15637 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15638 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15639 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15640 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15641 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15642 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15643 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15644 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15645 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15646 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15647 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15648 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15649 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15650 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15651 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15652 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15653 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15654 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15655 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15656 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15657 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15658 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15659 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15660 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15661 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15662 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15663 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15664 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15665 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15666 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15667 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15668 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15669 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15670 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15671 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15672 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15673 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15674 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15675 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15676 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15677 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15678 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15679 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15680 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15681 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15682 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15683 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15684 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15685 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15686 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15687 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15688 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15689 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15690 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15691 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15692 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15693 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15694 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15695 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15696 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15697 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15698 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15699 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15700 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15701 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15702 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15703 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15704 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15705 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15706 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15707 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15708 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
15709 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15710 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15711 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15712 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15713 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15714 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15715 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15716 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15717 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15718 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
15719 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15720 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15721 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15722 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15723 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15724 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15725 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15726 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
15727 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15728 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15729 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15730 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15731 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15732 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15733 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15734 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15735 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15736 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15737 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15738 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15739 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
15740 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15741 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15742 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15743 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15744 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15745 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15746 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15747 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
15748 { NULL
, NULL
, 0, NULL
}
15752 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15754 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
15755 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
15757 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
15758 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
15760 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
15761 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15763 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
15764 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15766 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
15767 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
15769 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
15770 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15772 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
15773 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15775 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
15776 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15778 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
15779 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15781 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
15782 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15784 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
15785 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15787 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
15788 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15790 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
15791 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15793 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
15794 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
15796 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
15797 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15799 static void *_p_wxGridTo_p_wxPanel(void *x
) {
15800 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
15802 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
15803 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15805 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
15806 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15808 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
15809 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
15811 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
15812 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15814 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
15815 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
15817 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
15818 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15820 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
15821 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15823 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
15824 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15826 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
15827 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15829 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
15830 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
15832 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
15833 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
15835 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
15836 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15838 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
15839 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15841 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
15842 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15844 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
15845 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
15847 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
15848 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
15850 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
15851 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15853 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
15854 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15856 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
15857 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15859 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
15860 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
15862 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
15863 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
15865 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
15866 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
15868 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
15869 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
15871 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
15872 return (void *)((wxWindow
*) ((wxPanel
*) x
));
15874 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
15875 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
15877 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
15878 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
15880 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
15881 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15883 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
15884 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
15886 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
15887 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
15889 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
15890 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
15892 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
15893 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
15895 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
15896 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
15898 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
15899 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
15901 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
15902 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
15904 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
15905 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
15907 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
15908 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
15910 static void *_p_wxControlTo_p_wxWindow(void *x
) {
15911 return (void *)((wxWindow
*) ((wxControl
*) x
));
15913 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
15914 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15916 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
15917 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15919 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
15920 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15922 static void *_p_wxGridTo_p_wxWindow(void *x
) {
15923 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
15925 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
15926 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
15928 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
15929 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
15931 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
15932 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15934 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
15935 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15937 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
15938 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15940 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
15941 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
15943 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
15944 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15946 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
15947 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
15949 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
15950 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15952 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
15953 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15955 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
15956 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15958 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
15959 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
15961 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
15962 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
15964 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
15965 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
15967 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
15968 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15970 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
15971 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
15973 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
15974 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
15976 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
15977 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
15979 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
15980 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
15982 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
15983 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
15985 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
15986 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
15988 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
15989 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
15991 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
15992 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15994 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
15995 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
15997 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
15998 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16000 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16001 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16003 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16004 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16006 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16007 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16009 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16010 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16012 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16013 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16015 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16016 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16018 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16019 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16021 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16022 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16024 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16025 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16027 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16028 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16030 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16031 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16033 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16034 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16036 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16037 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16039 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16040 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16042 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16043 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16045 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16046 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16048 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16049 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16051 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16052 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16054 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16055 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16057 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16058 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16060 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16061 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16063 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16064 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16066 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16067 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16069 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16070 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16072 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16073 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16075 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16078 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16081 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16082 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16084 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16085 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16087 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16088 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16090 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16093 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16096 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16097 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16099 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16100 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16102 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16103 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16105 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16106 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16108 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16109 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16111 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16112 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16114 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16117 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16120 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16121 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16123 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16124 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16126 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16129 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16130 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16132 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16133 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16135 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16136 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16138 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16139 return (void *)((wxObject
*) ((wxSizer
*) x
));
16141 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16142 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16144 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16147 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16150 static void *_p_wxEventTo_p_wxObject(void *x
) {
16151 return (void *)((wxObject
*) ((wxEvent
*) x
));
16153 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16154 return (void *)((wxObject
*) ((wxFontData
*) x
));
16156 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16157 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16159 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16160 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16162 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16163 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16165 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16166 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16168 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16169 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16171 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16172 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16174 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16177 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16178 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16180 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16181 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16183 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16184 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16186 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16187 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16189 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16190 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16192 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16193 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16195 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16196 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16198 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16201 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16204 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16207 static void *_p_wxControlTo_p_wxObject(void *x
) {
16208 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16210 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16211 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16213 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16216 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16217 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16219 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16220 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16222 static void *_p_wxGridTo_p_wxObject(void *x
) {
16223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16225 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16226 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16228 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16231 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16232 return (void *)((wxObject
*) ((wxColourData
*) x
));
16234 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16235 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16237 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16238 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16240 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16243 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16246 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16249 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16252 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16255 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16258 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16261 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16264 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16267 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16268 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16270 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16271 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16273 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16274 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16276 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16277 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16279 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16282 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16283 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16285 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16286 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16288 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16289 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16291 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16292 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16294 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16295 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16297 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16298 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16300 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16301 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16303 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16304 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16306 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16307 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16309 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16310 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16312 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16313 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16315 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16316 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16318 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16319 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16321 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16322 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16324 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16325 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16327 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16328 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16330 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16331 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16333 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16334 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16336 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16339 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16340 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16342 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16343 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16345 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16348 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16351 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16354 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16355 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16357 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16360 static void *_p_wxImageTo_p_wxObject(void *x
) {
16361 return (void *)((wxObject
*) ((wxImage
*) x
));
16363 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16366 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16367 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16369 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16370 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16372 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16373 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16375 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16378 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16381 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16384 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16385 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16387 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16388 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16390 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16391 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16393 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16394 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16396 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16399 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16402 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16405 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16408 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16411 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16414 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16417 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16420 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16423 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
16426 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16429 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
16430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
16432 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
16433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
16435 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
16436 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
16438 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
16439 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
16441 static void *_p_wxPanelTo_p_wxObject(void *x
) {
16442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
16444 static void *_p_wxDialogTo_p_wxObject(void *x
) {
16445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16447 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
16448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16450 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
16451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16453 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
16454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16456 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
16457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16459 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
16460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16462 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16463 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16465 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16468 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16469 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16471 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16472 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16474 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16475 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16477 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16478 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16480 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16481 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16483 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
16484 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
16486 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
16487 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16489 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16492 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16493 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16495 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
16496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16498 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
16499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16501 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16502 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16504 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16505 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16507 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16510 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16513 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
16514 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
16516 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
16517 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
16519 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16522 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16523 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16525 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
16526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16528 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
16529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16531 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
16532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16534 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
16535 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
16537 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
16538 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
16540 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
16541 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
16543 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
16544 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
16546 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
16547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16549 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
16550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16552 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
16553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16555 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
16556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16558 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
16559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16561 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
16562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16564 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
16565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16567 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
16568 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
16570 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
16571 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
16573 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
16574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16576 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
16577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
16579 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
16580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16582 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
16583 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
16585 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
16586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16588 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
16589 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
16591 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
16592 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
16594 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
16595 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
16597 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
16598 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
16600 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
16601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16603 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
16604 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
16606 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
16607 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
16609 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
16610 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
16612 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
16613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16615 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
16616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16618 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
16619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16621 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
16622 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
16624 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
16625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16627 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
16628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16630 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
16631 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
16633 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
16634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16636 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
16637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16639 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
16640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16642 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16645 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16648 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
16649 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16651 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
16652 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16654 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
16655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16657 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
16658 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16660 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
16661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16663 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
16664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16666 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
16667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16669 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
16670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16672 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
16673 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16675 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
16676 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
16678 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
16679 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16681 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
16682 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
16684 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
16685 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
16687 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
16688 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16690 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
16691 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16693 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
16694 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
16696 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
16697 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
16699 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
16700 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16702 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
16703 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16705 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
16706 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16708 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
16709 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16711 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
16712 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16714 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
16715 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
16717 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
16718 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16720 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
16721 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16723 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
16724 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
16726 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
16727 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16729 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
16730 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16732 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
16733 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16735 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
16736 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16738 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
16739 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16741 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
16742 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16744 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
16745 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
16747 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
16748 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16750 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
16751 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16753 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
16754 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16756 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
16757 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16759 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
16760 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
16762 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
16763 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16765 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16766 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16767 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16768 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16769 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16770 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16771 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16772 static swig_type_info _swigt__p_wxGridCellRenderer
[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0, 0, 0, 0},{"_p_wxGridCellRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16773 static swig_type_info _swigt__p_wxGridCellStringRenderer
[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16774 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0, 0, 0, 0},{"_p_wxGridCellAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16775 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16776 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16777 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16778 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16779 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16780 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16781 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16782 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16783 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16784 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0, 0, 0, 0},{"_p_wxGridCellCoords", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16785 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16786 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16787 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16788 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16789 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16790 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16791 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16792 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16793 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16794 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16795 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16796 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16797 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0, 0, 0, 0},{"_p_wxGridEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16798 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16799 static swig_type_info _swigt__p_wxGridTableBase
[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase
, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16800 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16801 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0, 0, 0, 0},{"_p_wxPyGridCellEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16802 static swig_type_info _swigt__p_wxGridCellEditor
[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0, 0, 0, 0},{"_p_wxGridCellEditor", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16803 static swig_type_info _swigt__p_wxGridCellTextEditor
[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0, 0, 0, 0},{"_p_wxGridCellTextEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16804 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16805 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16806 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0, 0, 0, 0},{"_p_wxPyGridTableBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16807 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0, 0, 0, 0},{"_p_wxGridStringTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16808 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16809 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16810 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16811 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16812 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16813 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16814 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16815 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16816 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16818 static swig_type_info
*swig_types_initial
[] = {
16819 _swigt__p_wxGridCellAutoWrapStringRenderer
,
16820 _swigt__p_wxGridCellEnumRenderer
,
16821 _swigt__p_wxGridCellDateTimeRenderer
,
16822 _swigt__p_wxGridCellBoolRenderer
,
16823 _swigt__p_wxGridCellFloatRenderer
,
16824 _swigt__p_wxGridCellNumberRenderer
,
16825 _swigt__p_wxPyGridCellRenderer
,
16826 _swigt__p_wxGridCellRenderer
,
16827 _swigt__p_wxGridCellStringRenderer
,
16828 _swigt__p_wxGridCellAttr
,
16829 _swigt__p_wxColour
,
16831 _swigt__p_wxGridTableMessage
,
16835 _swigt__p_wxNotifyEvent
,
16836 _swigt__p_wxGridRangeSelectEvent
,
16838 _swigt__p_wxGridCellCoords
,
16839 _swigt__p_wxScrolledWindow
,
16840 _swigt__p_wxWindow
,
16842 _swigt__p_wxControl
,
16844 _swigt__p_wxObject
,
16845 _swigt__p_wxGridSizeEvent
,
16848 _swigt__p_wxString
,
16849 _swigt__p_wxEvtHandler
,
16851 _swigt__p_wxGridEvent
,
16852 _swigt__p_wxGridEditorCreatedEvent
,
16853 _swigt__p_wxGridTableBase
,
16854 _swigt__p_wxGridCellNumberEditor
,
16855 _swigt__p_wxPyGridCellEditor
,
16856 _swigt__p_wxGridCellEditor
,
16857 _swigt__p_wxGridCellTextEditor
,
16858 _swigt__p_wxGridCellFloatEditor
,
16859 _swigt__p_wxGridCellBoolEditor
,
16860 _swigt__p_wxPyGridTableBase
,
16861 _swigt__p_wxGridStringTable
,
16862 _swigt__p_wxArrayString
,
16863 _swigt__p_wxCommandEvent
,
16864 _swigt__p_wxGridCellAttrProvider
,
16865 _swigt__p_wxKeyEvent
,
16866 _swigt__p_wxGridCellChoiceEditor
,
16867 _swigt__p_wxGridCellEnumEditor
,
16868 _swigt__p_wxGridCellAutoWrapStringEditor
,
16870 _swigt__p_wxPyGridCellAttrProvider
,
16875 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16877 static swig_const_info swig_const_table
[] = {
16878 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
16879 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
16880 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
16881 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
16882 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
16883 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
16884 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
16885 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
16886 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
16887 {0, 0, 0, 0.0, 0, 0}};
16896 SWIGEXPORT(void) SWIG_init(void) {
16897 static PyObject
*SWIG_globals
= 0;
16898 static int typeinit
= 0;
16901 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
16902 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
16903 d
= PyModule_GetDict(m
);
16906 for (i
= 0; swig_types_initial
[i
]; i
++) {
16907 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
16911 SWIG_InstallConstants(d
,swig_const_table
);
16913 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
16914 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
16915 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
16916 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
16917 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
16918 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
16919 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
16920 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
16921 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
16922 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
16923 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
16924 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
16925 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
16926 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any
));
16927 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default
));
16928 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell
));
16929 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row
));
16930 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col
));
16931 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged
));
16932 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
16933 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
16934 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
16935 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
16936 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
16937 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
16938 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
16939 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
16940 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells
));
16941 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows
));
16942 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns
));
16943 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
16944 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
16945 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
16946 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
16947 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
16948 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
16949 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
16950 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
16951 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
16952 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
16953 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
16954 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
16955 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
16956 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
16957 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
16958 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));