1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
210 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
211 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
212 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
213 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
214 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
215 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
216 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
217 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
218 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
219 #define SWIGTYPE_p_wxColour swig_types[10]
220 #define SWIGTYPE_p_wxDC swig_types[11]
221 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
222 #define SWIGTYPE_p_wxGrid swig_types[13]
223 #define SWIGTYPE_p_char swig_types[14]
224 #define SWIGTYPE_p_wxPanel swig_types[15]
225 #define SWIGTYPE_p_wxNotifyEvent swig_types[16]
226 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxGridCellCoords swig_types[19]
229 #define SWIGTYPE_p_wxScrolledWindow swig_types[20]
230 #define SWIGTYPE_p_wxWindow swig_types[21]
231 #define SWIGTYPE_p_wxFont swig_types[22]
232 #define SWIGTYPE_p_wxControl swig_types[23]
233 #define SWIGTYPE_p_wxEvent swig_types[24]
234 #define SWIGTYPE_p_wxObject swig_types[25]
235 #define SWIGTYPE_p_wxGridSizeEvent swig_types[26]
236 #define SWIGTYPE_p_wxRect swig_types[27]
237 #define SWIGTYPE_p_long swig_types[28]
238 #define SWIGTYPE_p_wxString swig_types[29]
239 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
240 #define SWIGTYPE_p_wxPoint swig_types[31]
241 #define SWIGTYPE_p_wxGridEvent swig_types[32]
242 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]
243 #define SWIGTYPE_p_wxGridTableBase swig_types[34]
244 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
245 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
246 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
247 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
248 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]
249 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]
250 #define SWIGTYPE_p_wxPyGridTableBase swig_types[41]
251 #define SWIGTYPE_p_wxGridStringTable swig_types[42]
252 #define SWIGTYPE_p_wxArrayString swig_types[43]
253 #define SWIGTYPE_p_wxCommandEvent swig_types[44]
254 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]
255 #define SWIGTYPE_p_wxKeyEvent swig_types[46]
256 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]
257 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]
258 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]
261 static swig_type_info
*swig_types
[53];
263 /* -------- TYPES TABLE (END) -------- */
266 /*-----------------------------------------------
268 ------------------------------------------------*/
269 #define SWIG_init init_grid
271 #define SWIG_name "_grid"
273 /* Auxiliar swig macros */
276 #define SWIGSTATICINLINE(a) static inline a
277 #define SWIGSTATIC(a) static a
278 #define swig_new_array(type, size) (new type[(size)])
279 #define swig_delete_array(cptr) delete[] cptr
280 #define swig_const_cast(type,a) const_cast<type>(a)
281 #define swig_static_cast(type,a) static_cast<type>(a)
282 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
284 #ifdef HAVE_NUMERIC_CAST
285 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
287 #define swig_numeric_cast(type,a) static_cast<type>(a)
292 #define SWIGSTATICINLINE(a) static a
293 #define SWIGSTATIC(a) static a
294 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
295 #define swig_delete_array(cptr) free((char*)cptr)
296 #define swig_const_cast(type,a) (type)(a)
297 #define swig_static_cast(type,a) (type)(a)
298 #define swig_reinterpret_cast(type,a) (type)(a)
299 #define swig_numeric_cast(type,a) (type)(a)
301 #endif /* __cplusplus */
304 #define SWIG_FromSignedChar PyInt_FromLong
305 #define SWIG_FromUnsignedChar PyInt_FromLong
306 #define SWIG_FromShort PyInt_FromLong
307 #define SWIG_FromUnsignedShort PyInt_FromLong
308 #define SWIG_FromInt PyInt_FromLong
309 #define SWIG_FromLong PyInt_FromLong
310 #define SWIG_FromFloat PyFloat_FromDouble
311 #define SWIG_FromDouble PyFloat_FromDouble
312 #define SWIG_FromFloat PyFloat_FromDouble
313 #define SWIG_FromDouble PyFloat_FromDouble
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
318 #include "wx/wxPython/printfw.h"
321 #include <wx/generic/gridctrl.h>
324 static const wxString
wxPyEmptyString(wxEmptyString
);
325 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
326 static const wxString
wxPyDateTimeFormatStr(wxT("%c"));
329 #define wxPyMake_TEMPLATE(TYPE) \
330 PyObject* wxPyMake_##TYPE(TYPE* source) { \
331 PyObject* target = NULL; \
333 /* Check if there is already a pointer to a Python object in the \
334 OOR data that we can use. */ \
335 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
337 target = data->m_obj; \
340 /* Otherwise make a new wrapper for it the old fashioned way and \
341 give it the OOR treatment */ \
343 target = wxPyConstructObject(source, wxT(#TYPE), False); \
345 source->SetClientObject(new wxPyOORClientData(target)); \
347 } else { /* source was NULL so return None. */ \
348 Py_INCREF(Py_None); target = Py_None; \
354 wxPyMake_TEMPLATE(wxGridCellRenderer)
355 wxPyMake_TEMPLATE(wxGridCellEditor
)
356 wxPyMake_TEMPLATE(wxGridCellAttr
)
357 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
358 wxPyMake_TEMPLATE(wxGridTableBase
)
362 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
363 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
364 wxGridCellAttr* rval = NULL; \
366 bool blocked = wxPyBeginBlockThreads(); \
367 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
369 wxGridCellAttr* ptr; \
370 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
372 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
377 wxPyEndBlockThreads(blocked); \
379 rval = PCLASS::CBNAME(a, b, c); \
382 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
383 return PCLASS::CBNAME(a, b, c); \
388 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
389 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
390 bool blocked = wxPyBeginBlockThreads(); \
392 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
393 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
394 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
397 wxPyEndBlockThreads(blocked); \
399 PCLASS::CBNAME(attr, a, b); \
401 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
402 PCLASS::CBNAME(attr, a, b); \
407 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
408 void CBNAME(wxGridCellAttr *attr, int val) { \
409 bool blocked = wxPyBeginBlockThreads(); \
411 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
413 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
416 wxPyEndBlockThreads(blocked); \
418 PCLASS::CBNAME(attr, val); \
420 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
421 PCLASS::CBNAME(attr, val); \
426 #define PYCALLBACK_INT__pure(CBNAME) \
428 bool blocked = wxPyBeginBlockThreads(); \
430 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
431 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
432 wxPyEndBlockThreads(blocked); \
438 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
439 bool CBNAME(int a, int b) { \
440 bool blocked = wxPyBeginBlockThreads(); \
442 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
443 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
444 wxPyEndBlockThreads(blocked); \
449 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
450 wxString CBNAME(int a, int b) { \
451 bool blocked = wxPyBeginBlockThreads(); \
453 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
455 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
457 rval = Py2wxString(ro); \
461 wxPyEndBlockThreads(blocked); \
466 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
467 void CBNAME(int a, int b, const wxString& c) { \
468 bool blocked = wxPyBeginBlockThreads(); \
469 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
470 PyObject* s = wx2PyString(c); \
471 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
474 wxPyEndBlockThreads(blocked); \
478 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
479 wxString CBNAME(int a, int b) { \
481 bool blocked = wxPyBeginBlockThreads(); \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
485 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
487 rval = Py2wxString(ro); \
491 wxPyEndBlockThreads(blocked); \
493 rval = PCLASS::CBNAME(a, b); \
496 wxString base_##CBNAME(int a, int b) { \
497 return PCLASS::CBNAME(a, b); \
501 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
502 bool CBNAME(int a, int b, const wxString& c) { \
505 bool blocked = wxPyBeginBlockThreads(); \
506 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
507 PyObject* s = wx2PyString(c); \
508 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
511 wxPyEndBlockThreads(blocked); \
513 rval = PCLASS::CBNAME(a,b,c); \
516 bool base_##CBNAME(int a, int b, const wxString& c) { \
517 return PCLASS::CBNAME(a,b,c); \
523 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
524 long CBNAME(int a, int b) { \
527 bool blocked = wxPyBeginBlockThreads(); \
528 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
529 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
530 wxPyEndBlockThreads(blocked); \
532 rval = PCLASS::CBNAME(a,b); \
535 long base_##CBNAME(int a, int b) { \
536 return PCLASS::CBNAME(a,b); \
541 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
542 bool CBNAME(int a, int b) { \
545 bool blocked = wxPyBeginBlockThreads(); \
546 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
547 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
548 wxPyEndBlockThreads(blocked); \
550 rval = PCLASS::CBNAME(a,b); \
553 bool base_##CBNAME(int a, int b) { \
554 return PCLASS::CBNAME(a,b); \
559 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
560 double CBNAME(int a, int b) { \
562 bool blocked = wxPyBeginBlockThreads(); \
564 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
566 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
568 PyObject* str = PyObject_Str(ro); \
569 rval = PyFloat_AsDouble(str); \
570 Py_DECREF(ro); Py_DECREF(str); \
573 wxPyEndBlockThreads(blocked); \
575 rval = PCLASS::CBNAME(a, b); \
578 double base_##CBNAME(int a, int b) { \
579 return PCLASS::CBNAME(a, b); \
584 #define PYCALLBACK__(PCLASS, CBNAME) \
587 bool blocked = wxPyBeginBlockThreads(); \
588 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
589 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
590 wxPyEndBlockThreads(blocked); \
594 void base_##CBNAME() { \
601 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
602 bool CBNAME(size_t a, size_t b) { \
605 bool blocked = wxPyBeginBlockThreads(); \
606 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
607 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
608 wxPyEndBlockThreads(blocked); \
610 rval = PCLASS::CBNAME(a,b); \
613 bool base_##CBNAME(size_t a, size_t b) { \
614 return PCLASS::CBNAME(a,b); \
619 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
620 bool CBNAME(size_t a) { \
623 bool blocked = wxPyBeginBlockThreads(); \
624 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
626 wxPyEndBlockThreads(blocked); \
628 rval = PCLASS::CBNAME(a); \
631 bool base_##CBNAME(size_t a) { \
632 return PCLASS::CBNAME(a); \
636 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
637 wxString CBNAME(int a) { \
639 bool blocked = wxPyBeginBlockThreads(); \
641 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
643 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
645 rval = Py2wxString(ro); \
649 wxPyEndBlockThreads(blocked); \
651 rval = PCLASS::CBNAME(a); \
654 wxString base_##CBNAME(int a) { \
655 return PCLASS::CBNAME(a); \
659 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
660 void CBNAME(int a, const wxString& c) { \
662 bool blocked = wxPyBeginBlockThreads(); \
663 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
664 PyObject* s = wx2PyString(c); \
665 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
668 wxPyEndBlockThreads(blocked); \
670 PCLASS::CBNAME(a,c); \
672 void base_##CBNAME(int a, const wxString& c) { \
673 PCLASS::CBNAME(a,c); \
679 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
683 bool blocked = wxPyBeginBlockThreads(); \
684 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
685 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
686 wxPyEndBlockThreads(blocked); \
688 rval = PCLASS::CBNAME(); \
691 bool base_##CBNAME() { \
692 return PCLASS::CBNAME(); \
697 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
698 void CBNAME(size_t a, int b) { \
700 bool blocked = wxPyBeginBlockThreads(); \
701 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
702 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
703 wxPyEndBlockThreads(blocked); \
705 PCLASS::CBNAME(a,b); \
707 void base_##CBNAME(size_t a, int b) { \
708 PCLASS::CBNAME(a,b); \
714 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
715 void CBNAME(int a, int b, long c) { \
717 bool blocked = wxPyBeginBlockThreads(); \
718 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
719 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
720 wxPyEndBlockThreads(blocked); \
722 PCLASS::CBNAME(a,b,c); \
724 void base_##CBNAME(int a, int b, long c) { \
725 PCLASS::CBNAME(a,b,c); \
731 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
732 void CBNAME(int a, int b, double c) { \
734 bool blocked = wxPyBeginBlockThreads(); \
735 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
736 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
737 wxPyEndBlockThreads(blocked); \
739 PCLASS::CBNAME(a,b,c); \
741 void base_##CBNAME(int a, int b, double c) { \
742 PCLASS::CBNAME(a,b,c); \
747 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
748 void CBNAME(int a, int b, bool c) { \
750 bool blocked = wxPyBeginBlockThreads(); \
751 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
752 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
753 wxPyEndBlockThreads(blocked); \
755 PCLASS::CBNAME(a,b,c); \
757 void base_##CBNAME(int a, int b, bool c) { \
758 PCLASS::CBNAME(a,b,c); \
766 SWIGSTATICINLINE(PyObject
*)
767 SWIG_FromCharPtr(const char* cptr
)
769 size_t size
= cptr
? strlen(cptr
) : 0;
771 if (size
> INT_MAX
) {
772 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
773 SWIG_TypeQuery("char *"), 0);
775 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
783 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
784 self
->SetClientObject(new wxPyOORClientData(_self
));
790 SWIGSTATICINLINE(long)
791 SWIG_CheckLongInRange(long value
, const char* type
,
792 long min_value
, long max_value
)
794 if (!PyErr_Occurred()) {
795 if (value
< min_value
) {
797 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
798 value
, type
, min_value
);
800 PyErr_SetObject(PyExc_OverflowError
, err
);
802 } else if (value
> max_value
) {
804 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
805 value
, type
, max_value
);
806 PyErr_SetObject(PyExc_OverflowError
, err
);
814 SWIGSTATICINLINE(long)
815 SWIG_AsLong(PyObject
* obj
)
817 if (PyNumber_Check(obj
))
818 return PyInt_AsLong(obj
);
820 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
821 obj
->ob_type
->tp_name
);
822 PyErr_SetObject(PyExc_TypeError
, errmsg
);
829 #if INT_MAX != LONG_MAX
830 SWIGSTATICINLINE(int)
831 SWIG_AsInt(PyObject
*obj
)
833 return swig_numeric_cast(int,
834 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
835 "int", INT_MIN
, INT_MAX
));
838 #define SWIG_AsInt SWIG_AsLong
842 SWIGSTATICINLINE(bool)
843 SWIG_AsBool(PyObject
*obj
)
845 return PyObject_IsTrue(obj
) ? true : false;
849 SWIGSTATICINLINE(int)
850 SWIG_CheckInt(PyObject
* obj
)
853 if (PyErr_Occurred()) {
862 SWIGSTATICINLINE(int)
863 SWIG_CheckBool(PyObject
* obj
)
866 if (PyErr_Occurred()) {
875 class wxPyGridCellRenderer
: public wxGridCellRenderer
878 wxPyGridCellRenderer() : wxGridCellRenderer() {};
880 // Implement Python callback aware virtual methods
881 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
882 wxDC
& dc
, const wxRect
& rect
,
883 int row
, int col
, bool isSelected
) {
884 bool blocked
= wxPyBeginBlockThreads();
885 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
886 PyObject
* go
= wxPyMake_wxObject(&grid
);
887 PyObject
* dco
= wxPyMake_wxObject(&dc
);
888 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
889 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
891 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
892 row
, col
, isSelected
));
898 wxPyEndBlockThreads(blocked
);
901 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
904 bool blocked
= wxPyBeginBlockThreads();
905 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
908 PyObject
* go
= wxPyMake_wxObject(&grid
);
909 PyObject
* dco
= wxPyMake_wxObject(&dc
);
910 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
912 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
920 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
921 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
924 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
925 PyObject
* o1
= PySequence_GetItem(ro
, 0);
926 PyObject
* o2
= PySequence_GetItem(ro
, 1);
927 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
928 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
930 PyErr_SetString(PyExc_TypeError
, errmsg
);
935 PyErr_SetString(PyExc_TypeError
, errmsg
);
940 wxPyEndBlockThreads(blocked
);
945 wxGridCellRenderer
*Clone() const {
946 wxGridCellRenderer
* rval
= NULL
;
947 bool blocked
= wxPyBeginBlockThreads();
948 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
950 wxGridCellRenderer
* ptr
;
951 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
953 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
958 wxPyEndBlockThreads(blocked
);
962 DEC_PYCALLBACK__STRING(SetParameters
);
967 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
970 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
971 self
->SetClientObject(new wxPyOORClientData(_self
));
974 class wxPyGridCellEditor
: public wxGridCellEditor
977 wxPyGridCellEditor() : wxGridCellEditor() {}
979 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
980 bool blocked
= wxPyBeginBlockThreads();
981 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
982 PyObject
* po
= wxPyMake_wxObject(parent
);
983 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
985 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
989 wxPyEndBlockThreads(blocked
);
993 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
994 bool blocked
= wxPyBeginBlockThreads();
995 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
996 PyObject
* go
= wxPyMake_wxObject(grid
);
997 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1000 wxPyEndBlockThreads(blocked
);
1004 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
1006 bool blocked
= wxPyBeginBlockThreads();
1007 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
1008 PyObject
* go
= wxPyMake_wxObject(grid
);
1009 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1012 wxPyEndBlockThreads(blocked
);
1017 wxGridCellEditor
* Clone() const {
1018 wxGridCellEditor
* rval
= NULL
;
1019 bool blocked
= wxPyBeginBlockThreads();
1020 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
1022 wxGridCellEditor
* ptr
;
1023 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1025 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
1030 wxPyEndBlockThreads(blocked
);
1035 void Show(bool show
, wxGridCellAttr
*attr
) {
1037 bool blocked
= wxPyBeginBlockThreads();
1038 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
1039 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1040 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
1043 wxPyEndBlockThreads(blocked
);
1045 wxGridCellEditor::Show(show
, attr
);
1047 void base_Show(bool show
, wxGridCellAttr
*attr
) {
1048 wxGridCellEditor::Show(show
, attr
);
1052 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1054 bool blocked
= wxPyBeginBlockThreads();
1055 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
1056 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1057 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
1059 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
1064 wxPyEndBlockThreads(blocked
);
1066 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1068 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1069 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1073 DEC_PYCALLBACK___pure(Reset
);
1074 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
1075 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
1076 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
1077 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
1078 DEC_PYCALLBACK__(StartingClick
);
1079 DEC_PYCALLBACK__(Destroy
);
1080 DEC_PYCALLBACK__STRING(SetParameters
);
1081 DEC_PYCALLBACK_STRING__constpure(GetValue
);
1087 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
1088 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
1089 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
1090 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
1091 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
1092 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
1093 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
1094 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
1095 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
1098 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
1099 self
->SetClientObject(new wxPyOORClientData(_self
));
1102 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1108 } else if (target
== Py_None
) {
1112 if (!PyTuple_Check(target
)) {
1114 target
= PyTuple_New(1);
1115 PyTuple_SetItem(target
, 0, o2
);
1117 o3
= PyTuple_New(1);
1118 PyTuple_SetItem(o3
, 0, o
);
1121 target
= PySequence_Concat(o2
, o3
);
1128 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1129 self
->SetClientObject(new wxPyOORClientData(_self
));
1132 SWIGSTATICINLINE(unsigned long)
1133 SWIG_AsUnsignedLong(PyObject
* obj
)
1135 if (PyLong_Check(obj
)) {
1136 return PyLong_AsUnsignedLong(obj
);
1138 long i
= SWIG_AsLong(obj
);
1139 if ( !PyErr_Occurred() && (i
< 0)) {
1140 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1147 SWIGSTATICINLINE(int)
1148 SWIG_CheckUnsignedLong(PyObject
* obj
)
1150 SWIG_AsUnsignedLong(obj
);
1151 if (PyErr_Occurred()) {
1160 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1163 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1165 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1166 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1167 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1168 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1173 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1174 self
->SetClientObject(new wxPyOORClientData(_self
));
1177 SWIGSTATICINLINE(int)
1178 SWIG_CheckLong(PyObject
* obj
)
1181 if (PyErr_Occurred()) {
1190 SWIGSTATICINLINE(double)
1191 SWIG_AsDouble(PyObject
*obj
)
1193 if (PyNumber_Check(obj
))
1194 return PyFloat_AsDouble(obj
);
1196 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1197 obj
->ob_type
->tp_name
);
1198 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1205 SWIGSTATICINLINE(int)
1206 SWIG_CheckDouble(PyObject
* obj
)
1209 if (PyErr_Occurred()) {
1218 class wxPyGridTableBase
: public wxGridTableBase
1221 wxPyGridTableBase() : wxGridTableBase() {}
1223 PYCALLBACK_INT__pure(GetNumberRows
);
1224 PYCALLBACK_INT__pure(GetNumberCols
);
1225 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1226 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1227 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1228 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1229 PYCALLBACK__(wxGridTableBase
, Clear
);
1230 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1231 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1232 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1233 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1234 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1235 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1236 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1237 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1238 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1239 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1240 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1241 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1242 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1243 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1244 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1247 wxString
GetValue(int row
, int col
) {
1248 bool blocked
= wxPyBeginBlockThreads();
1250 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1252 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1254 rval
= Py2wxString(ro
);
1258 wxPyEndBlockThreads(blocked
);
1262 void SetValue(int row
, int col
, const wxString
& val
) {
1263 bool blocked
= wxPyBeginBlockThreads();
1264 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1265 PyObject
* s
= wx2PyString(val
);
1266 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1269 wxPyEndBlockThreads(blocked
);
1273 // Map the Get/Set methods for the standard non-string types to
1274 // the GetValue and SetValue python methods.
1275 long GetValueAsLong( int row
, int col
) {
1277 bool blocked
= wxPyBeginBlockThreads();
1278 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1281 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1282 if (ro
&& PyNumber_Check(ro
)) {
1283 num
= PyNumber_Int(ro
);
1285 rval
= PyInt_AsLong(num
);
1291 wxPyEndBlockThreads(blocked
);
1295 double GetValueAsDouble( int row
, int col
) {
1297 bool blocked
= wxPyBeginBlockThreads();
1298 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1301 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1302 if (ro
&& PyNumber_Check(ro
)) {
1303 num
= PyNumber_Float(ro
);
1305 rval
= PyFloat_AsDouble(num
);
1311 wxPyEndBlockThreads(blocked
);
1315 bool GetValueAsBool( int row
, int col
) {
1316 return (bool)GetValueAsLong(row
, col
);
1319 void SetValueAsLong( int row
, int col
, long value
) {
1320 bool blocked
= wxPyBeginBlockThreads();
1321 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1322 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1324 wxPyEndBlockThreads(blocked
);
1327 void SetValueAsDouble( int row
, int col
, double value
) {
1328 bool blocked
= wxPyBeginBlockThreads();
1329 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1330 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1332 wxPyEndBlockThreads(blocked
);
1335 void SetValueAsBool( int row
, int col
, bool value
) {
1336 SetValueAsLong( row
, col
, (long)value
);
1343 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1345 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1347 if (source
== Py_None
) {
1348 **obj
= wxGridCellCoords(-1,-1);
1352 // If source is an object instance then it may already be the right type
1353 if (wxPySwigInstance_Check(source
)) {
1354 wxGridCellCoords
* ptr
;
1355 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1360 // otherwise a 2-tuple of integers is expected
1361 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1362 PyObject
* o1
= PySequence_GetItem(source
, 0);
1363 PyObject
* o2
= PySequence_GetItem(source
, 1);
1364 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1369 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1376 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1381 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1384 if (wxPySwigInstance_Check(source
) &&
1385 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1389 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1396 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1398 PyObject
* list
= PyList_New(0);
1400 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1401 wxGridCellCoords
& coord
= source
.Item(idx
);
1402 PyObject
* tup
= PyTuple_New(2);
1403 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1404 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1405 PyList_Append(list
, tup
);
1411 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1412 PyObject
* tup
= PyTuple_New(2);
1413 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1414 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1418 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1420 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1421 wxGridCellCoords rv
;
1422 self
->XYToCell(x
, y
, rv
);
1428 static int _wrap_DateTimeFormatStr_set(PyObject
*_val
) {
1429 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1434 static PyObject
*_wrap_DateTimeFormatStr_get() {
1439 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1441 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1448 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1449 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1454 static PyObject
*_wrap_GridNoCellCoords_get() {
1457 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
1462 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1463 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1468 static PyObject
*_wrap_GridNoCellRect_get() {
1471 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
1476 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
*resultobj
;
1478 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1479 PyObject
*arg2
= (PyObject
*) 0 ;
1480 PyObject
* obj0
= 0 ;
1481 PyObject
* obj1
= 0 ;
1483 (char *) "self",(char *) "_self", NULL
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1497 Py_INCREF(Py_None
); resultobj
= Py_None
;
1504 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
*resultobj
;
1506 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1507 wxString
*arg2
= 0 ;
1508 bool temp2
= False
;
1509 PyObject
* obj0
= 0 ;
1510 PyObject
* obj1
= 0 ;
1512 (char *) "self",(char *) "params", NULL
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1519 arg2
= wxString_in_helper(obj1
);
1520 if (arg2
== NULL
) SWIG_fail
;
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 (arg1
)->SetParameters((wxString
const &)*arg2
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1530 Py_INCREF(Py_None
); resultobj
= Py_None
;
1545 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
*resultobj
;
1547 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1548 PyObject
* obj0
= 0 ;
1550 (char *) "self", NULL
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) SWIG_fail
;
1563 Py_INCREF(Py_None
); resultobj
= Py_None
;
1570 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
*resultobj
;
1572 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1573 PyObject
* obj0
= 0 ;
1575 (char *) "self", NULL
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1588 Py_INCREF(Py_None
); resultobj
= Py_None
;
1595 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1597 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1599 wxGridCellAttr
*arg3
= 0 ;
1606 PyObject
* obj0
= 0 ;
1607 PyObject
* obj1
= 0 ;
1608 PyObject
* obj2
= 0 ;
1609 PyObject
* obj3
= 0 ;
1610 PyObject
* obj4
= 0 ;
1611 PyObject
* obj5
= 0 ;
1612 PyObject
* obj6
= 0 ;
1613 PyObject
* obj7
= 0 ;
1615 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1625 PyErr_SetString(PyExc_TypeError
,"null reference");
1628 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1632 PyErr_SetString(PyExc_TypeError
,"null reference");
1635 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1639 PyErr_SetString(PyExc_TypeError
,"null reference");
1644 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1646 arg6
= (int) SWIG_AsInt(obj5
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1648 arg7
= (int) SWIG_AsInt(obj6
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1650 arg8
= (bool) SWIG_AsBool(obj7
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 Py_INCREF(Py_None
); resultobj
= Py_None
;
1666 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1670 wxGridCellAttr
*arg3
= 0 ;
1675 PyObject
* obj0
= 0 ;
1676 PyObject
* obj1
= 0 ;
1677 PyObject
* obj2
= 0 ;
1678 PyObject
* obj3
= 0 ;
1679 PyObject
* obj4
= 0 ;
1680 PyObject
* obj5
= 0 ;
1682 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1692 PyErr_SetString(PyExc_TypeError
,"null reference");
1695 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1699 PyErr_SetString(PyExc_TypeError
,"null reference");
1702 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1706 PyErr_SetString(PyExc_TypeError
,"null reference");
1709 arg5
= (int) SWIG_AsInt(obj4
);
1710 if (PyErr_Occurred()) SWIG_fail
;
1711 arg6
= (int) SWIG_AsInt(obj5
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1722 resultptr
= new wxSize((wxSize
&) result
);
1723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1731 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
*resultobj
;
1733 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1734 wxGridCellRenderer
*result
;
1735 PyObject
* obj0
= 0 ;
1737 (char *) "self", NULL
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1745 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1747 wxPyEndAllowThreads(__tstate
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1759 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1762 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1764 return Py_BuildValue((char *)"");
1766 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxPyGridCellRenderer
*result
;
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1788 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
*resultobj
;
1790 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1791 PyObject
*arg2
= (PyObject
*) 0 ;
1792 PyObject
*arg3
= (PyObject
*) 0 ;
1793 PyObject
* obj0
= 0 ;
1794 PyObject
* obj1
= 0 ;
1795 PyObject
* obj2
= 0 ;
1797 (char *) "self",(char *) "self",(char *) "_class", NULL
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1809 wxPyEndAllowThreads(__tstate
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1812 Py_INCREF(Py_None
); resultobj
= Py_None
;
1819 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
*resultobj
;
1821 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1822 wxString
*arg2
= 0 ;
1823 bool temp2
= False
;
1824 PyObject
* obj0
= 0 ;
1825 PyObject
* obj1
= 0 ;
1827 (char *) "self",(char *) "params", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1834 arg2
= wxString_in_helper(obj1
);
1835 if (arg2
== NULL
) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1863 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1865 return Py_BuildValue((char *)"");
1867 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxGridCellStringRenderer
*result
;
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1889 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1892 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1894 return Py_BuildValue((char *)"");
1896 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
*resultobj
;
1898 wxGridCellNumberRenderer
*result
;
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1918 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1921 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1923 return Py_BuildValue((char *)"");
1925 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 int arg1
= (int) -1 ;
1928 int arg2
= (int) -1 ;
1929 wxGridCellFloatRenderer
*result
;
1930 PyObject
* obj0
= 0 ;
1931 PyObject
* obj1
= 0 ;
1933 (char *) "width",(char *) "precision", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1938 arg1
= (int) SWIG_AsInt(obj0
);
1939 if (PyErr_Occurred()) SWIG_fail
;
1942 arg2
= (int) SWIG_AsInt(obj1
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1959 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1965 (char *) "self", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
1970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1978 resultobj
= SWIG_FromInt((int)result
);
1985 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1989 PyObject
* obj0
= 0 ;
1990 PyObject
* obj1
= 0 ;
1992 (char *) "self",(char *) "width", NULL
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
1997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1998 arg2
= (int) SWIG_AsInt(obj1
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 (arg1
)->SetWidth(arg2
);
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 Py_INCREF(Py_None
); resultobj
= Py_None
;
2014 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2020 (char *) "self", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
2024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 resultobj
= SWIG_FromInt((int)result
);
2040 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2042 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2044 PyObject
* obj0
= 0 ;
2045 PyObject
* obj1
= 0 ;
2047 (char *) "self",(char *) "precision", NULL
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
2051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2053 arg2
= (int) SWIG_AsInt(obj1
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 (arg1
)->SetPrecision(arg2
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 Py_INCREF(Py_None
); resultobj
= Py_None
;
2069 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2072 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
2074 return Py_BuildValue((char *)"");
2076 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxGridCellBoolRenderer
*result
;
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
2085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2086 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
2088 wxPyEndAllowThreads(__tstate
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
2098 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2101 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
2103 return Py_BuildValue((char *)"");
2105 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
*resultobj
;
2107 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
2108 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
2109 wxGridCellDateTimeRenderer
*result
;
2110 PyObject
* obj0
= 0 ;
2111 PyObject
* obj1
= 0 ;
2113 (char *) "outformat",(char *) "informat", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2119 wxString
* sptr
= wxString_in_helper(obj0
);
2120 if (sptr
== NULL
) SWIG_fail
;
2127 wxString
* sptr
= wxString_in_helper(obj1
);
2128 if (sptr
== NULL
) SWIG_fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2147 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2150 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2152 return Py_BuildValue((char *)"");
2154 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2156 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2157 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2158 wxGridCellEnumRenderer
*result
;
2159 bool temp1
= False
;
2160 PyObject
* obj0
= 0 ;
2162 (char *) "choices", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2168 arg1
= wxString_in_helper(obj0
);
2169 if (arg1
== NULL
) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2195 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2198 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2200 return Py_BuildValue((char *)"");
2202 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxGridCellAutoWrapStringRenderer
*result
;
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2224 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2227 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2229 return Py_BuildValue((char *)"");
2231 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2234 PyObject
*arg2
= (PyObject
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2236 PyObject
* obj1
= 0 ;
2238 (char *) "self",(char *) "_self", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (bool)(arg1
)->IsCreated();
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2287 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2293 (char *) "self", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 result
= (wxControl
*)(arg1
)->GetControl();
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2307 resultobj
= wxPyMake_wxObject(result
);
2315 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2317 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2318 wxControl
*arg2
= (wxControl
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2320 PyObject
* obj1
= 0 ;
2322 (char *) "self",(char *) "control", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 (arg1
)->SetControl(arg2
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 Py_INCREF(Py_None
); resultobj
= Py_None
;
2344 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2347 wxGridCellAttr
*result
;
2348 PyObject
* obj0
= 0 ;
2350 (char *) "self", NULL
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2364 resultobj
= wxPyMake_wxGridCellAttr(result
);
2372 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
*resultobj
;
2374 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2375 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2376 PyObject
* obj0
= 0 ;
2377 PyObject
* obj1
= 0 ;
2379 (char *) "self",(char *) "attr", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
2386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 (arg1
)->SetCellAttr(arg2
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2394 Py_INCREF(Py_None
); resultobj
= Py_None
;
2401 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
*resultobj
;
2403 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2404 wxString
*arg2
= 0 ;
2405 bool temp2
= False
;
2406 PyObject
* obj0
= 0 ;
2407 PyObject
* obj1
= 0 ;
2409 (char *) "self",(char *) "params", NULL
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2416 arg2
= wxString_in_helper(obj1
);
2417 if (arg2
== NULL
) SWIG_fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 (arg1
)->SetParameters((wxString
const &)*arg2
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2427 Py_INCREF(Py_None
); resultobj
= Py_None
;
2442 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
*resultobj
;
2444 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2445 PyObject
* obj0
= 0 ;
2447 (char *) "self", NULL
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2460 Py_INCREF(Py_None
); resultobj
= Py_None
;
2467 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
*resultobj
;
2469 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2470 PyObject
* obj0
= 0 ;
2472 (char *) "self", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2485 Py_INCREF(Py_None
); resultobj
= Py_None
;
2492 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
*resultobj
;
2494 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2495 wxWindow
*arg2
= (wxWindow
*) 0 ;
2497 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2498 PyObject
* obj0
= 0 ;
2499 PyObject
* obj1
= 0 ;
2500 PyObject
* obj2
= 0 ;
2501 PyObject
* obj3
= 0 ;
2503 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2511 arg3
= (int) SWIG_AsInt(obj2
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2513 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxEvtHandler
,
2514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 (arg1
)->Create(arg2
,arg3
,arg4
);
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 Py_INCREF(Py_None
); resultobj
= Py_None
;
2529 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2534 wxGrid
*arg4
= (wxGrid
*) 0 ;
2535 PyObject
* obj0
= 0 ;
2536 PyObject
* obj1
= 0 ;
2537 PyObject
* obj2
= 0 ;
2538 PyObject
* obj3
= 0 ;
2540 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2546 arg2
= (int) SWIG_AsInt(obj1
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2548 arg3
= (int) SWIG_AsInt(obj2
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2550 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 Py_INCREF(Py_None
); resultobj
= Py_None
;
2566 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2568 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2571 wxGrid
*arg4
= (wxGrid
*) 0 ;
2573 PyObject
* obj0
= 0 ;
2574 PyObject
* obj1
= 0 ;
2575 PyObject
* obj2
= 0 ;
2576 PyObject
* obj3
= 0 ;
2578 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2584 arg2
= (int) SWIG_AsInt(obj1
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2586 arg3
= (int) SWIG_AsInt(obj2
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2588 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2606 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2609 PyObject
* obj0
= 0 ;
2611 (char *) "self", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 Py_INCREF(Py_None
); resultobj
= Py_None
;
2631 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2634 wxGridCellEditor
*result
;
2635 PyObject
* obj0
= 0 ;
2637 (char *) "self", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2651 resultobj
= wxPyMake_wxGridCellEditor(result
);
2659 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2661 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2664 PyObject
* obj0
= 0 ;
2665 PyObject
* obj1
= 0 ;
2667 (char *) "self",(char *) "rect", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2675 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 (arg1
)->SetSize((wxRect
const &)*arg2
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2684 Py_INCREF(Py_None
); resultobj
= Py_None
;
2691 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2693 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2695 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2696 PyObject
* obj0
= 0 ;
2697 PyObject
* obj1
= 0 ;
2698 PyObject
* obj2
= 0 ;
2700 (char *) "self",(char *) "show",(char *) "attr", NULL
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2706 arg2
= (bool) SWIG_AsBool(obj1
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2709 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 (arg1
)->Show(arg2
,arg3
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2719 Py_INCREF(Py_None
); resultobj
= Py_None
;
2726 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2730 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2732 PyObject
* obj0
= 0 ;
2733 PyObject
* obj1
= 0 ;
2734 PyObject
* obj2
= 0 ;
2736 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2746 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2755 Py_INCREF(Py_None
); resultobj
= Py_None
;
2762 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2765 wxKeyEvent
*arg2
= 0 ;
2767 PyObject
* obj0
= 0 ;
2768 PyObject
* obj1
= 0 ;
2770 (char *) "self",(char *) "event", NULL
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2780 PyErr_SetString(PyExc_TypeError
,"null reference");
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2799 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2802 wxKeyEvent
*arg2
= 0 ;
2803 PyObject
* obj0
= 0 ;
2804 PyObject
* obj1
= 0 ;
2806 (char *) "self",(char *) "event", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2816 PyErr_SetString(PyExc_TypeError
,"null reference");
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 (arg1
)->StartingKey(*arg2
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2826 Py_INCREF(Py_None
); resultobj
= Py_None
;
2833 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
*resultobj
;
2835 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2836 PyObject
* obj0
= 0 ;
2838 (char *) "self", NULL
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 (arg1
)->StartingClick();
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2851 Py_INCREF(Py_None
); resultobj
= Py_None
;
2858 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2861 wxKeyEvent
*arg2
= 0 ;
2862 PyObject
* obj0
= 0 ;
2863 PyObject
* obj1
= 0 ;
2865 (char *) "self",(char *) "event", NULL
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2875 PyErr_SetString(PyExc_TypeError
,"null reference");
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 (arg1
)->HandleReturn(*arg2
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2885 Py_INCREF(Py_None
); resultobj
= Py_None
;
2892 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
*resultobj
;
2894 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2895 PyObject
* obj0
= 0 ;
2897 (char *) "self", NULL
2900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 Py_INCREF(Py_None
); resultobj
= Py_None
;
2917 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2920 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2922 return Py_BuildValue((char *)"");
2924 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxPyGridCellEditor
*result
;
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
2946 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
*resultobj
;
2948 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2949 PyObject
*arg2
= (PyObject
*) 0 ;
2950 PyObject
*arg3
= (PyObject
*) 0 ;
2951 PyObject
* obj0
= 0 ;
2952 PyObject
* obj1
= 0 ;
2953 PyObject
* obj2
= 0 ;
2955 (char *) "self",(char *) "self",(char *) "_class", NULL
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
2960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2970 Py_INCREF(Py_None
); resultobj
= Py_None
;
2977 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
;
2979 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "rect", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2993 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 Py_INCREF(Py_None
); resultobj
= Py_None
;
3009 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
*resultobj
;
3011 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3013 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3014 PyObject
* obj0
= 0 ;
3015 PyObject
* obj1
= 0 ;
3016 PyObject
* obj2
= 0 ;
3018 (char *) "self",(char *) "show",(char *) "attr", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3024 arg2
= (bool) SWIG_AsBool(obj1
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3027 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 (arg1
)->base_Show(arg2
,arg3
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 Py_INCREF(Py_None
); resultobj
= Py_None
;
3044 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3048 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3050 PyObject
* obj0
= 0 ;
3051 PyObject
* obj1
= 0 ;
3052 PyObject
* obj2
= 0 ;
3054 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3062 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3064 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3073 Py_INCREF(Py_None
); resultobj
= Py_None
;
3080 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
*resultobj
;
3082 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3083 wxKeyEvent
*arg2
= 0 ;
3085 PyObject
* obj0
= 0 ;
3086 PyObject
* obj1
= 0 ;
3088 (char *) "self",(char *) "event", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3098 PyErr_SetString(PyExc_TypeError
,"null reference");
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3117 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3120 wxKeyEvent
*arg2
= 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3124 (char *) "self",(char *) "event", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3134 PyErr_SetString(PyExc_TypeError
,"null reference");
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 (arg1
)->base_StartingKey(*arg2
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3144 Py_INCREF(Py_None
); resultobj
= Py_None
;
3151 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3154 PyObject
* obj0
= 0 ;
3156 (char *) "self", NULL
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
3160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 (arg1
)->base_StartingClick();
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3169 Py_INCREF(Py_None
); resultobj
= Py_None
;
3176 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
*resultobj
;
3178 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3179 wxKeyEvent
*arg2
= 0 ;
3180 PyObject
* obj0
= 0 ;
3181 PyObject
* obj1
= 0 ;
3183 (char *) "self",(char *) "event", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3193 PyErr_SetString(PyExc_TypeError
,"null reference");
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 (arg1
)->base_HandleReturn(*arg2
);
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3203 Py_INCREF(Py_None
); resultobj
= Py_None
;
3210 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
*resultobj
;
3212 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3213 PyObject
* obj0
= 0 ;
3215 (char *) "self", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 (arg1
)->base_Destroy();
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3228 Py_INCREF(Py_None
); resultobj
= Py_None
;
3235 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3238 wxString
*arg2
= 0 ;
3239 bool temp2
= False
;
3240 PyObject
* obj0
= 0 ;
3241 PyObject
* obj1
= 0 ;
3243 (char *) "self",(char *) "params", NULL
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3250 arg2
= wxString_in_helper(obj1
);
3251 if (arg2
== NULL
) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 Py_INCREF(Py_None
); resultobj
= Py_None
;
3276 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3279 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3281 return Py_BuildValue((char *)"");
3283 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxGridCellTextEditor
*result
;
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
3305 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3311 (char *) "self", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellTextEditor
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= (arg1
)->GetValue();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3337 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3340 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3342 return Py_BuildValue((char *)"");
3344 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
;
3346 int arg1
= (int) -1 ;
3347 int arg2
= (int) -1 ;
3348 wxGridCellNumberEditor
*result
;
3349 PyObject
* obj0
= 0 ;
3350 PyObject
* obj1
= 0 ;
3352 (char *) "min",(char *) "max", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3357 arg1
= (int) SWIG_AsInt(obj0
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3361 arg2
= (int) SWIG_AsInt(obj1
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3378 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3382 PyObject
* obj0
= 0 ;
3384 (char *) "self", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellNumberEditor
,
3389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= (arg1
)->GetValue();
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3410 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3413 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3415 return Py_BuildValue((char *)"");
3417 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxGridCellFloatEditor
*result
;
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3439 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3443 PyObject
* obj0
= 0 ;
3445 (char *) "self", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatEditor
,
3450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 result
= (arg1
)->GetValue();
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3471 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3474 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3476 return Py_BuildValue((char *)"");
3478 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
*resultobj
;
3480 wxGridCellBoolEditor
*result
;
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3500 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellBoolEditor
,
3511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (arg1
)->GetValue();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3532 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3535 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3537 return Py_BuildValue((char *)"");
3539 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 int arg1
= (int) 0 ;
3542 wxString
*arg2
= (wxString
*) NULL
;
3543 bool arg3
= (bool) False
;
3544 wxGridCellChoiceEditor
*result
;
3545 PyObject
* obj0
= 0 ;
3546 PyObject
* obj1
= 0 ;
3548 (char *) "choices",(char *) "allowOthers", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3554 arg1
= PyList_Size(obj0
);
3555 arg2
= wxString_LIST_helper(obj0
);
3556 if (arg2
== NULL
) SWIG_fail
;
3560 arg3
= (bool) SWIG_AsBool(obj1
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3572 if (arg2
) delete [] arg2
;
3577 if (arg2
) delete [] arg2
;
3583 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3587 PyObject
* obj0
= 0 ;
3589 (char *) "self", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellChoiceEditor
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 result
= (arg1
)->GetValue();
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3615 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3618 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3620 return Py_BuildValue((char *)"");
3622 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3625 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3626 wxGridCellEnumEditor
*result
;
3627 bool temp1
= False
;
3628 PyObject
* obj0
= 0 ;
3630 (char *) "choices", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3636 arg1
= wxString_in_helper(obj0
);
3637 if (arg1
== NULL
) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3663 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3669 (char *) "self", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEnumEditor
,
3674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 result
= (arg1
)->GetValue();
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3695 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3698 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3700 return Py_BuildValue((char *)"");
3702 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3704 wxGridCellAutoWrapStringEditor
*result
;
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3724 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "self", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (arg1
)->GetValue();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3756 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3759 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3761 return Py_BuildValue((char *)"");
3763 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
*resultobj
;
3765 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3766 PyObject
*arg2
= (PyObject
*) 0 ;
3767 PyObject
* obj0
= 0 ;
3768 PyObject
* obj1
= 0 ;
3770 (char *) "self",(char *) "_self", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3794 wxGridCellAttr
*result
;
3795 PyObject
* obj0
= 0 ;
3797 (char *) "attrDefault", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3813 resultobj
= wxPyMake_wxGridCellAttr(result
);
3821 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
;
3823 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3824 wxGridCellAttr
*result
;
3825 PyObject
* obj0
= 0 ;
3827 (char *) "self", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 resultobj
= wxPyMake_wxGridCellAttr(result
);
3849 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3852 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3853 PyObject
* obj0
= 0 ;
3854 PyObject
* obj1
= 0 ;
3856 (char *) "self",(char *) "mergefrom", NULL
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
3863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 (arg1
)->MergeWith(arg2
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 Py_INCREF(Py_None
); resultobj
= Py_None
;
3878 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3880 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3881 PyObject
* obj0
= 0 ;
3883 (char *) "self", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3908 (char *) "self", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 Py_INCREF(Py_None
); resultobj
= Py_None
;
3928 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3930 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3931 wxColour
*arg2
= 0 ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3936 (char *) "self",(char *) "colText", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3944 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 Py_INCREF(Py_None
); resultobj
= Py_None
;
3960 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3963 wxColour
*arg2
= 0 ;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3968 (char *) "self",(char *) "colBack", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3997 PyObject
* obj1
= 0 ;
3999 (char *) "self",(char *) "font", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4009 PyErr_SetString(PyExc_TypeError
,"null reference");
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 (arg1
)->SetFont((wxFont
const &)*arg2
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 Py_INCREF(Py_None
); resultobj
= Py_None
;
4026 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4033 PyObject
* obj2
= 0 ;
4035 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 arg2
= (int) SWIG_AsInt(obj1
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4043 arg3
= (int) SWIG_AsInt(obj2
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 (arg1
)->SetAlignment(arg2
,arg3
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 Py_INCREF(Py_None
); resultobj
= Py_None
;
4059 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4061 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4064 PyObject
* obj0
= 0 ;
4065 PyObject
* obj1
= 0 ;
4066 PyObject
* obj2
= 0 ;
4068 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4074 arg2
= (int) SWIG_AsInt(obj1
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4076 arg3
= (int) SWIG_AsInt(obj2
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 (arg1
)->SetSize(arg2
,arg3
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 Py_INCREF(Py_None
); resultobj
= Py_None
;
4092 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4095 bool arg2
= (bool) True
;
4096 PyObject
* obj0
= 0 ;
4097 PyObject
* obj1
= 0 ;
4099 (char *) "self",(char *) "allow", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
4103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4106 arg2
= (bool) SWIG_AsBool(obj1
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 (arg1
)->SetOverflow(arg2
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4126 bool arg2
= (bool) True
;
4127 PyObject
* obj0
= 0 ;
4128 PyObject
* obj1
= 0 ;
4130 (char *) "self",(char *) "isReadOnly", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
4134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4137 arg2
= (bool) SWIG_AsBool(obj1
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 (arg1
)->SetReadOnly(arg2
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 Py_INCREF(Py_None
); resultobj
= Py_None
;
4154 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4157 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4161 (char *) "self",(char *) "renderer", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
4165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
4168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 (arg1
)->SetRenderer(arg2
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 Py_INCREF(Py_None
); resultobj
= Py_None
;
4183 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4186 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4190 (char *) "self",(char *) "editor", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 (arg1
)->SetEditor(arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 (char *) "self",(char *) "kind", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 arg2
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj1
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 Py_INCREF(Py_None
); resultobj
= Py_None
;
4241 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4247 (char *) "self", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4269 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "self", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4297 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4301 PyObject
* obj0
= 0 ;
4303 (char *) "self", NULL
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4325 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4329 PyObject
* obj0
= 0 ;
4331 (char *) "self", NULL
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4353 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4359 (char *) "self", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4381 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4385 PyObject
* obj0
= 0 ;
4387 (char *) "self", NULL
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4409 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, 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_HasReadWriteMode",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
)->HasReadWriteMode();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4437 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4441 PyObject
* obj0
= 0 ;
4443 (char *) "self", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4465 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, 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_GetTextColour",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
)->GetTextColour();
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_GetBackgroundColour(PyObject
*self
, 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_GetBackgroundColour",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
)->GetBackgroundColour();
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 wxColour
* resultptr
;
4516 resultptr
= new wxColour((wxColour
&) result
);
4517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4525 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4546 resultptr
= new wxFont((wxFont
&) result
);
4547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
4555 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4558 int *arg2
= (int *) 0 ;
4559 int *arg3
= (int *) 0 ;
4562 PyObject
* obj0
= 0 ;
4564 (char *) "self", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 Py_INCREF(Py_None
); resultobj
= Py_None
;
4581 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4582 resultobj
= t_output_helper(resultobj
,o
);
4585 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4586 resultobj
= t_output_helper(resultobj
,o
);
4594 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4597 int *arg2
= (int *) 0 ;
4598 int *arg3
= (int *) 0 ;
4601 PyObject
* obj0
= 0 ;
4603 (char *) "self", NULL
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 Py_INCREF(Py_None
); resultobj
= Py_None
;
4620 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4621 resultobj
= t_output_helper(resultobj
,o
);
4624 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4625 resultobj
= t_output_helper(resultobj
,o
);
4633 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4637 PyObject
* obj0
= 0 ;
4639 (char *) "self", NULL
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4661 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4664 wxGrid
*arg2
= (wxGrid
*) 0 ;
4667 wxGridCellRenderer
*result
;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 PyObject
* obj3
= 0 ;
4673 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4681 arg3
= (int) SWIG_AsInt(obj2
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4683 arg4
= (int) SWIG_AsInt(obj3
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4701 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
;
4703 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4704 wxGrid
*arg2
= (wxGrid
*) 0 ;
4707 wxGridCellEditor
*result
;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4710 PyObject
* obj2
= 0 ;
4711 PyObject
* obj3
= 0 ;
4713 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4721 arg3
= (int) SWIG_AsInt(obj2
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4723 arg4
= (int) SWIG_AsInt(obj3
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= wxPyMake_wxGridCellEditor(result
);
4741 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4747 (char *) "self", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4769 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
;
4771 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4772 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4773 PyObject
* obj0
= 0 ;
4774 PyObject
* obj1
= 0 ;
4776 (char *) "self",(char *) "defAttr", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 (arg1
)->SetDefAttr(arg2
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 Py_INCREF(Py_None
); resultobj
= Py_None
;
4798 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4801 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4803 return Py_BuildValue((char *)"");
4805 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxGridCellAttrProvider
*result
;
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4829 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4832 PyObject
*arg2
= (PyObject
*) 0 ;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4836 (char *) "self",(char *) "_self", NULL
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 Py_INCREF(Py_None
); resultobj
= Py_None
;
4857 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4863 wxGridCellAttr
*result
;
4864 PyObject
* obj0
= 0 ;
4865 PyObject
* obj1
= 0 ;
4866 PyObject
* obj2
= 0 ;
4867 PyObject
* obj3
= 0 ;
4869 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 arg2
= (int) SWIG_AsInt(obj1
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4877 arg3
= (int) SWIG_AsInt(obj2
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4879 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= wxPyMake_wxGridCellAttr(result
);
4897 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4900 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4903 PyObject
* obj0
= 0 ;
4904 PyObject
* obj1
= 0 ;
4905 PyObject
* obj2
= 0 ;
4906 PyObject
* obj3
= 0 ;
4908 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4916 arg3
= (int) SWIG_AsInt(obj2
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4918 arg4
= (int) SWIG_AsInt(obj3
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 Py_INCREF(Py_None
); resultobj
= Py_None
;
4934 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4937 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4941 PyObject
* obj2
= 0 ;
4943 (char *) "self",(char *) "attr",(char *) "row", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4951 arg3
= (int) SWIG_AsInt(obj2
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 (arg1
)->SetRowAttr(arg2
,arg3
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 Py_INCREF(Py_None
); resultobj
= Py_None
;
4967 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4970 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4974 PyObject
* obj2
= 0 ;
4976 (char *) "self",(char *) "attr",(char *) "col", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4984 arg3
= (int) SWIG_AsInt(obj2
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 (arg1
)->SetColAttr(arg2
,arg3
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 Py_INCREF(Py_None
); resultobj
= Py_None
;
5000 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5007 PyObject
* obj2
= 0 ;
5009 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5015 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5017 arg3
= (int) SWIG_AsInt(obj2
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 (arg1
)->UpdateAttrRows(arg2
,arg3
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 Py_INCREF(Py_None
); resultobj
= Py_None
;
5033 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5039 PyObject
* obj1
= 0 ;
5040 PyObject
* obj2
= 0 ;
5042 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5048 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5050 arg3
= (int) SWIG_AsInt(obj2
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 (arg1
)->UpdateAttrCols(arg2
,arg3
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 Py_INCREF(Py_None
); resultobj
= Py_None
;
5066 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5069 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
5071 return Py_BuildValue((char *)"");
5073 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxPyGridCellAttrProvider
*result
;
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
5095 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5098 PyObject
*arg2
= (PyObject
*) 0 ;
5099 PyObject
*arg3
= (PyObject
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5102 PyObject
* obj2
= 0 ;
5104 (char *) "self",(char *) "self",(char *) "_class", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 Py_INCREF(Py_None
); resultobj
= Py_None
;
5126 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5132 wxGridCellAttr
*result
;
5133 PyObject
* obj0
= 0 ;
5134 PyObject
* obj1
= 0 ;
5135 PyObject
* obj2
= 0 ;
5136 PyObject
* obj3
= 0 ;
5138 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5144 arg2
= (int) SWIG_AsInt(obj1
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5146 arg3
= (int) SWIG_AsInt(obj2
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5148 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= wxPyMake_wxGridCellAttr(result
);
5166 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
;
5168 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5169 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5174 PyObject
* obj2
= 0 ;
5175 PyObject
* obj3
= 0 ;
5177 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 arg3
= (int) SWIG_AsInt(obj2
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5187 arg4
= (int) SWIG_AsInt(obj3
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 Py_INCREF(Py_None
); resultobj
= Py_None
;
5203 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5206 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5210 PyObject
* obj2
= 0 ;
5212 (char *) "self",(char *) "attr",(char *) "row", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 arg3
= (int) SWIG_AsInt(obj2
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 Py_INCREF(Py_None
); resultobj
= Py_None
;
5236 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5239 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5241 PyObject
* obj0
= 0 ;
5242 PyObject
* obj1
= 0 ;
5243 PyObject
* obj2
= 0 ;
5245 (char *) "self",(char *) "attr",(char *) "col", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 arg3
= (int) SWIG_AsInt(obj2
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 (arg1
)->base_SetColAttr(arg2
,arg3
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5262 Py_INCREF(Py_None
); resultobj
= Py_None
;
5269 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5272 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5274 return Py_BuildValue((char *)"");
5276 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5279 PyObject
*arg2
= (PyObject
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5281 PyObject
* obj1
= 0 ;
5283 (char *) "self",(char *) "_self", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 wxGridTableBase__setOORInfo(arg1
,arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5304 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5307 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5308 PyObject
* obj0
= 0 ;
5309 PyObject
* obj1
= 0 ;
5311 (char *) "self",(char *) "attrProvider", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
,
5318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 (arg1
)->SetAttrProvider(arg2
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 Py_INCREF(Py_None
); resultobj
= Py_None
;
5333 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5336 wxGridCellAttrProvider
*result
;
5337 PyObject
* obj0
= 0 ;
5339 (char *) "self", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
5361 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5364 wxGrid
*arg2
= (wxGrid
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "grid", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
5375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->SetView(arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5396 (char *) "self", NULL
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= wxPyMake_wxObject(result
);
5418 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5424 (char *) "self", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (int)(arg1
)->GetNumberRows();
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= SWIG_FromInt((int)result
);
5444 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5450 (char *) "self", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (int)(arg1
)->GetNumberCols();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_FromInt((int)result
);
5470 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, 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_IsEmptyCell",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
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5506 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5514 PyObject
* obj2
= 0 ;
5516 (char *) "self",(char *) "row",(char *) "col", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 arg2
= (int) SWIG_AsInt(obj1
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5524 arg3
= (int) SWIG_AsInt(obj2
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (arg1
)->GetValue(arg2
,arg3
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5546 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5551 wxString
*arg4
= 0 ;
5552 bool temp4
= False
;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5555 PyObject
* obj2
= 0 ;
5556 PyObject
* obj3
= 0 ;
5558 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 arg2
= (int) SWIG_AsInt(obj1
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5566 arg3
= (int) SWIG_AsInt(obj2
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 arg4
= wxString_in_helper(obj3
);
5570 if (arg4
== NULL
) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 PyObject
* obj2
= 0 ;
5605 (char *) "self",(char *) "row",(char *) "col", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 arg2
= (int) SWIG_AsInt(obj1
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5613 arg3
= (int) SWIG_AsInt(obj2
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5635 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5640 wxString
*arg4
= 0 ;
5642 bool temp4
= False
;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5645 PyObject
* obj2
= 0 ;
5646 PyObject
* obj3
= 0 ;
5648 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 arg2
= (int) SWIG_AsInt(obj1
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5656 arg3
= (int) SWIG_AsInt(obj2
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 arg4
= wxString_in_helper(obj3
);
5660 if (arg4
== NULL
) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5687 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5692 wxString
*arg4
= 0 ;
5694 bool temp4
= False
;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5697 PyObject
* obj2
= 0 ;
5698 PyObject
* obj3
= 0 ;
5700 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5706 arg2
= (int) SWIG_AsInt(obj1
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5708 arg3
= (int) SWIG_AsInt(obj2
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5711 arg4
= wxString_in_helper(obj3
);
5712 if (arg4
== NULL
) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5739 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5747 PyObject
* obj2
= 0 ;
5749 (char *) "self",(char *) "row",(char *) "col", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 arg2
= (int) SWIG_AsInt(obj1
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5757 arg3
= (int) SWIG_AsInt(obj2
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_FromLong((long)result
);
5773 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5781 PyObject
* obj2
= 0 ;
5783 (char *) "self",(char *) "row",(char *) "col", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 arg2
= (int) SWIG_AsInt(obj1
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5791 arg3
= (int) SWIG_AsInt(obj2
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= SWIG_FromDouble((double)result
);
5807 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5815 PyObject
* obj2
= 0 ;
5817 (char *) "self",(char *) "row",(char *) "col", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 arg2
= (int) SWIG_AsInt(obj1
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5825 arg3
= (int) SWIG_AsInt(obj2
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5843 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5851 PyObject
* obj2
= 0 ;
5852 PyObject
* obj3
= 0 ;
5854 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 arg2
= (int) SWIG_AsInt(obj1
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5862 arg3
= (int) SWIG_AsInt(obj2
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5864 arg4
= (long) SWIG_AsLong(obj3
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 Py_INCREF(Py_None
); resultobj
= Py_None
;
5880 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 PyObject
* obj2
= 0 ;
5889 PyObject
* obj3
= 0 ;
5891 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5897 arg2
= (int) SWIG_AsInt(obj1
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5899 arg3
= (int) SWIG_AsInt(obj2
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5901 arg4
= (double) SWIG_AsDouble(obj3
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5924 PyObject
* obj1
= 0 ;
5925 PyObject
* obj2
= 0 ;
5926 PyObject
* obj3
= 0 ;
5928 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 arg2
= (int) SWIG_AsInt(obj1
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5936 arg3
= (int) SWIG_AsInt(obj2
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5938 arg4
= (bool) SWIG_AsBool(obj3
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 Py_INCREF(Py_None
); resultobj
= Py_None
;
5954 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5957 PyObject
* obj0
= 0 ;
5959 (char *) "self", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 Py_INCREF(Py_None
); resultobj
= Py_None
;
5979 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
;
5981 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5982 size_t arg2
= (size_t) 0 ;
5983 size_t arg3
= (size_t) 1 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 PyObject
* obj2
= 0 ;
5989 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6000 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6019 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6022 size_t arg2
= (size_t) 1 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6027 (char *) "self",(char *) "numRows", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6034 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (bool)(arg1
)->AppendRows(arg2
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6053 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6056 size_t arg2
= (size_t) 0 ;
6057 size_t arg3
= (size_t) 1 ;
6059 PyObject
* obj0
= 0 ;
6060 PyObject
* obj1
= 0 ;
6061 PyObject
* obj2
= 0 ;
6063 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6093 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6096 size_t arg2
= (size_t) 0 ;
6097 size_t arg3
= (size_t) 1 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6101 PyObject
* obj2
= 0 ;
6103 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6110 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6114 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6133 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6136 size_t arg2
= (size_t) 1 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "self",(char *) "numCols", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (bool)(arg1
)->AppendCols(arg2
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6167 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6170 size_t arg2
= (size_t) 0 ;
6171 size_t arg3
= (size_t) 1 ;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6175 PyObject
* obj2
= 0 ;
6177 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6184 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6188 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6207 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6215 (char *) "self",(char *) "row", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6221 arg2
= (int) SWIG_AsInt(obj1
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (arg1
)->GetRowLabelValue(arg2
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6243 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6249 PyObject
* obj1
= 0 ;
6251 (char *) "self",(char *) "col", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 arg2
= (int) SWIG_AsInt(obj1
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (arg1
)->GetColLabelValue(arg2
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6279 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6283 wxString
*arg3
= 0 ;
6284 bool temp3
= False
;
6285 PyObject
* obj0
= 0 ;
6286 PyObject
* obj1
= 0 ;
6287 PyObject
* obj2
= 0 ;
6289 (char *) "self",(char *) "row",(char *) "value", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6295 arg2
= (int) SWIG_AsInt(obj1
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 arg3
= wxString_in_helper(obj2
);
6299 if (arg3
== NULL
) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 Py_INCREF(Py_None
); resultobj
= Py_None
;
6324 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6328 wxString
*arg3
= 0 ;
6329 bool temp3
= False
;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6332 PyObject
* obj2
= 0 ;
6334 (char *) "self",(char *) "col",(char *) "value", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 arg2
= (int) SWIG_AsInt(obj1
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 arg3
= wxString_in_helper(obj2
);
6344 if (arg3
== NULL
) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 Py_INCREF(Py_None
); resultobj
= Py_None
;
6369 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6375 (char *) "self", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (bool)(arg1
)->CanHaveAttributes();
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6397 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6403 wxGridCellAttr
*result
;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6406 PyObject
* obj2
= 0 ;
6407 PyObject
* obj3
= 0 ;
6409 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6415 arg2
= (int) SWIG_AsInt(obj1
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6417 arg3
= (int) SWIG_AsInt(obj2
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6419 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= wxPyMake_wxGridCellAttr(result
);
6437 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6440 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 PyObject
* obj2
= 0 ;
6446 PyObject
* obj3
= 0 ;
6448 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 arg3
= (int) SWIG_AsInt(obj2
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6458 arg4
= (int) SWIG_AsInt(obj3
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 Py_INCREF(Py_None
); resultobj
= Py_None
;
6474 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
;
6476 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6477 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6481 PyObject
* obj2
= 0 ;
6483 (char *) "self",(char *) "attr",(char *) "row", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6491 arg3
= (int) SWIG_AsInt(obj2
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 (arg1
)->SetRowAttr(arg2
,arg3
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 Py_INCREF(Py_None
); resultobj
= Py_None
;
6507 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6510 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6514 PyObject
* obj2
= 0 ;
6516 (char *) "self",(char *) "attr",(char *) "col", NULL
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6524 arg3
= (int) SWIG_AsInt(obj2
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 (arg1
)->SetColAttr(arg2
,arg3
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 Py_INCREF(Py_None
); resultobj
= Py_None
;
6540 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6543 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6545 return Py_BuildValue((char *)"");
6547 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxPyGridTableBase
*result
;
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
6569 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6572 PyObject
*arg2
= (PyObject
*) 0 ;
6573 PyObject
*arg3
= (PyObject
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 PyObject
* obj2
= 0 ;
6578 (char *) "self",(char *) "self",(char *) "_class", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6603 PyObject
* obj0
= 0 ;
6605 (char *) "self", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 wxPyGridTableBase_Destroy(arg1
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 Py_INCREF(Py_None
); resultobj
= Py_None
;
6625 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6631 PyObject
* obj0
= 0 ;
6632 PyObject
* obj1
= 0 ;
6633 PyObject
* obj2
= 0 ;
6635 (char *) "self",(char *) "row",(char *) "col", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6641 arg2
= (int) SWIG_AsInt(obj1
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6643 arg3
= (int) SWIG_AsInt(obj2
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6665 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6670 wxString
*arg4
= 0 ;
6672 bool temp4
= False
;
6673 PyObject
* obj0
= 0 ;
6674 PyObject
* obj1
= 0 ;
6675 PyObject
* obj2
= 0 ;
6676 PyObject
* obj3
= 0 ;
6678 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6684 arg2
= (int) SWIG_AsInt(obj1
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6686 arg3
= (int) SWIG_AsInt(obj2
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 arg4
= wxString_in_helper(obj3
);
6690 if (arg4
== NULL
) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6717 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6722 wxString
*arg4
= 0 ;
6724 bool temp4
= False
;
6725 PyObject
* obj0
= 0 ;
6726 PyObject
* obj1
= 0 ;
6727 PyObject
* obj2
= 0 ;
6728 PyObject
* obj3
= 0 ;
6730 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 arg2
= (int) SWIG_AsInt(obj1
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6738 arg3
= (int) SWIG_AsInt(obj2
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 arg4
= wxString_in_helper(obj3
);
6742 if (arg4
== NULL
) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6769 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6774 (char *) "self", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 (arg1
)->base_Clear();
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 Py_INCREF(Py_None
); resultobj
= Py_None
;
6794 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6797 size_t arg2
= (size_t) 0 ;
6798 size_t arg3
= (size_t) 1 ;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6802 PyObject
* obj2
= 0 ;
6804 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6834 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6837 size_t arg2
= (size_t) 1 ;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6842 (char *) "self",(char *) "numRows", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6849 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6868 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6871 size_t arg2
= (size_t) 0 ;
6872 size_t arg3
= (size_t) 1 ;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6876 PyObject
* obj2
= 0 ;
6878 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6885 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6889 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6908 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6911 size_t arg2
= (size_t) 0 ;
6912 size_t arg3
= (size_t) 1 ;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6916 PyObject
* obj2
= 0 ;
6918 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6948 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6951 size_t arg2
= (size_t) 1 ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6956 (char *) "self",(char *) "numCols", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6963 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6982 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6985 size_t arg2
= (size_t) 0 ;
6986 size_t arg3
= (size_t) 1 ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6992 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7022 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7030 (char *) "self",(char *) "row", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7036 arg2
= (int) SWIG_AsInt(obj1
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (arg1
)->base_GetRowLabelValue(arg2
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7058 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7063 PyObject
* obj0
= 0 ;
7064 PyObject
* obj1
= 0 ;
7066 (char *) "self",(char *) "col", NULL
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7072 arg2
= (int) SWIG_AsInt(obj1
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (arg1
)->base_GetColLabelValue(arg2
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7094 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7096 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7098 wxString
*arg3
= 0 ;
7099 bool temp3
= False
;
7100 PyObject
* obj0
= 0 ;
7101 PyObject
* obj1
= 0 ;
7102 PyObject
* obj2
= 0 ;
7104 (char *) "self",(char *) "row",(char *) "value", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7110 arg2
= (int) SWIG_AsInt(obj1
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 arg3
= wxString_in_helper(obj2
);
7114 if (arg3
== NULL
) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 Py_INCREF(Py_None
); resultobj
= Py_None
;
7139 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7143 wxString
*arg3
= 0 ;
7144 bool temp3
= False
;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 PyObject
* obj2
= 0 ;
7149 (char *) "self",(char *) "col",(char *) "value", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 arg2
= (int) SWIG_AsInt(obj1
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 arg3
= wxString_in_helper(obj2
);
7159 if (arg3
== NULL
) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "self", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (bool)(arg1
)->base_CanHaveAttributes();
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7212 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7218 wxGridCellAttr
*result
;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7221 PyObject
* obj2
= 0 ;
7222 PyObject
* obj3
= 0 ;
7224 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7230 arg2
= (int) SWIG_AsInt(obj1
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7232 arg3
= (int) SWIG_AsInt(obj2
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7234 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= wxPyMake_wxGridCellAttr(result
);
7252 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7255 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7260 PyObject
* obj2
= 0 ;
7261 PyObject
* obj3
= 0 ;
7263 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7271 arg3
= (int) SWIG_AsInt(obj2
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7273 arg4
= (int) SWIG_AsInt(obj3
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 Py_INCREF(Py_None
); resultobj
= Py_None
;
7289 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7292 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7296 PyObject
* obj2
= 0 ;
7298 (char *) "self",(char *) "attr",(char *) "row", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7306 arg3
= (int) SWIG_AsInt(obj2
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7325 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 PyObject
* obj2
= 0 ;
7331 (char *) "self",(char *) "attr",(char *) "col", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 arg3
= (int) SWIG_AsInt(obj2
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 (arg1
)->base_SetColAttr(arg2
,arg3
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 Py_INCREF(Py_None
); resultobj
= Py_None
;
7355 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
7357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7358 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7360 return Py_BuildValue((char *)"");
7362 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 int arg1
= (int) 0 ;
7365 int arg2
= (int) 0 ;
7366 wxGridStringTable
*result
;
7367 PyObject
* obj0
= 0 ;
7368 PyObject
* obj1
= 0 ;
7370 (char *) "numRows",(char *) "numCols", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7375 arg1
= (int) SWIG_AsInt(obj0
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7379 arg2
= (int) SWIG_AsInt(obj1
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
7396 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
7398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7399 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7401 return Py_BuildValue((char *)"");
7403 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7405 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7407 int arg3
= (int) -1 ;
7408 int arg4
= (int) -1 ;
7409 wxGridTableMessage
*result
;
7410 PyObject
* obj0
= 0 ;
7411 PyObject
* obj1
= 0 ;
7412 PyObject
* obj2
= 0 ;
7413 PyObject
* obj3
= 0 ;
7415 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
7420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7421 arg2
= (int) SWIG_AsInt(obj1
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 arg3
= (int) SWIG_AsInt(obj2
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7428 arg4
= (int) SWIG_AsInt(obj3
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
7445 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7450 (char *) "self", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 Py_INCREF(Py_None
); resultobj
= Py_None
;
7470 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7473 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7477 (char *) "self",(char *) "table", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
7484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->SetTableObject(arg2
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7502 wxGridTableBase
*result
;
7503 PyObject
* obj0
= 0 ;
7505 (char *) "self", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= wxPyMake_wxGridTableBase(result
);
7527 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7531 PyObject
* obj0
= 0 ;
7532 PyObject
* obj1
= 0 ;
7534 (char *) "self",(char *) "id", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7540 arg2
= (int) SWIG_AsInt(obj1
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 (arg1
)->SetId(arg2
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 Py_INCREF(Py_None
); resultobj
= Py_None
;
7556 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7560 PyObject
* obj0
= 0 ;
7562 (char *) "self", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (int)(arg1
)->GetId();
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_FromInt((int)result
);
7582 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7589 (char *) "self",(char *) "comInt1", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7595 arg2
= (int) SWIG_AsInt(obj1
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 (arg1
)->SetCommandInt(arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 Py_INCREF(Py_None
); resultobj
= Py_None
;
7611 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7615 PyObject
* obj0
= 0 ;
7617 (char *) "self", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (int)(arg1
)->GetCommandInt();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_FromInt((int)result
);
7637 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7644 (char *) "self",(char *) "comInt2", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 arg2
= (int) SWIG_AsInt(obj1
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 (arg1
)->SetCommandInt2(arg2
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 Py_INCREF(Py_None
); resultobj
= Py_None
;
7666 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7672 (char *) "self", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (int)(arg1
)->GetCommandInt2();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_FromInt((int)result
);
7692 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
7694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7695 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7697 return Py_BuildValue((char *)"");
7699 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 int arg1
= (int) -1 ;
7702 int arg2
= (int) -1 ;
7703 wxGridCellCoords
*result
;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7707 (char *) "r",(char *) "c", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7712 arg1
= (int) SWIG_AsInt(obj0
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 arg2
= (int) SWIG_AsInt(obj1
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
7733 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "self", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 Py_INCREF(Py_None
); resultobj
= Py_None
;
7758 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "self", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_FromInt((int)result
);
7784 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7789 PyObject
* obj1
= 0 ;
7791 (char *) "self",(char *) "n", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7797 arg2
= (int) SWIG_AsInt(obj1
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 (arg1
)->SetRow(arg2
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 Py_INCREF(Py_None
); resultobj
= Py_None
;
7813 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "self", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_FromInt((int)result
);
7839 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7844 PyObject
* obj1
= 0 ;
7846 (char *) "self",(char *) "n", NULL
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
7850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7852 arg2
= (int) SWIG_AsInt(obj1
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 (arg1
)->SetCol(arg2
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 Py_INCREF(Py_None
); resultobj
= Py_None
;
7868 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7875 PyObject
* obj2
= 0 ;
7877 (char *) "self",(char *) "row",(char *) "col", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7883 arg2
= (int) SWIG_AsInt(obj1
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7885 arg3
= (int) SWIG_AsInt(obj2
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 (arg1
)->Set(arg2
,arg3
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 Py_INCREF(Py_None
); resultobj
= Py_None
;
7901 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7904 wxGridCellCoords
*arg2
= 0 ;
7906 wxGridCellCoords temp2
;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7910 (char *) "self",(char *) "other", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7918 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7936 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7939 wxGridCellCoords
*arg2
= 0 ;
7941 wxGridCellCoords temp2
;
7942 PyObject
* obj0
= 0 ;
7943 PyObject
* obj1
= 0 ;
7945 (char *) "self",(char *) "other", NULL
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7953 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7971 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
;
7973 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7975 PyObject
* obj0
= 0 ;
7977 (char *) "self", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7997 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8000 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
8002 return Py_BuildValue((char *)"");
8004 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxWindow
*arg1
= (wxWindow
*) 0 ;
8008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8012 long arg5
= (long) wxWANTS_CHARS
;
8013 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8014 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8018 bool temp6
= False
;
8019 PyObject
* obj0
= 0 ;
8020 PyObject
* obj1
= 0 ;
8021 PyObject
* obj2
= 0 ;
8022 PyObject
* obj3
= 0 ;
8023 PyObject
* obj4
= 0 ;
8024 PyObject
* obj5
= 0 ;
8026 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8032 arg2
= (int) SWIG_AsInt(obj1
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8047 arg5
= (long) SWIG_AsLong(obj4
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8052 arg6
= wxString_in_helper(obj5
);
8053 if (arg6
== NULL
) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= wxPyMake_wxObject(result
);
8081 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxGrid
*arg1
= (wxGrid
*) 0 ;
8086 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8088 PyObject
* obj0
= 0 ;
8089 PyObject
* obj1
= 0 ;
8090 PyObject
* obj2
= 0 ;
8091 PyObject
* obj3
= 0 ;
8093 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8099 arg2
= (int) SWIG_AsInt(obj1
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8101 arg3
= (int) SWIG_AsInt(obj2
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8123 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxGrid
*arg1
= (wxGrid
*) 0 ;
8126 WXGRIDSELECTIONMODES arg2
;
8127 PyObject
* obj0
= 0 ;
8128 PyObject
* obj1
= 0 ;
8130 (char *) "self",(char *) "selmode", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8136 arg2
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj1
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 (arg1
)->SetSelectionMode(arg2
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 Py_INCREF(Py_None
); resultobj
= Py_None
;
8152 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxGrid
*arg1
= (wxGrid
*) 0 ;
8155 WXGRIDSELECTIONMODES result
;
8156 PyObject
* obj0
= 0 ;
8158 (char *) "self", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= SWIG_FromInt((int)result
);
8178 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxGrid
*arg1
= (wxGrid
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "self", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (int)(arg1
)->GetNumberRows();
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_FromInt((int)result
);
8204 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxGrid
*arg1
= (wxGrid
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (int)(arg1
)->GetNumberCols();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= SWIG_FromInt((int)result
);
8230 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxGrid
*arg1
= (wxGrid
*) 0 ;
8233 wxGridTableMessage
*arg2
= 0 ;
8235 PyObject
* obj0
= 0 ;
8236 PyObject
* obj1
= 0 ;
8238 (char *) "self","arg2", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8248 PyErr_SetString(PyExc_TypeError
,"null reference");
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8267 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxGrid
*arg1
= (wxGrid
*) 0 ;
8270 wxGridTableBase
*result
;
8271 PyObject
* obj0
= 0 ;
8273 (char *) "self", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= wxPyMake_wxGridTableBase(result
);
8295 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxGrid
*arg1
= (wxGrid
*) 0 ;
8298 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8299 bool arg3
= (bool) False
;
8300 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8304 PyObject
* obj2
= 0 ;
8305 PyObject
* obj3
= 0 ;
8307 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
8314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8316 arg3
= (bool) SWIG_AsBool(obj2
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8320 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxGrid
*arg1
= (wxGrid
*) 0 ;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "self", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 (arg1
)->ClearGrid();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 Py_INCREF(Py_None
); resultobj
= Py_None
;
8364 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxGrid
*arg1
= (wxGrid
*) 0 ;
8367 int arg2
= (int) 0 ;
8368 int arg3
= (int) 1 ;
8369 bool arg4
= (bool) True
;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8373 PyObject
* obj2
= 0 ;
8374 PyObject
* obj3
= 0 ;
8376 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 arg2
= (int) SWIG_AsInt(obj1
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8387 arg3
= (int) SWIG_AsInt(obj2
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8391 arg4
= (bool) SWIG_AsBool(obj3
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8410 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxGrid
*arg1
= (wxGrid
*) 0 ;
8413 int arg2
= (int) 1 ;
8414 bool arg3
= (bool) True
;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8418 PyObject
* obj2
= 0 ;
8420 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 arg2
= (int) SWIG_AsInt(obj1
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8431 arg3
= (bool) SWIG_AsBool(obj2
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8450 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxGrid
*arg1
= (wxGrid
*) 0 ;
8453 int arg2
= (int) 0 ;
8454 int arg3
= (int) 1 ;
8455 bool arg4
= (bool) True
;
8457 PyObject
* obj0
= 0 ;
8458 PyObject
* obj1
= 0 ;
8459 PyObject
* obj2
= 0 ;
8460 PyObject
* obj3
= 0 ;
8462 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8469 arg2
= (int) SWIG_AsInt(obj1
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8473 arg3
= (int) SWIG_AsInt(obj2
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8477 arg4
= (bool) SWIG_AsBool(obj3
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8496 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxGrid
*arg1
= (wxGrid
*) 0 ;
8499 int arg2
= (int) 0 ;
8500 int arg3
= (int) 1 ;
8501 bool arg4
= (bool) True
;
8503 PyObject
* obj0
= 0 ;
8504 PyObject
* obj1
= 0 ;
8505 PyObject
* obj2
= 0 ;
8506 PyObject
* obj3
= 0 ;
8508 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8515 arg2
= (int) SWIG_AsInt(obj1
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 arg3
= (int) SWIG_AsInt(obj2
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8523 arg4
= (bool) SWIG_AsBool(obj3
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxGrid
*arg1
= (wxGrid
*) 0 ;
8545 int arg2
= (int) 1 ;
8546 bool arg3
= (bool) True
;
8548 PyObject
* obj0
= 0 ;
8549 PyObject
* obj1
= 0 ;
8550 PyObject
* obj2
= 0 ;
8552 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8559 arg2
= (int) SWIG_AsInt(obj1
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 arg3
= (bool) SWIG_AsBool(obj2
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8582 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxGrid
*arg1
= (wxGrid
*) 0 ;
8585 int arg2
= (int) 0 ;
8586 int arg3
= (int) 1 ;
8587 bool arg4
= (bool) True
;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8591 PyObject
* obj2
= 0 ;
8592 PyObject
* obj3
= 0 ;
8594 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8601 arg2
= (int) SWIG_AsInt(obj1
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8605 arg3
= (int) SWIG_AsInt(obj2
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8609 arg4
= (bool) SWIG_AsBool(obj3
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8628 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxGrid
*arg1
= (wxGrid
*) 0 ;
8632 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8635 PyObject
* obj2
= 0 ;
8637 (char *) "self",(char *) "dc",(char *) "attr", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8647 PyErr_SetString(PyExc_TypeError
,"null reference");
8650 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
8651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 Py_INCREF(Py_None
); resultobj
= Py_None
;
8666 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxGrid
*arg1
= (wxGrid
*) 0 ;
8670 wxString
*arg3
= 0 ;
8672 int arg5
= (int) wxLEFT
;
8673 int arg6
= (int) wxTOP
;
8674 int arg7
= (int) wxHORIZONTAL
;
8675 bool temp3
= False
;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8679 PyObject
* obj2
= 0 ;
8680 PyObject
* obj3
= 0 ;
8681 PyObject
* obj4
= 0 ;
8682 PyObject
* obj5
= 0 ;
8683 PyObject
* obj6
= 0 ;
8685 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8695 PyErr_SetString(PyExc_TypeError
,"null reference");
8699 arg3
= wxString_in_helper(obj2
);
8700 if (arg3
== NULL
) SWIG_fail
;
8705 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8708 arg5
= (int) SWIG_AsInt(obj4
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 arg6
= (int) SWIG_AsInt(obj5
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 arg7
= (int) SWIG_AsInt(obj6
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 Py_INCREF(Py_None
); resultobj
= Py_None
;
8741 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
;
8743 wxGrid
*arg1
= (wxGrid
*) 0 ;
8745 wxArrayString
*arg3
= 0 ;
8746 long *arg4
= (long *) 0 ;
8747 long *arg5
= (long *) 0 ;
8748 bool temp3
= False
;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8753 PyObject
* obj2
= 0 ;
8755 (char *) "self",(char *) "dc",(char *) "lines", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8767 PyErr_SetString(PyExc_TypeError
,"null reference");
8771 if (! PySequence_Check(obj2
)) {
8772 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8775 arg3
= new wxArrayString
;
8777 int i
, len
=PySequence_Length(obj2
);
8778 for (i
=0; i
<len
; i
++) {
8779 PyObject
* item
= PySequence_GetItem(obj2
, i
);
8781 PyObject
* str
= PyObject_Unicode(item
);
8783 PyObject
* str
= PyObject_Str(item
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8786 arg3
->Add(Py2wxString(str
));
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 Py_INCREF(Py_None
); resultobj
= Py_None
;
8800 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8801 resultobj
= t_output_helper(resultobj
,o
);
8804 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8805 resultobj
= t_output_helper(resultobj
,o
);
8808 if (temp3
) delete arg3
;
8813 if (temp3
) delete arg3
;
8819 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxGrid
*arg1
= (wxGrid
*) 0 ;
8822 PyObject
* obj0
= 0 ;
8824 (char *) "self", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 (arg1
)->BeginBatch();
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 Py_INCREF(Py_None
); resultobj
= Py_None
;
8844 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxGrid
*arg1
= (wxGrid
*) 0 ;
8847 PyObject
* obj0
= 0 ;
8849 (char *) "self", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
8853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 Py_INCREF(Py_None
); resultobj
= Py_None
;
8869 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxGrid
*arg1
= (wxGrid
*) 0 ;
8873 PyObject
* obj0
= 0 ;
8875 (char *) "self", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
8879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 result
= (int)(arg1
)->GetBatchCount();
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= SWIG_FromInt((int)result
);
8895 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxGrid
*arg1
= (wxGrid
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8900 (char *) "self", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
8904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 (arg1
)->ForceRefresh();
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 Py_INCREF(Py_None
); resultobj
= Py_None
;
8920 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxGrid
*arg1
= (wxGrid
*) 0 ;
8924 PyObject
* obj0
= 0 ;
8926 (char *) "self", NULL
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
8930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 result
= (bool)(arg1
)->IsEditable();
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8948 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxGrid
*arg1
= (wxGrid
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8955 (char *) "self",(char *) "edit", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 arg2
= (bool) SWIG_AsBool(obj1
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 (arg1
)->EnableEditing(arg2
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8977 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxGrid
*arg1
= (wxGrid
*) 0 ;
8980 bool arg2
= (bool) True
;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8984 (char *) "self",(char *) "enable", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
8988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8991 arg2
= (bool) SWIG_AsBool(obj1
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 (arg1
)->EnableCellEditControl(arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxGrid
*arg1
= (wxGrid
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9013 (char *) "self", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 (arg1
)->DisableCellEditControl();
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 Py_INCREF(Py_None
); resultobj
= Py_None
;
9033 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9035 wxGrid
*arg1
= (wxGrid
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9039 (char *) "self", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9061 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxGrid
*arg1
= (wxGrid
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9089 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxGrid
*arg1
= (wxGrid
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9095 (char *) "self", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
9099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9117 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxGrid
*arg1
= (wxGrid
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9123 (char *) "self", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9145 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxGrid
*arg1
= (wxGrid
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 (arg1
)->ShowCellEditControl();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 Py_INCREF(Py_None
); resultobj
= Py_None
;
9170 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxGrid
*arg1
= (wxGrid
*) 0 ;
9173 PyObject
* obj0
= 0 ;
9175 (char *) "self", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 (arg1
)->HideCellEditControl();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 Py_INCREF(Py_None
); resultobj
= Py_None
;
9195 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxGrid
*arg1
= (wxGrid
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9200 (char *) "self", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 (arg1
)->SaveEditControlValue();
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 Py_INCREF(Py_None
); resultobj
= Py_None
;
9220 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9222 wxGrid
*arg1
= (wxGrid
*) 0 ;
9225 wxGridCellCoords result
;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 PyObject
* obj2
= 0 ;
9230 (char *) "self",(char *) "x",(char *) "y", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 arg2
= (int) SWIG_AsInt(obj1
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9238 arg3
= (int) SWIG_AsInt(obj2
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9248 wxGridCellCoords
* resultptr
;
9249 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
9258 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxGrid
*arg1
= (wxGrid
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9266 (char *) "self",(char *) "y", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg2
= (int) SWIG_AsInt(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (int)(arg1
)->YToRow(arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_FromInt((int)result
);
9288 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxGrid
*arg1
= (wxGrid
*) 0 ;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9296 (char *) "self",(char *) "x", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9302 arg2
= (int) SWIG_AsInt(obj1
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 result
= (int)(arg1
)->XToCol(arg2
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9311 resultobj
= SWIG_FromInt((int)result
);
9318 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxGrid
*arg1
= (wxGrid
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9326 (char *) "self",(char *) "y", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9332 arg2
= (int) SWIG_AsInt(obj1
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_FromInt((int)result
);
9348 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxGrid
*arg1
= (wxGrid
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9354 PyObject
* obj1
= 0 ;
9356 (char *) "self",(char *) "x", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9362 arg2
= (int) SWIG_AsInt(obj1
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_FromInt((int)result
);
9378 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxGrid
*arg1
= (wxGrid
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9385 PyObject
* obj1
= 0 ;
9386 PyObject
* obj2
= 0 ;
9388 (char *) "self",(char *) "row",(char *) "col", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9394 arg2
= (int) SWIG_AsInt(obj1
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9396 arg3
= (int) SWIG_AsInt(obj2
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (arg1
)->CellToRect(arg2
,arg3
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9407 resultptr
= new wxRect((wxRect
&) result
);
9408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9416 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxGrid
*arg1
= (wxGrid
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (int)(arg1
)->GetGridCursorRow();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_FromInt((int)result
);
9442 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxGrid
*arg1
= (wxGrid
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (int)(arg1
)->GetGridCursorCol();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= SWIG_FromInt((int)result
);
9468 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxGrid
*arg1
= (wxGrid
*) 0 ;
9473 bool arg4
= (bool) True
;
9475 PyObject
* obj0
= 0 ;
9476 PyObject
* obj1
= 0 ;
9477 PyObject
* obj2
= 0 ;
9478 PyObject
* obj3
= 0 ;
9480 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg4
= (bool) SWIG_AsBool(obj3
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9510 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxGrid
*arg1
= (wxGrid
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9516 PyObject
* obj1
= 0 ;
9517 PyObject
* obj2
= 0 ;
9519 (char *) "self",(char *) "row",(char *) "col", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9525 arg2
= (int) SWIG_AsInt(obj1
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9527 arg3
= (int) SWIG_AsInt(obj2
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 (arg1
)->MakeCellVisible(arg2
,arg3
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 Py_INCREF(Py_None
); resultobj
= Py_None
;
9543 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxGrid
*arg1
= (wxGrid
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9550 PyObject
* obj2
= 0 ;
9552 (char *) "self",(char *) "row",(char *) "col", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 arg2
= (int) SWIG_AsInt(obj1
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9560 arg3
= (int) SWIG_AsInt(obj2
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 (arg1
)->SetGridCursor(arg2
,arg3
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 Py_INCREF(Py_None
); resultobj
= Py_None
;
9576 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxGrid
*arg1
= (wxGrid
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9584 (char *) "self",(char *) "expandSelection", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 arg2
= (bool) SWIG_AsBool(obj1
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9608 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxGrid
*arg1
= (wxGrid
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9614 PyObject
* obj1
= 0 ;
9616 (char *) "self",(char *) "expandSelection", NULL
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9622 arg2
= (bool) SWIG_AsBool(obj1
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9640 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxGrid
*arg1
= (wxGrid
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9648 (char *) "self",(char *) "expandSelection", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 arg2
= (bool) SWIG_AsBool(obj1
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9672 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxGrid
*arg1
= (wxGrid
*) 0 ;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9680 (char *) "self",(char *) "expandSelection", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9686 arg2
= (bool) SWIG_AsBool(obj1
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9704 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxGrid
*arg1
= (wxGrid
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9710 (char *) "self", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (bool)(arg1
)->MovePageDown();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9732 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxGrid
*arg1
= (wxGrid
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 (char *) "self", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (bool)(arg1
)->MovePageUp();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxGrid
*arg1
= (wxGrid
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9768 (char *) "self",(char *) "expandSelection", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9774 arg2
= (bool) SWIG_AsBool(obj1
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9792 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxGrid
*arg1
= (wxGrid
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9798 PyObject
* obj1
= 0 ;
9800 (char *) "self",(char *) "expandSelection", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9806 arg2
= (bool) SWIG_AsBool(obj1
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9824 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxGrid
*arg1
= (wxGrid
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9830 PyObject
* obj1
= 0 ;
9832 (char *) "self",(char *) "expandSelection", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9838 arg2
= (bool) SWIG_AsBool(obj1
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9856 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxGrid
*arg1
= (wxGrid
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9864 (char *) "self",(char *) "expandSelection", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9870 arg2
= (bool) SWIG_AsBool(obj1
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9888 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxGrid
*arg1
= (wxGrid
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (int)(arg1
)->GetDefaultRowLabelSize();
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_FromInt((int)result
);
9914 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxGrid
*arg1
= (wxGrid
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (int)(arg1
)->GetRowLabelSize();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_FromInt((int)result
);
9940 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxGrid
*arg1
= (wxGrid
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (int)(arg1
)->GetDefaultColLabelSize();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_FromInt((int)result
);
9966 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxGrid
*arg1
= (wxGrid
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9972 (char *) "self", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
9976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (int)(arg1
)->GetColLabelSize();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_FromInt((int)result
);
9992 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxGrid
*arg1
= (wxGrid
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (arg1
)->GetLabelBackgroundColour();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10012 wxColour
* resultptr
;
10013 resultptr
= new wxColour((wxColour
&) result
);
10014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10022 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxGrid
*arg1
= (wxGrid
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (arg1
)->GetLabelTextColour();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10042 wxColour
* resultptr
;
10043 resultptr
= new wxColour((wxColour
&) result
);
10044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10052 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxGrid
*arg1
= (wxGrid
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (arg1
)->GetLabelFont();
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10072 wxFont
* resultptr
;
10073 resultptr
= new wxFont((wxFont
&) result
);
10074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
10082 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxGrid
*arg1
= (wxGrid
*) 0 ;
10085 int *arg2
= (int *) 0 ;
10086 int *arg3
= (int *) 0 ;
10089 PyObject
* obj0
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
10097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 Py_INCREF(Py_None
); resultobj
= Py_None
;
10108 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10109 resultobj
= t_output_helper(resultobj
,o
);
10112 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10113 resultobj
= t_output_helper(resultobj
,o
);
10121 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxGrid
*arg1
= (wxGrid
*) 0 ;
10124 int *arg2
= (int *) 0 ;
10125 int *arg3
= (int *) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
10136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 Py_INCREF(Py_None
); resultobj
= Py_None
;
10147 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10148 resultobj
= t_output_helper(resultobj
,o
);
10151 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10152 resultobj
= t_output_helper(resultobj
,o
);
10160 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxGrid
*arg1
= (wxGrid
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (int)(arg1
)->GetColLabelTextOrientation();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_FromInt((int)result
);
10186 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxGrid
*arg1
= (wxGrid
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "row", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10200 arg2
= (int) SWIG_AsInt(obj1
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (arg1
)->GetRowLabelValue(arg2
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10222 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxGrid
*arg1
= (wxGrid
*) 0 ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self",(char *) "col", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10236 arg2
= (int) SWIG_AsInt(obj1
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (arg1
)->GetColLabelValue(arg2
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10258 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxGrid
*arg1
= (wxGrid
*) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (arg1
)->GetGridLineColour();
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10278 wxColour
* resultptr
;
10279 resultptr
= new wxColour((wxColour
&) result
);
10280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10288 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxGrid
*arg1
= (wxGrid
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (arg1
)->GetCellHighlightColour();
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10308 wxColour
* resultptr
;
10309 resultptr
= new wxColour((wxColour
&) result
);
10310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10318 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxGrid
*arg1
= (wxGrid
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_FromInt((int)result
);
10344 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxGrid
*arg1
= (wxGrid
*) 0 ;
10348 PyObject
* obj0
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= SWIG_FromInt((int)result
);
10370 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxGrid
*arg1
= (wxGrid
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "width", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 arg2
= (int) SWIG_AsInt(obj1
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 (arg1
)->SetRowLabelSize(arg2
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxGrid
*arg1
= (wxGrid
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "height", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 arg2
= (int) SWIG_AsInt(obj1
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 (arg1
)->SetColLabelSize(arg2
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 Py_INCREF(Py_None
); resultobj
= Py_None
;
10428 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10430 wxGrid
*arg1
= (wxGrid
*) 0 ;
10431 wxColour
*arg2
= 0 ;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10435 char *kwnames
[] = {
10436 (char *) "self","arg2", NULL
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10444 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 Py_INCREF(Py_None
); resultobj
= Py_None
;
10460 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
;
10462 wxGrid
*arg1
= (wxGrid
*) 0 ;
10463 wxColour
*arg2
= 0 ;
10465 PyObject
* obj0
= 0 ;
10466 PyObject
* obj1
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self","arg2", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10476 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 Py_INCREF(Py_None
); resultobj
= Py_None
;
10492 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxGrid
*arg1
= (wxGrid
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "self","arg2", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
10506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10508 if (arg2
== NULL
) {
10509 PyErr_SetString(PyExc_TypeError
,"null reference");
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 Py_INCREF(Py_None
); resultobj
= Py_None
;
10526 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxGrid
*arg1
= (wxGrid
*) 0 ;
10531 PyObject
* obj0
= 0 ;
10532 PyObject
* obj1
= 0 ;
10533 PyObject
* obj2
= 0 ;
10534 char *kwnames
[] = {
10535 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10541 arg2
= (int) SWIG_AsInt(obj1
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10543 arg3
= (int) SWIG_AsInt(obj2
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 Py_INCREF(Py_None
); resultobj
= Py_None
;
10559 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxGrid
*arg1
= (wxGrid
*) 0 ;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 PyObject
* obj2
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 arg2
= (int) SWIG_AsInt(obj1
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10576 arg3
= (int) SWIG_AsInt(obj2
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 Py_INCREF(Py_None
); resultobj
= Py_None
;
10592 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxGrid
*arg1
= (wxGrid
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self",(char *) "textOrientation", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10605 arg2
= (int) SWIG_AsInt(obj1
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 (arg1
)->SetColLabelTextOrientation(arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 Py_INCREF(Py_None
); resultobj
= Py_None
;
10621 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxGrid
*arg1
= (wxGrid
*) 0 ;
10625 wxString
*arg3
= 0 ;
10626 bool temp3
= False
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 PyObject
* obj2
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self",(char *) "row","arg3", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10637 arg2
= (int) SWIG_AsInt(obj1
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 arg3
= wxString_in_helper(obj2
);
10641 if (arg3
== NULL
) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 Py_INCREF(Py_None
); resultobj
= Py_None
;
10666 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxGrid
*arg1
= (wxGrid
*) 0 ;
10670 wxString
*arg3
= 0 ;
10671 bool temp3
= False
;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 PyObject
* obj2
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self",(char *) "col","arg3", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10682 arg2
= (int) SWIG_AsInt(obj1
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 arg3
= wxString_in_helper(obj2
);
10686 if (arg3
== NULL
) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxGrid
*arg1
= (wxGrid
*) 0 ;
10714 wxColour
*arg2
= 0 ;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self","arg2", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 Py_INCREF(Py_None
); resultobj
= Py_None
;
10743 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxGrid
*arg1
= (wxGrid
*) 0 ;
10746 wxColour
*arg2
= 0 ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self","arg2", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxGrid
*arg1
= (wxGrid
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "width", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10788 arg2
= (int) SWIG_AsInt(obj1
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 (arg1
)->SetCellHighlightPenWidth(arg2
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 Py_INCREF(Py_None
); resultobj
= Py_None
;
10804 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxGrid
*arg1
= (wxGrid
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 PyObject
* obj1
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self",(char *) "width", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 arg2
= (int) SWIG_AsInt(obj1
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetCellHighlightROPenWidth(arg2
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxGrid
*arg1
= (wxGrid
*) 0 ;
10836 bool arg2
= (bool) True
;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self",(char *) "enable", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10847 arg2
= (bool) SWIG_AsBool(obj1
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 (arg1
)->EnableDragRowSize(arg2
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 Py_INCREF(Py_None
); resultobj
= Py_None
;
10864 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxGrid
*arg1
= (wxGrid
*) 0 ;
10867 PyObject
* obj0
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
10873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 (arg1
)->DisableDragRowSize();
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 Py_INCREF(Py_None
); resultobj
= Py_None
;
10889 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxGrid
*arg1
= (wxGrid
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
10899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (bool)(arg1
)->CanDragRowSize();
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10917 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxGrid
*arg1
= (wxGrid
*) 0 ;
10920 bool arg2
= (bool) True
;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self",(char *) "enable", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 arg2
= (bool) SWIG_AsBool(obj1
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 (arg1
)->EnableDragColSize(arg2
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxGrid
*arg1
= (wxGrid
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->DisableDragColSize();
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxGrid
*arg1
= (wxGrid
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (bool)(arg1
)->CanDragColSize();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxGrid
*arg1
= (wxGrid
*) 0 ;
11004 bool arg2
= (bool) True
;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "enable", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 arg2
= (bool) SWIG_AsBool(obj1
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->EnableDragGridSize(arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxGrid
*arg1
= (wxGrid
*) 0 ;
11035 PyObject
* obj0
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
11041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 (arg1
)->DisableDragGridSize();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxGrid
*arg1
= (wxGrid
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
11067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (bool)(arg1
)->CanDragGridSize();
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11085 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxGrid
*arg1
= (wxGrid
*) 0 ;
11090 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 PyObject
* obj2
= 0 ;
11094 PyObject
* obj3
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 arg2
= (int) SWIG_AsInt(obj1
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11104 arg3
= (int) SWIG_AsInt(obj2
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11106 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
,
11107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 Py_INCREF(Py_None
); resultobj
= Py_None
;
11122 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
;
11124 wxGrid
*arg1
= (wxGrid
*) 0 ;
11126 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 PyObject
* obj2
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self",(char *) "row",(char *) "attr", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11137 arg2
= (int) SWIG_AsInt(obj1
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11139 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 (arg1
)->SetRowAttr(arg2
,arg3
);
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11148 Py_INCREF(Py_None
); resultobj
= Py_None
;
11155 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 wxGrid
*arg1
= (wxGrid
*) 0 ;
11159 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11160 PyObject
* obj0
= 0 ;
11161 PyObject
* obj1
= 0 ;
11162 PyObject
* obj2
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "self",(char *) "col",(char *) "attr", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11170 arg2
= (int) SWIG_AsInt(obj1
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11172 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 (arg1
)->SetColAttr(arg2
,arg3
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 Py_INCREF(Py_None
); resultobj
= Py_None
;
11188 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxGrid
*arg1
= (wxGrid
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self",(char *) "col", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11201 arg2
= (int) SWIG_AsInt(obj1
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 (arg1
)->SetColFormatBool(arg2
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 Py_INCREF(Py_None
); resultobj
= Py_None
;
11217 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
;
11219 wxGrid
*arg1
= (wxGrid
*) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self",(char *) "col", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11230 arg2
= (int) SWIG_AsInt(obj1
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 (arg1
)->SetColFormatNumber(arg2
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxGrid
*arg1
= (wxGrid
*) 0 ;
11250 int arg3
= (int) -1 ;
11251 int arg4
= (int) -1 ;
11252 PyObject
* obj0
= 0 ;
11253 PyObject
* obj1
= 0 ;
11254 PyObject
* obj2
= 0 ;
11255 PyObject
* obj3
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11263 arg2
= (int) SWIG_AsInt(obj1
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 arg3
= (int) SWIG_AsInt(obj2
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 arg4
= (int) SWIG_AsInt(obj3
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 Py_INCREF(Py_None
); resultobj
= Py_None
;
11287 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxGrid
*arg1
= (wxGrid
*) 0 ;
11291 wxString
*arg3
= 0 ;
11292 bool temp3
= False
;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 PyObject
* obj2
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self",(char *) "col",(char *) "typeName", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11303 arg2
= (int) SWIG_AsInt(obj1
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 arg3
= wxString_in_helper(obj2
);
11307 if (arg3
== NULL
) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 Py_INCREF(Py_None
); resultobj
= Py_None
;
11332 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxGrid
*arg1
= (wxGrid
*) 0 ;
11335 bool arg2
= (bool) True
;
11336 PyObject
* obj0
= 0 ;
11337 PyObject
* obj1
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self",(char *) "enable", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11346 arg2
= (bool) SWIG_AsBool(obj1
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->EnableGridLines(arg2
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxGrid
*arg1
= (wxGrid
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (bool)(arg1
)->GridLinesEnabled();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11391 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxGrid
*arg1
= (wxGrid
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (int)(arg1
)->GetDefaultRowSize();
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_FromInt((int)result
);
11417 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxGrid
*arg1
= (wxGrid
*) 0 ;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self",(char *) "row", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11431 arg2
= (int) SWIG_AsInt(obj1
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (int)(arg1
)->GetRowSize(arg2
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_FromInt((int)result
);
11447 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxGrid
*arg1
= (wxGrid
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (int)(arg1
)->GetDefaultColSize();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_FromInt((int)result
);
11473 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxGrid
*arg1
= (wxGrid
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "col", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11487 arg2
= (int) SWIG_AsInt(obj1
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (int)(arg1
)->GetColSize(arg2
);
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= SWIG_FromInt((int)result
);
11503 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxGrid
*arg1
= (wxGrid
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (arg1
)->GetDefaultCellBackgroundColour();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 wxColour
* resultptr
;
11524 resultptr
= new wxColour((wxColour
&) result
);
11525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11533 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxGrid
*arg1
= (wxGrid
*) 0 ;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 PyObject
* obj2
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "self",(char *) "row",(char *) "col", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11549 arg2
= (int) SWIG_AsInt(obj1
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11551 arg3
= (int) SWIG_AsInt(obj2
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 wxColour
* resultptr
;
11562 resultptr
= new wxColour((wxColour
&) result
);
11563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11571 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxGrid
*arg1
= (wxGrid
*) 0 ;
11575 PyObject
* obj0
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (arg1
)->GetDefaultCellTextColour();
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11591 wxColour
* resultptr
;
11592 resultptr
= new wxColour((wxColour
&) result
);
11593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11601 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxGrid
*arg1
= (wxGrid
*) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self",(char *) "row",(char *) "col", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11617 arg2
= (int) SWIG_AsInt(obj1
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11619 arg3
= (int) SWIG_AsInt(obj2
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11629 wxColour
* resultptr
;
11630 resultptr
= new wxColour((wxColour
&) result
);
11631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11639 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxGrid
*arg1
= (wxGrid
*) 0 ;
11643 PyObject
* obj0
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (arg1
)->GetDefaultCellFont();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 wxFont
* resultptr
;
11660 resultptr
= new wxFont((wxFont
&) result
);
11661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11669 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxGrid
*arg1
= (wxGrid
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 PyObject
* obj2
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "row",(char *) "col", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11685 arg2
= (int) SWIG_AsInt(obj1
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11687 arg3
= (int) SWIG_AsInt(obj2
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (arg1
)->GetCellFont(arg2
,arg3
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 wxFont
* resultptr
;
11698 resultptr
= new wxFont((wxFont
&) result
);
11699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11707 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxGrid
*arg1
= (wxGrid
*) 0 ;
11710 int *arg2
= (int *) 0 ;
11711 int *arg3
= (int *) 0 ;
11714 PyObject
* obj0
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "self", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
11722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 Py_INCREF(Py_None
); resultobj
= Py_None
;
11733 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11734 resultobj
= t_output_helper(resultobj
,o
);
11737 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11738 resultobj
= t_output_helper(resultobj
,o
);
11746 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxGrid
*arg1
= (wxGrid
*) 0 ;
11751 int *arg4
= (int *) 0 ;
11752 int *arg5
= (int *) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 PyObject
* obj2
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self",(char *) "row",(char *) "col", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 arg2
= (int) SWIG_AsInt(obj1
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11769 arg3
= (int) SWIG_AsInt(obj2
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 Py_INCREF(Py_None
); resultobj
= Py_None
;
11780 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11781 resultobj
= t_output_helper(resultobj
,o
);
11784 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11785 resultobj
= t_output_helper(resultobj
,o
);
11793 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxGrid
*arg1
= (wxGrid
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (bool)(arg1
)->GetDefaultCellOverflow();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11821 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxGrid
*arg1
= (wxGrid
*) 0 ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 PyObject
* obj2
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self",(char *) "row",(char *) "col", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 arg2
= (int) SWIG_AsInt(obj1
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11839 arg3
= (int) SWIG_AsInt(obj2
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11857 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxGrid
*arg1
= (wxGrid
*) 0 ;
11862 int *arg4
= (int *) 0 ;
11863 int *arg5
= (int *) 0 ;
11866 PyObject
* obj0
= 0 ;
11867 PyObject
* obj1
= 0 ;
11868 PyObject
* obj2
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self",(char *) "row",(char *) "col", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11878 arg2
= (int) SWIG_AsInt(obj1
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11880 arg3
= (int) SWIG_AsInt(obj2
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 Py_INCREF(Py_None
); resultobj
= Py_None
;
11891 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11892 resultobj
= t_output_helper(resultobj
,o
);
11895 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11896 resultobj
= t_output_helper(resultobj
,o
);
11904 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxGrid
*arg1
= (wxGrid
*) 0 ;
11908 bool arg3
= (bool) False
;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 PyObject
* obj2
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 arg2
= (int) SWIG_AsInt(obj1
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 arg3
= (bool) SWIG_AsBool(obj2
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 Py_INCREF(Py_None
); resultobj
= Py_None
;
11939 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxGrid
*arg1
= (wxGrid
*) 0 ;
11944 PyObject
* obj0
= 0 ;
11945 PyObject
* obj1
= 0 ;
11946 PyObject
* obj2
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self",(char *) "row",(char *) "height", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11954 arg2
= (int) SWIG_AsInt(obj1
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11956 arg3
= (int) SWIG_AsInt(obj2
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 (arg1
)->SetRowSize(arg2
,arg3
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 Py_INCREF(Py_None
); resultobj
= Py_None
;
11972 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxGrid
*arg1
= (wxGrid
*) 0 ;
11976 bool arg3
= (bool) False
;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 PyObject
* obj2
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11987 arg2
= (int) SWIG_AsInt(obj1
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 arg3
= (bool) SWIG_AsBool(obj2
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 (arg1
)->SetDefaultColSize(arg2
,arg3
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 Py_INCREF(Py_None
); resultobj
= Py_None
;
12007 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxGrid
*arg1
= (wxGrid
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 PyObject
* obj2
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self",(char *) "col",(char *) "width", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12022 arg2
= (int) SWIG_AsInt(obj1
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12024 arg3
= (int) SWIG_AsInt(obj2
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 (arg1
)->SetColSize(arg2
,arg3
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 Py_INCREF(Py_None
); resultobj
= Py_None
;
12040 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxGrid
*arg1
= (wxGrid
*) 0 ;
12044 bool arg3
= (bool) True
;
12045 PyObject
* obj0
= 0 ;
12046 PyObject
* obj1
= 0 ;
12047 PyObject
* obj2
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12055 arg2
= (int) SWIG_AsInt(obj1
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 arg3
= (bool) SWIG_AsBool(obj2
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 (arg1
)->AutoSizeColumn(arg2
,arg3
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 Py_INCREF(Py_None
); resultobj
= Py_None
;
12075 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxGrid
*arg1
= (wxGrid
*) 0 ;
12079 bool arg3
= (bool) True
;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 PyObject
* obj2
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12090 arg2
= (int) SWIG_AsInt(obj1
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 arg3
= (bool) SWIG_AsBool(obj2
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 (arg1
)->AutoSizeRow(arg2
,arg3
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 Py_INCREF(Py_None
); resultobj
= Py_None
;
12110 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxGrid
*arg1
= (wxGrid
*) 0 ;
12113 bool arg2
= (bool) True
;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "setAsMin", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12124 arg2
= (bool) SWIG_AsBool(obj1
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 (arg1
)->AutoSizeColumns(arg2
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 Py_INCREF(Py_None
); resultobj
= Py_None
;
12141 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxGrid
*arg1
= (wxGrid
*) 0 ;
12144 bool arg2
= (bool) True
;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self",(char *) "setAsMin", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12155 arg2
= (bool) SWIG_AsBool(obj1
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->AutoSizeRows(arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxGrid
*arg1
= (wxGrid
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 (arg1
)->AutoSize();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxGrid
*arg1
= (wxGrid
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self",(char *) "row", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 arg2
= (int) SWIG_AsInt(obj1
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 (arg1
)->AutoSizeRowLabelSize(arg2
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 Py_INCREF(Py_None
); resultobj
= Py_None
;
12226 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxGrid
*arg1
= (wxGrid
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "col", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12239 arg2
= (int) SWIG_AsInt(obj1
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->AutoSizeColLabelSize(arg2
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxGrid
*arg1
= (wxGrid
*) 0 ;
12260 PyObject
* obj0
= 0 ;
12261 PyObject
* obj1
= 0 ;
12262 PyObject
* obj2
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self",(char *) "col",(char *) "width", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12270 arg2
= (int) SWIG_AsInt(obj1
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12272 arg3
= (int) SWIG_AsInt(obj2
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 Py_INCREF(Py_None
); resultobj
= Py_None
;
12288 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
;
12290 wxGrid
*arg1
= (wxGrid
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 PyObject
* obj1
= 0 ;
12295 PyObject
* obj2
= 0 ;
12296 char *kwnames
[] = {
12297 (char *) "self",(char *) "row",(char *) "width", NULL
12300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12303 arg2
= (int) SWIG_AsInt(obj1
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12305 arg3
= (int) SWIG_AsInt(obj2
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 Py_INCREF(Py_None
); resultobj
= Py_None
;
12321 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxGrid
*arg1
= (wxGrid
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 PyObject
* obj1
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "width", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12334 arg2
= (int) SWIG_AsInt(obj1
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 Py_INCREF(Py_None
); resultobj
= Py_None
;
12350 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxGrid
*arg1
= (wxGrid
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 PyObject
* obj1
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self",(char *) "width", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 arg2
= (int) SWIG_AsInt(obj1
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12379 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxGrid
*arg1
= (wxGrid
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_FromInt((int)result
);
12405 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxGrid
*arg1
= (wxGrid
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= SWIG_FromInt((int)result
);
12431 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxGrid
*arg1
= (wxGrid
*) 0 ;
12434 wxColour
*arg2
= 0 ;
12436 PyObject
* obj0
= 0 ;
12437 PyObject
* obj1
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self","arg2", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 Py_INCREF(Py_None
); resultobj
= Py_None
;
12463 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxGrid
*arg1
= (wxGrid
*) 0 ;
12468 wxColour
*arg4
= 0 ;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 PyObject
* obj2
= 0 ;
12473 PyObject
* obj3
= 0 ;
12474 char *kwnames
[] = {
12475 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 arg2
= (int) SWIG_AsInt(obj1
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12483 arg3
= (int) SWIG_AsInt(obj2
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 Py_INCREF(Py_None
); resultobj
= Py_None
;
12503 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxGrid
*arg1
= (wxGrid
*) 0 ;
12506 wxColour
*arg2
= 0 ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self","arg2", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12519 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 Py_INCREF(Py_None
); resultobj
= Py_None
;
12535 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxGrid
*arg1
= (wxGrid
*) 0 ;
12540 wxColour
*arg4
= 0 ;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 PyObject
* obj2
= 0 ;
12545 PyObject
* obj3
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12553 arg2
= (int) SWIG_AsInt(obj1
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12555 arg3
= (int) SWIG_AsInt(obj2
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12559 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 Py_INCREF(Py_None
); resultobj
= Py_None
;
12575 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxGrid
*arg1
= (wxGrid
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self","arg2", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12591 if (arg2
== NULL
) {
12592 PyErr_SetString(PyExc_TypeError
,"null reference");
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 Py_INCREF(Py_None
); resultobj
= Py_None
;
12609 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
;
12611 wxGrid
*arg1
= (wxGrid
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 PyObject
* obj2
= 0 ;
12618 PyObject
* obj3
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12626 arg2
= (int) SWIG_AsInt(obj1
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12628 arg3
= (int) SWIG_AsInt(obj2
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12630 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12633 if (arg4
== NULL
) {
12634 PyErr_SetString(PyExc_TypeError
,"null reference");
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 Py_INCREF(Py_None
); resultobj
= Py_None
;
12651 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxGrid
*arg1
= (wxGrid
*) 0 ;
12656 PyObject
* obj0
= 0 ;
12657 PyObject
* obj1
= 0 ;
12658 PyObject
* obj2
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12666 arg2
= (int) SWIG_AsInt(obj1
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12668 arg3
= (int) SWIG_AsInt(obj2
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 Py_INCREF(Py_None
); resultobj
= Py_None
;
12684 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxGrid
*arg1
= (wxGrid
*) 0 ;
12691 PyObject
* obj0
= 0 ;
12692 PyObject
* obj1
= 0 ;
12693 PyObject
* obj2
= 0 ;
12694 PyObject
* obj3
= 0 ;
12695 PyObject
* obj4
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12703 arg2
= (int) SWIG_AsInt(obj1
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12705 arg3
= (int) SWIG_AsInt(obj2
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12707 arg4
= (int) SWIG_AsInt(obj3
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12709 arg5
= (int) SWIG_AsInt(obj4
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 Py_INCREF(Py_None
); resultobj
= Py_None
;
12725 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxGrid
*arg1
= (wxGrid
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 PyObject
* obj1
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self",(char *) "allow", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 arg2
= (bool) SWIG_AsBool(obj1
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 (arg1
)->SetDefaultCellOverflow(arg2
);
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 Py_INCREF(Py_None
); resultobj
= Py_None
;
12754 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxGrid
*arg1
= (wxGrid
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 PyObject
* obj2
= 0 ;
12763 PyObject
* obj3
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12771 arg2
= (int) SWIG_AsInt(obj1
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12773 arg3
= (int) SWIG_AsInt(obj2
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12775 arg4
= (bool) SWIG_AsBool(obj3
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 Py_INCREF(Py_None
); resultobj
= Py_None
;
12791 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxGrid
*arg1
= (wxGrid
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 PyObject
* obj2
= 0 ;
12801 PyObject
* obj3
= 0 ;
12802 PyObject
* obj4
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12810 arg2
= (int) SWIG_AsInt(obj1
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12812 arg3
= (int) SWIG_AsInt(obj2
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12814 arg4
= (int) SWIG_AsInt(obj3
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12816 arg5
= (int) SWIG_AsInt(obj4
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 Py_INCREF(Py_None
); resultobj
= Py_None
;
12832 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxGrid
*arg1
= (wxGrid
*) 0 ;
12835 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 PyObject
* obj1
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self",(char *) "renderer", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
12843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
12846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 (arg1
)->SetDefaultRenderer(arg2
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 Py_INCREF(Py_None
); resultobj
= Py_None
;
12861 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxGrid
*arg1
= (wxGrid
*) 0 ;
12866 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 PyObject
* obj2
= 0 ;
12870 PyObject
* obj3
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 arg2
= (int) SWIG_AsInt(obj1
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12880 arg3
= (int) SWIG_AsInt(obj2
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12882 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
,
12883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 Py_INCREF(Py_None
); resultobj
= Py_None
;
12898 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxGrid
*arg1
= (wxGrid
*) 0 ;
12901 wxGridCellRenderer
*result
;
12902 PyObject
* obj0
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "self", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
12908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12926 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxGrid
*arg1
= (wxGrid
*) 0 ;
12931 wxGridCellRenderer
*result
;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 PyObject
* obj2
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self",(char *) "row",(char *) "col", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12942 arg2
= (int) SWIG_AsInt(obj1
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12944 arg3
= (int) SWIG_AsInt(obj2
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12962 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxGrid
*arg1
= (wxGrid
*) 0 ;
12965 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 PyObject
* obj1
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self",(char *) "editor", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
12973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 (arg1
)->SetDefaultEditor(arg2
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 Py_INCREF(Py_None
); resultobj
= Py_None
;
12991 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxGrid
*arg1
= (wxGrid
*) 0 ;
12996 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 PyObject
* obj2
= 0 ;
13000 PyObject
* obj3
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 arg2
= (int) SWIG_AsInt(obj1
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13010 arg3
= (int) SWIG_AsInt(obj2
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13012 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 Py_INCREF(Py_None
); resultobj
= Py_None
;
13028 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxGrid
*arg1
= (wxGrid
*) 0 ;
13031 wxGridCellEditor
*result
;
13032 PyObject
* obj0
= 0 ;
13033 char *kwnames
[] = {
13034 (char *) "self", NULL
13037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
13038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= wxPyMake_wxGridCellEditor(result
);
13056 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
;
13058 wxGrid
*arg1
= (wxGrid
*) 0 ;
13061 wxGridCellEditor
*result
;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 PyObject
* obj2
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self",(char *) "row",(char *) "col", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13072 arg2
= (int) SWIG_AsInt(obj1
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13074 arg3
= (int) SWIG_AsInt(obj2
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= wxPyMake_wxGridCellEditor(result
);
13092 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
;
13094 wxGrid
*arg1
= (wxGrid
*) 0 ;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 PyObject
* obj2
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "self",(char *) "row",(char *) "col", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13108 arg2
= (int) SWIG_AsInt(obj1
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13110 arg3
= (int) SWIG_AsInt(obj2
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13132 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxGrid
*arg1
= (wxGrid
*) 0 ;
13137 wxString
*arg4
= 0 ;
13138 bool temp4
= False
;
13139 PyObject
* obj0
= 0 ;
13140 PyObject
* obj1
= 0 ;
13141 PyObject
* obj2
= 0 ;
13142 PyObject
* obj3
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13150 arg2
= (int) SWIG_AsInt(obj1
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13152 arg3
= (int) SWIG_AsInt(obj2
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 arg4
= wxString_in_helper(obj3
);
13156 if (arg4
== NULL
) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 Py_INCREF(Py_None
); resultobj
= Py_None
;
13181 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxGrid
*arg1
= (wxGrid
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 PyObject
* obj2
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self",(char *) "row",(char *) "col", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13197 arg2
= (int) SWIG_AsInt(obj1
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13199 arg3
= (int) SWIG_AsInt(obj2
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13217 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxGrid
*arg1
= (wxGrid
*) 0 ;
13222 bool arg4
= (bool) True
;
13223 PyObject
* obj0
= 0 ;
13224 PyObject
* obj1
= 0 ;
13225 PyObject
* obj2
= 0 ;
13226 PyObject
* obj3
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13234 arg2
= (int) SWIG_AsInt(obj1
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13236 arg3
= (int) SWIG_AsInt(obj2
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 arg4
= (bool) SWIG_AsBool(obj3
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxGrid
*arg1
= (wxGrid
*) 0 ;
13260 bool arg3
= (bool) False
;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 PyObject
* obj2
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 arg2
= (int) SWIG_AsInt(obj1
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 arg3
= (bool) SWIG_AsBool(obj2
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 (arg1
)->SelectRow(arg2
,arg3
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 Py_INCREF(Py_None
); resultobj
= Py_None
;
13291 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxGrid
*arg1
= (wxGrid
*) 0 ;
13295 bool arg3
= (bool) False
;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 PyObject
* obj2
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13306 arg2
= (int) SWIG_AsInt(obj1
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 arg3
= (bool) SWIG_AsBool(obj2
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 (arg1
)->SelectCol(arg2
,arg3
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxGrid
*arg1
= (wxGrid
*) 0 ;
13333 bool arg6
= (bool) False
;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 PyObject
* obj2
= 0 ;
13337 PyObject
* obj3
= 0 ;
13338 PyObject
* obj4
= 0 ;
13339 PyObject
* obj5
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13347 arg2
= (int) SWIG_AsInt(obj1
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13349 arg3
= (int) SWIG_AsInt(obj2
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13351 arg4
= (int) SWIG_AsInt(obj3
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13353 arg5
= (int) SWIG_AsInt(obj4
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 arg6
= (bool) SWIG_AsBool(obj5
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxGrid
*arg1
= (wxGrid
*) 0 ;
13376 PyObject
* obj0
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 (arg1
)->SelectAll();
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 Py_INCREF(Py_None
); resultobj
= Py_None
;
13398 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxGrid
*arg1
= (wxGrid
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)(arg1
)->IsSelection();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13426 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxGrid
*arg1
= (wxGrid
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->ClearSelection();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 Py_INCREF(Py_None
); resultobj
= Py_None
;
13451 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxGrid
*arg1
= (wxGrid
*) 0 ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 PyObject
* obj2
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self",(char *) "row",(char *) "col", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13467 arg2
= (int) SWIG_AsInt(obj1
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13469 arg3
= (int) SWIG_AsInt(obj2
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13487 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxGrid
*arg1
= (wxGrid
*) 0 ;
13490 wxGridCellCoordsArray result
;
13491 PyObject
* obj0
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= wxGridCellCoordsArray_helper(result
);
13515 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxGrid
*arg1
= (wxGrid
*) 0 ;
13518 wxGridCellCoordsArray result
;
13519 PyObject
* obj0
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "self", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= wxGridCellCoordsArray_helper(result
);
13543 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxGrid
*arg1
= (wxGrid
*) 0 ;
13546 wxGridCellCoordsArray result
;
13547 PyObject
* obj0
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= wxGridCellCoordsArray_helper(result
);
13571 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxGrid
*arg1
= (wxGrid
*) 0 ;
13575 PyObject
* obj0
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= PyList_New(0);
13593 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13594 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13595 PyList_Append(resultobj
, val
);
13605 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxGrid
*arg1
= (wxGrid
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13625 resultobj
= PyList_New(0);
13627 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13628 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13629 PyList_Append(resultobj
, val
);
13639 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
;
13641 wxGrid
*arg1
= (wxGrid
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "row", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13652 arg2
= (int) SWIG_AsInt(obj1
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 (arg1
)->DeselectRow(arg2
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 Py_INCREF(Py_None
); resultobj
= Py_None
;
13668 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxGrid
*arg1
= (wxGrid
*) 0 ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self",(char *) "col", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13681 arg2
= (int) SWIG_AsInt(obj1
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 (arg1
)->DeselectCol(arg2
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 Py_INCREF(Py_None
); resultobj
= Py_None
;
13697 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxGrid
*arg1
= (wxGrid
*) 0 ;
13702 PyObject
* obj0
= 0 ;
13703 PyObject
* obj1
= 0 ;
13704 PyObject
* obj2
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "row",(char *) "col", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13712 arg2
= (int) SWIG_AsInt(obj1
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13714 arg3
= (int) SWIG_AsInt(obj2
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 (arg1
)->DeselectCell(arg2
,arg3
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 Py_INCREF(Py_None
); resultobj
= Py_None
;
13730 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxGrid
*arg1
= (wxGrid
*) 0 ;
13733 wxGridCellCoords
*arg2
= 0 ;
13734 wxGridCellCoords
*arg3
= 0 ;
13736 wxGridCellCoords temp2
;
13737 wxGridCellCoords temp3
;
13738 PyObject
* obj0
= 0 ;
13739 PyObject
* obj1
= 0 ;
13740 PyObject
* obj2
= 0 ;
13741 char *kwnames
[] = {
13742 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13750 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
13754 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13764 wxRect
* resultptr
;
13765 resultptr
= new wxRect((wxRect
&) result
);
13766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13774 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxGrid
*arg1
= (wxGrid
*) 0 ;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13794 wxColour
* resultptr
;
13795 resultptr
= new wxColour((wxColour
&) result
);
13796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13804 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxGrid
*arg1
= (wxGrid
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 wxColour
* resultptr
;
13825 resultptr
= new wxColour((wxColour
&) result
);
13826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13834 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxGrid
*arg1
= (wxGrid
*) 0 ;
13837 wxColour
*arg2
= 0 ;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self",(char *) "c", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 Py_INCREF(Py_None
); resultobj
= Py_None
;
13866 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxGrid
*arg1
= (wxGrid
*) 0 ;
13869 wxColour
*arg2
= 0 ;
13871 PyObject
* obj0
= 0 ;
13872 PyObject
* obj1
= 0 ;
13873 char *kwnames
[] = {
13874 (char *) "self",(char *) "c", NULL
13877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13882 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 Py_INCREF(Py_None
); resultobj
= Py_None
;
13898 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxGrid
*arg1
= (wxGrid
*) 0 ;
13901 wxString
*arg2
= 0 ;
13902 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
13903 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13904 bool temp2
= False
;
13905 PyObject
* obj0
= 0 ;
13906 PyObject
* obj1
= 0 ;
13907 PyObject
* obj2
= 0 ;
13908 PyObject
* obj3
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13917 arg2
= wxString_in_helper(obj1
);
13918 if (arg2
== NULL
) SWIG_fail
;
13921 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
,
13922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13923 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 Py_INCREF(Py_None
); resultobj
= Py_None
;
13947 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxGrid
*arg1
= (wxGrid
*) 0 ;
13952 wxGridCellEditor
*result
;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 PyObject
* obj2
= 0 ;
13956 char *kwnames
[] = {
13957 (char *) "self",(char *) "row",(char *) "col", NULL
13960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13963 arg2
= (int) SWIG_AsInt(obj1
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13965 arg3
= (int) SWIG_AsInt(obj2
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= wxPyMake_wxGridCellEditor(result
);
13983 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxGrid
*arg1
= (wxGrid
*) 0 ;
13988 wxGridCellRenderer
*result
;
13989 PyObject
* obj0
= 0 ;
13990 PyObject
* obj1
= 0 ;
13991 PyObject
* obj2
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self",(char *) "row",(char *) "col", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13999 arg2
= (int) SWIG_AsInt(obj1
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14001 arg3
= (int) SWIG_AsInt(obj2
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14019 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
;
14021 wxGrid
*arg1
= (wxGrid
*) 0 ;
14022 wxString
*arg2
= 0 ;
14023 wxGridCellEditor
*result
;
14024 bool temp2
= False
;
14025 PyObject
* obj0
= 0 ;
14026 PyObject
* obj1
= 0 ;
14027 char *kwnames
[] = {
14028 (char *) "self",(char *) "typeName", NULL
14031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14035 arg2
= wxString_in_helper(obj1
);
14036 if (arg2
== NULL
) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= wxPyMake_wxGridCellEditor(result
);
14063 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxGrid
*arg1
= (wxGrid
*) 0 ;
14066 wxString
*arg2
= 0 ;
14067 wxGridCellRenderer
*result
;
14068 bool temp2
= False
;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj1
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self",(char *) "typeName", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 arg2
= wxString_in_helper(obj1
);
14080 if (arg2
== NULL
) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14107 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxGrid
*arg1
= (wxGrid
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 PyObject
* obj2
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14122 arg2
= (int) SWIG_AsInt(obj1
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14124 arg3
= (int) SWIG_AsInt(obj2
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 (arg1
)->SetMargins(arg2
,arg3
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 Py_INCREF(Py_None
); resultobj
= Py_None
;
14140 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxGrid
*arg1
= (wxGrid
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= wxPyMake_wxObject(result
);
14168 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxGrid
*arg1
= (wxGrid
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= wxPyMake_wxObject(result
);
14196 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxGrid
*arg1
= (wxGrid
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= wxPyMake_wxObject(result
);
14224 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxGrid
*arg1
= (wxGrid
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= wxPyMake_wxObject(result
);
14252 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
14254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14255 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14257 return Py_BuildValue((char *)"");
14259 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14263 wxGrid
*arg3
= (wxGrid
*) 0 ;
14264 int arg4
= (int) -1 ;
14265 int arg5
= (int) -1 ;
14266 int arg6
= (int) -1 ;
14267 int arg7
= (int) -1 ;
14268 bool arg8
= (bool) True
;
14269 bool arg9
= (bool) False
;
14270 bool arg10
= (bool) False
;
14271 bool arg11
= (bool) False
;
14272 bool arg12
= (bool) False
;
14273 wxGridEvent
*result
;
14274 PyObject
* obj0
= 0 ;
14275 PyObject
* obj1
= 0 ;
14276 PyObject
* obj2
= 0 ;
14277 PyObject
* obj3
= 0 ;
14278 PyObject
* obj4
= 0 ;
14279 PyObject
* obj5
= 0 ;
14280 PyObject
* obj6
= 0 ;
14281 PyObject
* obj7
= 0 ;
14282 PyObject
* obj8
= 0 ;
14283 PyObject
* obj9
= 0 ;
14284 PyObject
* obj10
= 0 ;
14285 PyObject
* obj11
= 0 ;
14286 char *kwnames
[] = {
14287 (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
14290 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
;
14291 arg1
= (int) SWIG_AsInt(obj0
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14293 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14295 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14298 arg4
= (int) SWIG_AsInt(obj3
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14302 arg5
= (int) SWIG_AsInt(obj4
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14306 arg6
= (int) SWIG_AsInt(obj5
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14310 arg7
= (int) SWIG_AsInt(obj6
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 arg8
= (bool) SWIG_AsBool(obj7
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14318 arg9
= (bool) SWIG_AsBool(obj8
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 arg10
= (bool) SWIG_AsBool(obj9
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 arg11
= (bool) SWIG_AsBool(obj10
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14330 arg12
= (bool) SWIG_AsBool(obj11
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
14347 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (int)(arg1
)->GetRow();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_FromInt((int)result
);
14373 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 result
= (int)(arg1
)->GetCol();
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 resultobj
= SWIG_FromInt((int)result
);
14399 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14403 PyObject
* obj0
= 0 ;
14404 char *kwnames
[] = {
14405 (char *) "self", NULL
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (arg1
)->GetPosition();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14419 wxPoint
* resultptr
;
14420 resultptr
= new wxPoint((wxPoint
&) result
);
14421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14429 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "self", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (bool)(arg1
)->Selecting();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (bool)(arg1
)->ControlDown();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14485 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14489 PyObject
* obj0
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (bool)(arg1
)->MetaDown();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14513 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (bool)(arg1
)->ShiftDown();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14541 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (bool)(arg1
)->AltDown();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14569 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14572 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14574 return Py_BuildValue((char *)"");
14576 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14580 wxGrid
*arg3
= (wxGrid
*) 0 ;
14581 int arg4
= (int) -1 ;
14582 int arg5
= (int) -1 ;
14583 int arg6
= (int) -1 ;
14584 bool arg7
= (bool) False
;
14585 bool arg8
= (bool) False
;
14586 bool arg9
= (bool) False
;
14587 bool arg10
= (bool) False
;
14588 wxGridSizeEvent
*result
;
14589 PyObject
* obj0
= 0 ;
14590 PyObject
* obj1
= 0 ;
14591 PyObject
* obj2
= 0 ;
14592 PyObject
* obj3
= 0 ;
14593 PyObject
* obj4
= 0 ;
14594 PyObject
* obj5
= 0 ;
14595 PyObject
* obj6
= 0 ;
14596 PyObject
* obj7
= 0 ;
14597 PyObject
* obj8
= 0 ;
14598 PyObject
* obj9
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14604 arg1
= (int) SWIG_AsInt(obj0
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14606 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14608 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14611 arg4
= (int) SWIG_AsInt(obj3
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14615 arg5
= (int) SWIG_AsInt(obj4
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14619 arg6
= (int) SWIG_AsInt(obj5
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14623 arg7
= (bool) SWIG_AsBool(obj6
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14627 arg8
= (bool) SWIG_AsBool(obj7
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14631 arg9
= (bool) SWIG_AsBool(obj8
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14635 arg10
= (bool) SWIG_AsBool(obj9
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
14652 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14656 PyObject
* obj0
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "self", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
14662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (int)(arg1
)->GetRowOrCol();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_FromInt((int)result
);
14678 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (arg1
)->GetPosition();
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14698 wxPoint
* resultptr
;
14699 resultptr
= new wxPoint((wxPoint
&) result
);
14700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14708 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14712 PyObject
* obj0
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (bool)(arg1
)->ControlDown();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14736 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 result
= (bool)(arg1
)->MetaDown();
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14764 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (bool)(arg1
)->ShiftDown();
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14792 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (bool)(arg1
)->AltDown();
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14820 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14823 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
14825 return Py_BuildValue((char *)"");
14827 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14831 wxGrid
*arg3
= (wxGrid
*) 0 ;
14832 wxGridCellCoords
*arg4
= 0 ;
14833 wxGridCellCoords
*arg5
= 0 ;
14834 bool arg6
= (bool) True
;
14835 bool arg7
= (bool) False
;
14836 bool arg8
= (bool) False
;
14837 bool arg9
= (bool) False
;
14838 bool arg10
= (bool) False
;
14839 wxGridRangeSelectEvent
*result
;
14840 wxGridCellCoords temp4
;
14841 wxGridCellCoords temp5
;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 PyObject
* obj2
= 0 ;
14845 PyObject
* obj3
= 0 ;
14846 PyObject
* obj4
= 0 ;
14847 PyObject
* obj5
= 0 ;
14848 PyObject
* obj6
= 0 ;
14849 PyObject
* obj7
= 0 ;
14850 PyObject
* obj8
= 0 ;
14851 PyObject
* obj9
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14857 arg1
= (int) SWIG_AsInt(obj0
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14859 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14861 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
14869 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
14872 arg6
= (bool) SWIG_AsBool(obj5
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14876 arg7
= (bool) SWIG_AsBool(obj6
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14880 arg8
= (bool) SWIG_AsBool(obj7
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14884 arg9
= (bool) SWIG_AsBool(obj8
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 arg10
= (bool) SWIG_AsBool(obj9
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
14905 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
;
14907 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14908 wxGridCellCoords result
;
14909 PyObject
* obj0
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
14915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (arg1
)->GetTopLeftCoords();
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14925 wxGridCellCoords
* resultptr
;
14926 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
14935 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14938 wxGridCellCoords result
;
14939 PyObject
* obj0
= 0 ;
14940 char *kwnames
[] = {
14941 (char *) "self", NULL
14944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
14945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (arg1
)->GetBottomRightCoords();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 wxGridCellCoords
* resultptr
;
14956 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
14965 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "self", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (int)(arg1
)->GetTopRow();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_FromInt((int)result
);
14991 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (int)(arg1
)->GetBottomRow();
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_FromInt((int)result
);
15017 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 result
= (int)(arg1
)->GetLeftCol();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_FromInt((int)result
);
15043 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
15053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (int)(arg1
)->GetRightCol();
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_FromInt((int)result
);
15069 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (bool)(arg1
)->Selecting();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15097 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 result
= (bool)(arg1
)->ControlDown();
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15125 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (bool)(arg1
)->MetaDown();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15153 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 result
= (bool)(arg1
)->ShiftDown();
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15181 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (bool)(arg1
)->AltDown();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15209 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15214 return Py_BuildValue((char *)"");
15216 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15220 wxObject
*arg3
= (wxObject
*) 0 ;
15223 wxControl
*arg6
= (wxControl
*) 0 ;
15224 wxGridEditorCreatedEvent
*result
;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 PyObject
* obj2
= 0 ;
15228 PyObject
* obj3
= 0 ;
15229 PyObject
* obj4
= 0 ;
15230 PyObject
* obj5
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15236 arg1
= (int) SWIG_AsInt(obj0
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15238 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15240 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
,
15241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15242 arg4
= (int) SWIG_AsInt(obj3
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15244 arg5
= (int) SWIG_AsInt(obj4
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15246 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
,
15247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15262 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (int)(arg1
)->GetRow();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_FromInt((int)result
);
15288 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "self", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 result
= (int)(arg1
)->GetCol();
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= SWIG_FromInt((int)result
);
15314 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
;
15316 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15318 PyObject
* obj0
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 result
= (wxControl
*)(arg1
)->GetControl();
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= wxPyMake_wxObject(result
);
15342 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15346 PyObject
* obj0
= 0 ;
15347 PyObject
* obj1
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self",(char *) "row", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15355 arg2
= (int) SWIG_AsInt(obj1
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 (arg1
)->SetRow(arg2
);
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 Py_INCREF(Py_None
); resultobj
= Py_None
;
15371 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self",(char *) "col", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15384 arg2
= (int) SWIG_AsInt(obj1
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 (arg1
)->SetCol(arg2
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 Py_INCREF(Py_None
); resultobj
= Py_None
;
15400 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15403 wxControl
*arg2
= (wxControl
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 PyObject
* obj1
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self",(char *) "ctrl", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetControl(arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15429 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15432 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15434 return Py_BuildValue((char *)"");
15436 static PyMethodDef SwigMethods
[] = {
15437 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15438 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15439 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15440 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15441 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15442 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15443 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15444 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
15445 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15446 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15447 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15448 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
15449 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15450 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
15451 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15452 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
15453 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15454 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15455 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15456 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15457 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15458 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
15459 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15460 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
15461 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15462 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
15463 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15464 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
15465 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15466 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
15467 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15468 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15469 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15470 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15471 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15472 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15473 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15474 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15475 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15476 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15477 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15478 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15479 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15480 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15481 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15482 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15483 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15484 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15485 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15486 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15487 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15488 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15489 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
15490 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15491 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15492 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15493 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15494 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15495 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15496 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15497 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15498 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15499 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15500 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15501 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
15502 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15503 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15504 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
15505 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15506 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15507 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
15508 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15509 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15510 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
15511 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15512 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15513 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
15514 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15515 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15516 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
15517 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15518 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15519 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
15520 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15521 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15522 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
15523 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15524 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15525 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15526 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15527 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15528 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15529 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15530 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15531 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15532 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15533 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15534 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15535 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15536 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15537 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15538 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15539 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15540 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15541 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15542 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15543 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15544 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15545 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15546 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
15547 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15548 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15549 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15550 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15551 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15552 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15553 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15554 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15555 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15556 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15557 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
15558 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15559 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15560 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15561 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15562 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15563 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15564 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15565 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15566 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
15567 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15568 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15569 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15570 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15571 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15572 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15573 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
15574 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15575 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15576 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15577 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15578 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15579 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15580 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15581 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15582 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15583 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15584 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15585 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15586 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15587 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15588 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15589 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15590 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15591 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15592 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15593 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15594 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15595 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15596 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15597 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15598 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15599 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15600 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15601 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15602 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15603 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15604 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15605 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15606 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15607 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15608 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15609 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
15610 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15611 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15612 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15613 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15614 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15615 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15616 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15617 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15618 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15619 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15620 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15621 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15622 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15623 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15624 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15625 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15626 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15627 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15628 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15629 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15630 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15631 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15632 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
15633 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15634 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
15635 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15636 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15637 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15638 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15639 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15640 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15641 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15642 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15643 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15644 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15645 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
15646 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15647 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15648 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15649 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15650 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15651 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15652 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15653 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15654 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15655 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
15656 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
15657 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
15658 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15659 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15660 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15661 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15662 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15663 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15664 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15665 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15666 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15667 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15668 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15669 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15670 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15671 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15672 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15673 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15674 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15675 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15676 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15677 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15678 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15679 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15680 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15681 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15682 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15683 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15684 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15685 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15686 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15687 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15688 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15689 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15690 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15691 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15692 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15693 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15694 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15695 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15696 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15697 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15698 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15699 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15700 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15701 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15702 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15703 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15704 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15705 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15706 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15707 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15708 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15709 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15710 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15711 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15712 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15713 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15714 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15715 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15716 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15717 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15718 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15719 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15720 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15721 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15722 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15723 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15724 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15725 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15726 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15727 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15728 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15729 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15730 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15731 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15732 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15733 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15734 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15735 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15736 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15737 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15738 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15739 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15740 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15741 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15742 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15743 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15744 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15745 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15746 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15747 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15748 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15749 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15750 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15751 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15752 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15753 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15754 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15755 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15756 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15757 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15758 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15759 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15760 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15761 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15762 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15763 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15764 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15765 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15766 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15767 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15768 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15769 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15770 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15771 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15772 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15773 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15774 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15775 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15776 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15777 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15778 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15779 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15780 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15781 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15782 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15783 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15784 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15785 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15786 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15787 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15788 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15789 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15790 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15791 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15792 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15793 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15794 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15795 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15796 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15797 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15798 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15799 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15800 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15801 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15802 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15803 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15804 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15805 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15806 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15807 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15808 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15809 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15810 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15811 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15812 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15813 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15814 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15815 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
15816 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
15817 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
15818 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
15819 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
15820 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
15821 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
15822 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
15823 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
15824 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
15825 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
15826 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
15827 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
15828 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
15829 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
15830 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
15831 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15832 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15833 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15834 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15835 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
15836 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
15837 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
15838 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
15839 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
15840 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
15841 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
15842 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15843 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15844 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15845 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
15846 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
15847 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15848 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15849 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15850 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15851 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15852 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15853 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15854 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15855 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
15856 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
15857 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
15858 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15859 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15860 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15861 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15862 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15863 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
15864 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
15865 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
15866 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
15867 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
15868 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
15869 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
15870 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
15871 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15872 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15873 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15874 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15875 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15876 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
15877 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
15878 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15879 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15880 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15881 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15882 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15883 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15884 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
15889 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15891 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
15892 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
15894 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
15895 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
15897 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
15898 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15900 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
15901 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15903 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
15904 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
15906 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
15907 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15909 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
15910 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15912 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
15913 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15915 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
15916 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15918 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
15919 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15921 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
15922 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15924 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
15925 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15927 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
15928 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15930 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
15931 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
15933 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
15934 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15936 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
15937 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
15939 static void *_p_wxGridTo_p_wxPanel(void *x
) {
15940 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
15942 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
15943 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15945 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
15946 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15948 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
15949 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
15951 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
15952 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15954 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
15955 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
15957 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
15958 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15960 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
15961 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15963 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
15964 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15966 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
15967 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15969 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
15970 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
15972 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
15973 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
15975 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
15976 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
15978 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
15979 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15981 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
15982 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15984 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
15985 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15987 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
15988 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
15990 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
15991 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
15993 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
15994 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15996 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
15997 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15999 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
16000 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16002 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
16003 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16005 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
16006 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16008 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
16009 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16011 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
16012 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16014 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
16015 return (void *)((wxWindow
*) ((wxPanel
*) x
));
16017 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
16018 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
16020 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
16021 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
16023 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
16024 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16026 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
16027 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16029 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
16030 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16032 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
16033 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
16035 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
16036 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16038 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
16039 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
16041 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
16042 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
16044 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
16045 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
16047 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
16048 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
16050 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
16051 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
16053 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
16054 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16056 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16057 return (void *)((wxWindow
*) ((wxControl
*) x
));
16059 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
16060 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16062 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
16063 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16065 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
16066 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16068 static void *_p_wxGridTo_p_wxWindow(void *x
) {
16069 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16071 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16072 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16074 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
16075 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
16077 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
16078 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16080 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16081 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16083 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16084 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16086 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16087 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16089 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16090 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16092 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16093 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16095 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16096 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16098 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16099 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16101 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16102 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16104 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16105 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16107 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16108 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16110 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16111 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16113 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16114 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16116 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16117 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16119 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16120 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16122 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16123 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16125 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16126 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16128 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16129 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16131 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16132 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16134 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16135 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16137 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16138 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16140 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16141 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16143 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16144 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16146 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16147 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16149 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16150 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16152 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16153 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16155 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16156 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16158 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16159 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16161 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16162 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16164 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16167 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16168 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16170 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16171 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16173 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16174 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16176 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16177 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16179 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16180 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16182 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16183 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16185 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16186 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16188 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16189 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16191 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16192 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16194 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16197 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16198 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16200 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16201 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16203 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16204 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16206 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16207 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16209 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16210 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16212 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16213 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16215 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16216 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16218 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16219 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16221 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16222 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16224 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16225 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16227 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16228 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16230 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16231 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16233 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16234 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16236 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16239 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16242 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16243 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16245 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16246 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16248 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16249 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16251 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16252 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16254 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16255 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16257 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16258 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16260 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16263 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16266 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16267 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16269 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16270 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16272 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16275 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16276 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16278 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16279 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16281 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16282 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16284 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16285 return (void *)((wxObject
*) ((wxSizer
*) x
));
16287 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16288 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16290 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16293 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16296 static void *_p_wxEventTo_p_wxObject(void *x
) {
16297 return (void *)((wxObject
*) ((wxEvent
*) x
));
16299 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16300 return (void *)((wxObject
*) ((wxFontData
*) x
));
16302 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16303 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16305 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16306 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16308 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16309 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16311 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16312 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16314 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16315 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16317 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16318 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16320 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16323 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16324 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16326 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16327 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16329 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16330 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16332 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16333 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16335 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16336 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16338 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16339 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16341 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16342 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16344 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16347 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16348 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16350 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16353 static void *_p_wxControlTo_p_wxObject(void *x
) {
16354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16356 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16357 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16359 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16362 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16363 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16365 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16366 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16368 static void *_p_wxGridTo_p_wxObject(void *x
) {
16369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16371 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16372 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16374 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16377 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16378 return (void *)((wxObject
*) ((wxColourData
*) x
));
16380 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16381 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16383 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16384 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16386 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16389 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16392 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16395 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16398 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16401 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16404 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16407 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16410 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16413 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16414 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16416 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16417 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16419 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16420 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16422 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16423 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16425 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16426 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16428 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16429 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16431 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16432 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16434 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16435 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16437 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16438 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16440 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16441 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16443 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16444 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16446 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16449 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16452 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16455 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16458 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16461 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16464 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16467 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16468 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16470 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16471 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16473 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16474 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16476 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16479 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16480 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16482 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16485 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16486 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16488 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16489 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16491 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16494 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16497 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16500 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16501 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16503 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16506 static void *_p_wxImageTo_p_wxObject(void *x
) {
16507 return (void *)((wxObject
*) ((wxImage
*) x
));
16509 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16512 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16513 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16515 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16516 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16518 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16519 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16521 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16524 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16527 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16528 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16530 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16531 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16533 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16534 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16536 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16537 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16539 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16540 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16542 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16545 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16548 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16551 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16554 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16557 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16560 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16563 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16566 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16569 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16572 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16575 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
16576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
16578 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
16579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16581 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
16582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
16584 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
16585 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
16587 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
16588 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
16590 static void *_p_wxPanelTo_p_wxObject(void *x
) {
16591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
16593 static void *_p_wxDialogTo_p_wxObject(void *x
) {
16594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16596 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
16597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16599 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
16600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16602 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
16603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16605 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
16606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16608 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
16609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16611 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16612 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16614 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16615 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16617 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16618 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16620 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16621 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16623 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16624 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16626 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16627 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16629 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16630 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16632 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
16633 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
16635 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
16636 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16638 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16641 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16642 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16644 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
16645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16647 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
16648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16650 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16651 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16653 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16654 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16656 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16657 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16659 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16662 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
16663 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
16665 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
16666 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
16668 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16671 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16672 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16674 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
16675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16677 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
16678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16680 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
16681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16683 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
16684 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
16686 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
16687 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
16689 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
16690 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
16692 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
16693 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
16695 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
16696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16698 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
16699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16701 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
16702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16704 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
16705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16707 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
16708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16710 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
16711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16713 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
16714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16716 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
16717 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
16719 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
16720 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
16722 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
16723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16725 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
16726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16728 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
16729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16731 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
16732 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
16734 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
16735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16737 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
16738 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
16740 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
16741 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
16743 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
16744 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
16746 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
16747 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
16749 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
16750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16752 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
16753 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
16755 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
16756 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
16758 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
16759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16761 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
16762 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
16764 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
16765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16767 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
16768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16770 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
16771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16773 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
16774 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
16776 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
16777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16779 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
16780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16782 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
16783 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
16785 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
16786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16788 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
16789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16791 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
16792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16794 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16797 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16800 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
16801 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16803 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
16804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16806 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
16807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16809 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
16810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16812 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
16813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16815 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
16816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16818 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
16819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16821 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
16822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16824 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
16825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16827 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
16828 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
16830 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
16831 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16833 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
16834 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
16836 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
16837 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
16839 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
16840 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16842 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
16843 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16845 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
16846 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
16848 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
16849 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
16851 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
16852 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16854 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
16855 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16857 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
16858 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16860 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
16861 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16863 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
16864 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16866 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
16867 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
16869 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
16870 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16872 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
16873 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16875 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
16876 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
16878 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
16879 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16881 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
16882 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16884 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
16885 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16887 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
16888 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16890 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
16891 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16893 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
16894 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16896 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
16897 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
16899 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
16900 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16902 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
16903 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16905 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
16906 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16908 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
16909 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16911 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
16912 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
16914 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
16915 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16917 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}};
16918 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}};
16919 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}};
16920 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}};
16921 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}};
16922 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}};
16923 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}};
16924 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}};
16925 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}};
16926 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}};
16927 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}};
16928 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}};
16929 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}};
16930 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}};
16931 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}};
16932 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16933 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}};
16934 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}};
16935 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}};
16936 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}};
16937 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16938 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16939 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}};
16940 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}};
16941 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}};
16942 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16943 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}};
16944 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}};
16945 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}};
16946 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}};
16947 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16948 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}};
16949 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}};
16950 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}};
16951 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}};
16952 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}};
16953 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}};
16954 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}};
16955 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}};
16956 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}};
16957 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}};
16958 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}};
16959 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}};
16960 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}};
16961 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}};
16962 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}};
16963 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}};
16964 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}};
16965 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}};
16966 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}};
16967 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}};
16968 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}};
16970 static swig_type_info
*swig_types_initial
[] = {
16971 _swigt__p_wxGridCellAutoWrapStringRenderer
,
16972 _swigt__p_wxGridCellEnumRenderer
,
16973 _swigt__p_wxGridCellDateTimeRenderer
,
16974 _swigt__p_wxGridCellBoolRenderer
,
16975 _swigt__p_wxGridCellFloatRenderer
,
16976 _swigt__p_wxGridCellNumberRenderer
,
16977 _swigt__p_wxPyGridCellRenderer
,
16978 _swigt__p_wxGridCellRenderer
,
16979 _swigt__p_wxGridCellStringRenderer
,
16980 _swigt__p_wxGridCellAttr
,
16981 _swigt__p_wxColour
,
16983 _swigt__p_wxGridTableMessage
,
16987 _swigt__p_wxNotifyEvent
,
16988 _swigt__p_wxGridRangeSelectEvent
,
16990 _swigt__p_wxGridCellCoords
,
16991 _swigt__p_wxScrolledWindow
,
16992 _swigt__p_wxWindow
,
16994 _swigt__p_wxControl
,
16996 _swigt__p_wxObject
,
16997 _swigt__p_wxGridSizeEvent
,
17000 _swigt__p_wxString
,
17001 _swigt__p_wxEvtHandler
,
17003 _swigt__p_wxGridEvent
,
17004 _swigt__p_wxGridEditorCreatedEvent
,
17005 _swigt__p_wxGridTableBase
,
17006 _swigt__p_wxGridCellNumberEditor
,
17007 _swigt__p_wxPyGridCellEditor
,
17008 _swigt__p_wxGridCellEditor
,
17009 _swigt__p_wxGridCellTextEditor
,
17010 _swigt__p_wxGridCellFloatEditor
,
17011 _swigt__p_wxGridCellBoolEditor
,
17012 _swigt__p_wxPyGridTableBase
,
17013 _swigt__p_wxGridStringTable
,
17014 _swigt__p_wxArrayString
,
17015 _swigt__p_wxCommandEvent
,
17016 _swigt__p_wxGridCellAttrProvider
,
17017 _swigt__p_wxKeyEvent
,
17018 _swigt__p_wxGridCellChoiceEditor
,
17019 _swigt__p_wxGridCellEnumEditor
,
17020 _swigt__p_wxGridCellAutoWrapStringEditor
,
17022 _swigt__p_wxPyGridCellAttrProvider
,
17027 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17029 static swig_const_info swig_const_table
[] = {
17030 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17031 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
17032 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17033 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
17034 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
17035 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17036 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17037 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
17038 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
17048 SWIGEXPORT(void) SWIG_init(void) {
17049 static PyObject
*SWIG_globals
= 0;
17050 static int typeinit
= 0;
17053 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17054 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17055 d
= PyModule_GetDict(m
);
17058 for (i
= 0; swig_types_initial
[i
]; i
++) {
17059 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17063 SWIG_InstallConstants(d
,swig_const_table
);
17065 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17066 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
17067 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17068 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17069 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17070 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17071 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17072 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17073 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17074 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17075 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17076 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
17077 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
17078 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any
));
17079 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default
));
17080 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell
));
17081 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row
));
17082 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col
));
17083 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged
));
17084 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
17085 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
17086 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
17087 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
17088 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
17089 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
17090 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
17091 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
17092 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells
));
17093 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows
));
17094 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns
));
17095 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17096 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17097 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17098 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17099 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17100 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17101 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17102 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17103 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17104 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17105 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17106 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17107 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17108 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17109 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17110 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));