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_wxVisualAttributes swig_types[14]
224 #define SWIGTYPE_p_char swig_types[15]
225 #define SWIGTYPE_p_wxPanel swig_types[16]
226 #define SWIGTYPE_p_wxNotifyEvent swig_types[17]
227 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[18]
228 #define SWIGTYPE_p_wxSize swig_types[19]
229 #define SWIGTYPE_p_wxGridCellCoords swig_types[20]
230 #define SWIGTYPE_p_wxScrolledWindow swig_types[21]
231 #define SWIGTYPE_p_wxWindow swig_types[22]
232 #define SWIGTYPE_p_wxFont swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxEvent swig_types[25]
235 #define SWIGTYPE_p_wxObject swig_types[26]
236 #define SWIGTYPE_p_wxGridSizeEvent swig_types[27]
237 #define SWIGTYPE_p_wxRect swig_types[28]
238 #define SWIGTYPE_p_long swig_types[29]
239 #define SWIGTYPE_p_wxString swig_types[30]
240 #define SWIGTYPE_p_wxEvtHandler swig_types[31]
241 #define SWIGTYPE_p_wxPoint swig_types[32]
242 #define SWIGTYPE_p_wxGridEvent swig_types[33]
243 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[34]
244 #define SWIGTYPE_p_wxGridTableBase swig_types[35]
245 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[36]
246 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[37]
247 #define SWIGTYPE_p_wxGridCellEditor swig_types[38]
248 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[39]
249 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[40]
250 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[41]
251 #define SWIGTYPE_p_wxPyGridTableBase swig_types[42]
252 #define SWIGTYPE_p_wxGridStringTable swig_types[43]
253 #define SWIGTYPE_p_wxArrayString swig_types[44]
254 #define SWIGTYPE_p_wxCommandEvent swig_types[45]
255 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[46]
256 #define SWIGTYPE_p_wxKeyEvent swig_types[47]
257 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[48]
258 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[49]
259 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[52]
262 static swig_type_info
*swig_types
[54];
264 /* -------- TYPES TABLE (END) -------- */
267 /*-----------------------------------------------
269 ------------------------------------------------*/
270 #define SWIG_init init_grid
272 #define SWIG_name "_grid"
274 /* Auxiliar swig macros */
277 #define SWIGSTATICINLINE(a) static inline a
278 #define SWIGSTATIC(a) static a
279 #define swig_new_array(type, size) (new type[(size)])
280 #define swig_delete_array(cptr) delete[] cptr
281 #define swig_const_cast(type,a) const_cast<type>(a)
282 #define swig_static_cast(type,a) static_cast<type>(a)
283 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
285 #ifdef HAVE_NUMERIC_CAST
286 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
288 #define swig_numeric_cast(type,a) static_cast<type>(a)
293 #define SWIGSTATICINLINE(a) static a
294 #define SWIGSTATIC(a) static a
295 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
296 #define swig_delete_array(cptr) free((char*)cptr)
297 #define swig_const_cast(type,a) (type)(a)
298 #define swig_static_cast(type,a) (type)(a)
299 #define swig_reinterpret_cast(type,a) (type)(a)
300 #define swig_numeric_cast(type,a) (type)(a)
302 #endif /* __cplusplus */
305 #define SWIG_FromSignedChar PyInt_FromLong
306 #define SWIG_FromUnsignedChar PyInt_FromLong
307 #define SWIG_FromShort PyInt_FromLong
308 #define SWIG_FromUnsignedShort PyInt_FromLong
309 #define SWIG_FromInt PyInt_FromLong
310 #define SWIG_FromLong PyInt_FromLong
311 #define SWIG_FromFloat PyFloat_FromDouble
312 #define SWIG_FromDouble PyFloat_FromDouble
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
317 #include "wx/wxPython/wxPython.h"
318 #include "wx/wxPython/pyclasses.h"
319 #include "wx/wxPython/printfw.h"
322 #include <wx/generic/gridctrl.h>
325 static const wxString
wxPyEmptyString(wxEmptyString
);
326 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
327 static const wxString
wxPyDateTimeFormatStr(wxT("%c"));
330 #define wxPyMake_TEMPLATE(TYPE) \
331 PyObject* wxPyMake_##TYPE(TYPE* source) { \
332 PyObject* target = NULL; \
334 /* Check if there is already a pointer to a Python object in the \
335 OOR data that we can use. */ \
336 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
338 target = data->m_obj; \
341 /* Otherwise make a new wrapper for it the old fashioned way and \
342 give it the OOR treatment */ \
344 target = wxPyConstructObject(source, wxT(#TYPE), False); \
346 source->SetClientObject(new wxPyOORClientData(target)); \
348 } else { /* source was NULL so return None. */ \
349 Py_INCREF(Py_None); target = Py_None; \
355 wxPyMake_TEMPLATE(wxGridCellRenderer)
356 wxPyMake_TEMPLATE(wxGridCellEditor
)
357 wxPyMake_TEMPLATE(wxGridCellAttr
)
358 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
359 wxPyMake_TEMPLATE(wxGridTableBase
)
363 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
364 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
365 wxGridCellAttr* rval = NULL; \
367 bool blocked = wxPyBeginBlockThreads(); \
368 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
370 wxGridCellAttr* ptr; \
371 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
373 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
378 wxPyEndBlockThreads(blocked); \
380 rval = PCLASS::CBNAME(a, b, c); \
383 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
384 return PCLASS::CBNAME(a, b, c); \
389 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
390 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
391 bool blocked = wxPyBeginBlockThreads(); \
393 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
394 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
395 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
398 wxPyEndBlockThreads(blocked); \
400 PCLASS::CBNAME(attr, a, b); \
402 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
403 PCLASS::CBNAME(attr, a, b); \
408 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
409 void CBNAME(wxGridCellAttr *attr, int val) { \
410 bool blocked = wxPyBeginBlockThreads(); \
412 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
413 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
414 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
417 wxPyEndBlockThreads(blocked); \
419 PCLASS::CBNAME(attr, val); \
421 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
422 PCLASS::CBNAME(attr, val); \
427 #define PYCALLBACK_INT__pure(CBNAME) \
429 bool blocked = wxPyBeginBlockThreads(); \
431 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
432 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
433 wxPyEndBlockThreads(blocked); \
439 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
440 bool CBNAME(int a, int b) { \
441 bool blocked = wxPyBeginBlockThreads(); \
443 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
444 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
445 wxPyEndBlockThreads(blocked); \
450 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
451 wxString CBNAME(int a, int b) { \
452 bool blocked = wxPyBeginBlockThreads(); \
454 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
456 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
458 rval = Py2wxString(ro); \
462 wxPyEndBlockThreads(blocked); \
467 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
468 void CBNAME(int a, int b, const wxString& c) { \
469 bool blocked = wxPyBeginBlockThreads(); \
470 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
471 PyObject* s = wx2PyString(c); \
472 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
475 wxPyEndBlockThreads(blocked); \
479 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
480 wxString CBNAME(int a, int b) { \
482 bool blocked = wxPyBeginBlockThreads(); \
484 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
486 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
488 rval = Py2wxString(ro); \
492 wxPyEndBlockThreads(blocked); \
494 rval = PCLASS::CBNAME(a, b); \
497 wxString base_##CBNAME(int a, int b) { \
498 return PCLASS::CBNAME(a, b); \
502 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
503 bool CBNAME(int a, int b, const wxString& c) { \
506 bool blocked = wxPyBeginBlockThreads(); \
507 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
508 PyObject* s = wx2PyString(c); \
509 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
512 wxPyEndBlockThreads(blocked); \
514 rval = PCLASS::CBNAME(a,b,c); \
517 bool base_##CBNAME(int a, int b, const wxString& c) { \
518 return PCLASS::CBNAME(a,b,c); \
524 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
525 long CBNAME(int a, int b) { \
528 bool blocked = wxPyBeginBlockThreads(); \
529 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
530 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
531 wxPyEndBlockThreads(blocked); \
533 rval = PCLASS::CBNAME(a,b); \
536 long base_##CBNAME(int a, int b) { \
537 return PCLASS::CBNAME(a,b); \
542 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
543 bool CBNAME(int a, int b) { \
546 bool blocked = wxPyBeginBlockThreads(); \
547 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
548 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
549 wxPyEndBlockThreads(blocked); \
551 rval = PCLASS::CBNAME(a,b); \
554 bool base_##CBNAME(int a, int b) { \
555 return PCLASS::CBNAME(a,b); \
560 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
561 double CBNAME(int a, int b) { \
563 bool blocked = wxPyBeginBlockThreads(); \
565 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
567 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
569 PyObject* str = PyObject_Str(ro); \
570 rval = PyFloat_AsDouble(str); \
571 Py_DECREF(ro); Py_DECREF(str); \
574 wxPyEndBlockThreads(blocked); \
576 rval = PCLASS::CBNAME(a, b); \
579 double base_##CBNAME(int a, int b) { \
580 return PCLASS::CBNAME(a, b); \
585 #define PYCALLBACK__(PCLASS, CBNAME) \
588 bool blocked = wxPyBeginBlockThreads(); \
589 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
590 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
591 wxPyEndBlockThreads(blocked); \
595 void base_##CBNAME() { \
602 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
603 bool CBNAME(size_t a, size_t b) { \
606 bool blocked = wxPyBeginBlockThreads(); \
607 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
608 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
609 wxPyEndBlockThreads(blocked); \
611 rval = PCLASS::CBNAME(a,b); \
614 bool base_##CBNAME(size_t a, size_t b) { \
615 return PCLASS::CBNAME(a,b); \
620 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
621 bool CBNAME(size_t a) { \
624 bool blocked = wxPyBeginBlockThreads(); \
625 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
626 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
627 wxPyEndBlockThreads(blocked); \
629 rval = PCLASS::CBNAME(a); \
632 bool base_##CBNAME(size_t a) { \
633 return PCLASS::CBNAME(a); \
637 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
638 wxString CBNAME(int a) { \
640 bool blocked = wxPyBeginBlockThreads(); \
642 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
644 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
646 rval = Py2wxString(ro); \
650 wxPyEndBlockThreads(blocked); \
652 rval = PCLASS::CBNAME(a); \
655 wxString base_##CBNAME(int a) { \
656 return PCLASS::CBNAME(a); \
660 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
661 void CBNAME(int a, const wxString& c) { \
663 bool blocked = wxPyBeginBlockThreads(); \
664 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
665 PyObject* s = wx2PyString(c); \
666 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
669 wxPyEndBlockThreads(blocked); \
671 PCLASS::CBNAME(a,c); \
673 void base_##CBNAME(int a, const wxString& c) { \
674 PCLASS::CBNAME(a,c); \
680 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
684 bool blocked = wxPyBeginBlockThreads(); \
685 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
686 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
687 wxPyEndBlockThreads(blocked); \
689 rval = PCLASS::CBNAME(); \
692 bool base_##CBNAME() { \
693 return PCLASS::CBNAME(); \
698 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
699 void CBNAME(size_t a, int b) { \
701 bool blocked = wxPyBeginBlockThreads(); \
702 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
703 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
704 wxPyEndBlockThreads(blocked); \
706 PCLASS::CBNAME(a,b); \
708 void base_##CBNAME(size_t a, int b) { \
709 PCLASS::CBNAME(a,b); \
715 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
716 void CBNAME(int a, int b, long c) { \
718 bool blocked = wxPyBeginBlockThreads(); \
719 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
720 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
721 wxPyEndBlockThreads(blocked); \
723 PCLASS::CBNAME(a,b,c); \
725 void base_##CBNAME(int a, int b, long c) { \
726 PCLASS::CBNAME(a,b,c); \
732 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
733 void CBNAME(int a, int b, double c) { \
735 bool blocked = wxPyBeginBlockThreads(); \
736 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
737 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
738 wxPyEndBlockThreads(blocked); \
740 PCLASS::CBNAME(a,b,c); \
742 void base_##CBNAME(int a, int b, double c) { \
743 PCLASS::CBNAME(a,b,c); \
748 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
749 void CBNAME(int a, int b, bool c) { \
751 bool blocked = wxPyBeginBlockThreads(); \
752 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
753 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
754 wxPyEndBlockThreads(blocked); \
756 PCLASS::CBNAME(a,b,c); \
758 void base_##CBNAME(int a, int b, bool c) { \
759 PCLASS::CBNAME(a,b,c); \
767 SWIGSTATICINLINE(PyObject
*)
768 SWIG_FromCharPtr(const char* cptr
)
770 size_t size
= cptr
? strlen(cptr
) : 0;
772 if (size
> INT_MAX
) {
773 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
774 SWIG_TypeQuery("char *"), 0);
776 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
784 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
785 self
->SetClientObject(new wxPyOORClientData(_self
));
791 SWIGSTATICINLINE(long)
792 SWIG_CheckLongInRange(long value
, const char* type
,
793 long min_value
, long max_value
)
795 if (!PyErr_Occurred()) {
796 if (value
< min_value
) {
798 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
799 value
, type
, min_value
);
801 PyErr_SetObject(PyExc_OverflowError
, err
);
803 } else if (value
> max_value
) {
805 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
806 value
, type
, max_value
);
807 PyErr_SetObject(PyExc_OverflowError
, err
);
815 SWIGSTATICINLINE(long)
816 SWIG_AsLong(PyObject
* obj
)
818 if (PyNumber_Check(obj
))
819 return PyInt_AsLong(obj
);
821 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
822 obj
->ob_type
->tp_name
);
823 PyErr_SetObject(PyExc_TypeError
, errmsg
);
830 #if INT_MAX != LONG_MAX
831 SWIGSTATICINLINE(int)
832 SWIG_AsInt(PyObject
*obj
)
834 return swig_numeric_cast(int,
835 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
836 "int", INT_MIN
, INT_MAX
));
839 #define SWIG_AsInt SWIG_AsLong
843 SWIGSTATICINLINE(bool)
844 SWIG_AsBool(PyObject
*obj
)
846 return PyObject_IsTrue(obj
) ? true : false;
850 SWIGSTATICINLINE(int)
851 SWIG_CheckInt(PyObject
* obj
)
854 if (PyErr_Occurred()) {
863 SWIGSTATICINLINE(int)
864 SWIG_CheckBool(PyObject
* obj
)
867 if (PyErr_Occurred()) {
876 class wxPyGridCellRenderer
: public wxGridCellRenderer
879 wxPyGridCellRenderer() : wxGridCellRenderer() {};
881 // Implement Python callback aware virtual methods
882 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
883 wxDC
& dc
, const wxRect
& rect
,
884 int row
, int col
, bool isSelected
) {
885 bool blocked
= wxPyBeginBlockThreads();
886 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
887 PyObject
* go
= wxPyMake_wxObject(&grid
);
888 PyObject
* dco
= wxPyMake_wxObject(&dc
);
889 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
890 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
892 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
893 row
, col
, isSelected
));
899 wxPyEndBlockThreads(blocked
);
902 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
905 bool blocked
= wxPyBeginBlockThreads();
906 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
909 PyObject
* go
= wxPyMake_wxObject(&grid
);
910 PyObject
* dco
= wxPyMake_wxObject(&dc
);
911 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
913 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
921 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
922 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
925 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
926 PyObject
* o1
= PySequence_GetItem(ro
, 0);
927 PyObject
* o2
= PySequence_GetItem(ro
, 1);
928 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
929 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
931 PyErr_SetString(PyExc_TypeError
, errmsg
);
936 PyErr_SetString(PyExc_TypeError
, errmsg
);
941 wxPyEndBlockThreads(blocked
);
946 wxGridCellRenderer
*Clone() const {
947 wxGridCellRenderer
* rval
= NULL
;
948 bool blocked
= wxPyBeginBlockThreads();
949 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
951 wxGridCellRenderer
* ptr
;
952 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
954 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
959 wxPyEndBlockThreads(blocked
);
963 DEC_PYCALLBACK__STRING(SetParameters
);
968 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
971 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
972 self
->SetClientObject(new wxPyOORClientData(_self
));
975 class wxPyGridCellEditor
: public wxGridCellEditor
978 wxPyGridCellEditor() : wxGridCellEditor() {}
980 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
981 bool blocked
= wxPyBeginBlockThreads();
982 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
983 PyObject
* po
= wxPyMake_wxObject(parent
);
984 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
986 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
990 wxPyEndBlockThreads(blocked
);
994 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
995 bool blocked
= wxPyBeginBlockThreads();
996 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
997 PyObject
* go
= wxPyMake_wxObject(grid
);
998 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1001 wxPyEndBlockThreads(blocked
);
1005 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
1007 bool blocked
= wxPyBeginBlockThreads();
1008 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
1009 PyObject
* go
= wxPyMake_wxObject(grid
);
1010 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1013 wxPyEndBlockThreads(blocked
);
1018 wxGridCellEditor
* Clone() const {
1019 wxGridCellEditor
* rval
= NULL
;
1020 bool blocked
= wxPyBeginBlockThreads();
1021 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
1023 wxGridCellEditor
* ptr
;
1024 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1026 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
1031 wxPyEndBlockThreads(blocked
);
1036 void Show(bool show
, wxGridCellAttr
*attr
) {
1038 bool blocked
= wxPyBeginBlockThreads();
1039 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
1040 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1041 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
1044 wxPyEndBlockThreads(blocked
);
1046 wxGridCellEditor::Show(show
, attr
);
1048 void base_Show(bool show
, wxGridCellAttr
*attr
) {
1049 wxGridCellEditor::Show(show
, attr
);
1053 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1055 bool blocked
= wxPyBeginBlockThreads();
1056 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
1057 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1058 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
1060 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
1065 wxPyEndBlockThreads(blocked
);
1067 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1069 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1070 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1074 DEC_PYCALLBACK___pure(Reset
);
1075 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
1076 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
1077 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
1078 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
1079 DEC_PYCALLBACK__(StartingClick
);
1080 DEC_PYCALLBACK__(Destroy
);
1081 DEC_PYCALLBACK__STRING(SetParameters
);
1082 DEC_PYCALLBACK_STRING__constpure(GetValue
);
1088 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
1089 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
1090 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
1091 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
1092 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
1093 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
1094 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
1095 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
1096 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
1099 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
1100 self
->SetClientObject(new wxPyOORClientData(_self
));
1103 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1109 } else if (target
== Py_None
) {
1113 if (!PyTuple_Check(target
)) {
1115 target
= PyTuple_New(1);
1116 PyTuple_SetItem(target
, 0, o2
);
1118 o3
= PyTuple_New(1);
1119 PyTuple_SetItem(o3
, 0, o
);
1122 target
= PySequence_Concat(o2
, o3
);
1129 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1130 self
->SetClientObject(new wxPyOORClientData(_self
));
1133 SWIGSTATICINLINE(unsigned long)
1134 SWIG_AsUnsignedLong(PyObject
* obj
)
1136 if (PyLong_Check(obj
)) {
1137 return PyLong_AsUnsignedLong(obj
);
1139 long i
= SWIG_AsLong(obj
);
1140 if ( !PyErr_Occurred() && (i
< 0)) {
1141 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1148 SWIGSTATICINLINE(int)
1149 SWIG_CheckUnsignedLong(PyObject
* obj
)
1151 SWIG_AsUnsignedLong(obj
);
1152 if (PyErr_Occurred()) {
1161 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1164 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1166 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1167 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1168 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1169 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1174 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1175 self
->SetClientObject(new wxPyOORClientData(_self
));
1178 SWIGSTATICINLINE(int)
1179 SWIG_CheckLong(PyObject
* obj
)
1182 if (PyErr_Occurred()) {
1191 SWIGSTATICINLINE(double)
1192 SWIG_AsDouble(PyObject
*obj
)
1194 if (PyNumber_Check(obj
))
1195 return PyFloat_AsDouble(obj
);
1197 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1198 obj
->ob_type
->tp_name
);
1199 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1206 SWIGSTATICINLINE(int)
1207 SWIG_CheckDouble(PyObject
* obj
)
1210 if (PyErr_Occurred()) {
1219 class wxPyGridTableBase
: public wxGridTableBase
1222 wxPyGridTableBase() : wxGridTableBase() {}
1224 PYCALLBACK_INT__pure(GetNumberRows
);
1225 PYCALLBACK_INT__pure(GetNumberCols
);
1226 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1227 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1228 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1229 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1230 PYCALLBACK__(wxGridTableBase
, Clear
);
1231 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1232 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1233 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1234 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1235 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1236 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1237 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1238 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1239 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1240 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1241 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1242 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1243 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1244 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1245 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1248 wxString
GetValue(int row
, int col
) {
1249 bool blocked
= wxPyBeginBlockThreads();
1251 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1253 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1255 rval
= Py2wxString(ro
);
1259 wxPyEndBlockThreads(blocked
);
1263 void SetValue(int row
, int col
, const wxString
& val
) {
1264 bool blocked
= wxPyBeginBlockThreads();
1265 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1266 PyObject
* s
= wx2PyString(val
);
1267 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1270 wxPyEndBlockThreads(blocked
);
1274 // Map the Get/Set methods for the standard non-string types to
1275 // the GetValue and SetValue python methods.
1276 long GetValueAsLong( int row
, int col
) {
1278 bool blocked
= wxPyBeginBlockThreads();
1279 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1282 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1283 if (ro
&& PyNumber_Check(ro
)) {
1284 num
= PyNumber_Int(ro
);
1286 rval
= PyInt_AsLong(num
);
1292 wxPyEndBlockThreads(blocked
);
1296 double GetValueAsDouble( int row
, int col
) {
1298 bool blocked
= wxPyBeginBlockThreads();
1299 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1302 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1303 if (ro
&& PyNumber_Check(ro
)) {
1304 num
= PyNumber_Float(ro
);
1306 rval
= PyFloat_AsDouble(num
);
1312 wxPyEndBlockThreads(blocked
);
1316 bool GetValueAsBool( int row
, int col
) {
1317 return (bool)GetValueAsLong(row
, col
);
1320 void SetValueAsLong( int row
, int col
, long value
) {
1321 bool blocked
= wxPyBeginBlockThreads();
1322 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1323 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1325 wxPyEndBlockThreads(blocked
);
1328 void SetValueAsDouble( int row
, int col
, double value
) {
1329 bool blocked
= wxPyBeginBlockThreads();
1330 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1331 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1333 wxPyEndBlockThreads(blocked
);
1336 void SetValueAsBool( int row
, int col
, bool value
) {
1337 SetValueAsLong( row
, col
, (long)value
);
1344 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1346 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1348 if (source
== Py_None
) {
1349 **obj
= wxGridCellCoords(-1,-1);
1353 // If source is an object instance then it may already be the right type
1354 if (wxPySwigInstance_Check(source
)) {
1355 wxGridCellCoords
* ptr
;
1356 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1361 // otherwise a 2-tuple of integers is expected
1362 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1363 PyObject
* o1
= PySequence_GetItem(source
, 0);
1364 PyObject
* o2
= PySequence_GetItem(source
, 1);
1365 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1370 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1377 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1382 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1385 if (wxPySwigInstance_Check(source
) &&
1386 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1390 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1397 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1399 PyObject
* list
= PyList_New(0);
1401 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1402 wxGridCellCoords
& coord
= source
.Item(idx
);
1403 PyObject
* tup
= PyTuple_New(2);
1404 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1405 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1406 PyList_Append(list
, tup
);
1412 PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
1413 PyObject
* tup
= PyTuple_New(2);
1414 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1415 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1419 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1421 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1422 wxGridCellCoords rv
;
1423 self
->XYToCell(x
, y
, rv
);
1429 static int _wrap_DateTimeFormatStr_set(PyObject
*_val
) {
1430 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1435 static PyObject
*_wrap_DateTimeFormatStr_get() {
1440 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1442 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1449 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1450 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1455 static PyObject
*_wrap_GridNoCellCoords_get() {
1458 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
1463 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1464 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1469 static PyObject
*_wrap_GridNoCellRect_get() {
1472 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
1477 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1480 PyObject
*arg2
= (PyObject
*) 0 ;
1481 PyObject
* obj0
= 0 ;
1482 PyObject
* obj1
= 0 ;
1484 (char *) "self",(char *) "_self", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1493 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1495 wxPyEndAllowThreads(__tstate
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1498 Py_INCREF(Py_None
); resultobj
= Py_None
;
1505 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
*resultobj
;
1507 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1508 wxString
*arg2
= 0 ;
1509 bool temp2
= False
;
1510 PyObject
* obj0
= 0 ;
1511 PyObject
* obj1
= 0 ;
1513 (char *) "self",(char *) "params", NULL
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1520 arg2
= wxString_in_helper(obj1
);
1521 if (arg2
== NULL
) SWIG_fail
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 (arg1
)->SetParameters((wxString
const &)*arg2
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1531 Py_INCREF(Py_None
); resultobj
= Py_None
;
1546 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
*resultobj
;
1548 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1549 PyObject
* obj0
= 0 ;
1551 (char *) "self", NULL
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1564 Py_INCREF(Py_None
); resultobj
= Py_None
;
1571 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
*resultobj
;
1573 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1574 PyObject
* obj0
= 0 ;
1576 (char *) "self", NULL
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) SWIG_fail
;
1589 Py_INCREF(Py_None
); resultobj
= Py_None
;
1596 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1598 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1600 wxGridCellAttr
*arg3
= 0 ;
1607 PyObject
* obj0
= 0 ;
1608 PyObject
* obj1
= 0 ;
1609 PyObject
* obj2
= 0 ;
1610 PyObject
* obj3
= 0 ;
1611 PyObject
* obj4
= 0 ;
1612 PyObject
* obj5
= 0 ;
1613 PyObject
* obj6
= 0 ;
1614 PyObject
* obj7
= 0 ;
1616 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1626 PyErr_SetString(PyExc_TypeError
,"null reference");
1629 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1633 PyErr_SetString(PyExc_TypeError
,"null reference");
1636 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1640 PyErr_SetString(PyExc_TypeError
,"null reference");
1645 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1647 arg6
= (int) SWIG_AsInt(obj5
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1649 arg7
= (int) SWIG_AsInt(obj6
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1651 arg8
= (bool) SWIG_AsBool(obj7
);
1652 if (PyErr_Occurred()) SWIG_fail
;
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1660 Py_INCREF(Py_None
); resultobj
= Py_None
;
1667 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
*resultobj
;
1669 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1671 wxGridCellAttr
*arg3
= 0 ;
1676 PyObject
* obj0
= 0 ;
1677 PyObject
* obj1
= 0 ;
1678 PyObject
* obj2
= 0 ;
1679 PyObject
* obj3
= 0 ;
1680 PyObject
* obj4
= 0 ;
1681 PyObject
* obj5
= 0 ;
1683 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1693 PyErr_SetString(PyExc_TypeError
,"null reference");
1696 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1700 PyErr_SetString(PyExc_TypeError
,"null reference");
1703 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1707 PyErr_SetString(PyExc_TypeError
,"null reference");
1710 arg5
= (int) SWIG_AsInt(obj4
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1712 arg6
= (int) SWIG_AsInt(obj5
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) SWIG_fail
;
1723 resultptr
= new wxSize((wxSize
&) result
);
1724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1732 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
*resultobj
;
1734 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1735 wxGridCellRenderer
*result
;
1736 PyObject
* obj0
= 0 ;
1738 (char *) "self", NULL
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1752 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1760 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1763 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1765 return Py_BuildValue((char *)"");
1767 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxPyGridCellRenderer
*result
;
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1777 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1789 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
*resultobj
;
1791 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1792 PyObject
*arg2
= (PyObject
*) 0 ;
1793 PyObject
*arg3
= (PyObject
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1795 PyObject
* obj1
= 0 ;
1796 PyObject
* obj2
= 0 ;
1798 (char *) "self",(char *) "self",(char *) "_class", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 Py_INCREF(Py_None
); resultobj
= Py_None
;
1820 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1823 wxString
*arg2
= 0 ;
1824 bool temp2
= False
;
1825 PyObject
* obj0
= 0 ;
1826 PyObject
* obj1
= 0 ;
1828 (char *) "self",(char *) "params", NULL
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1835 arg2
= wxString_in_helper(obj1
);
1836 if (arg2
== NULL
) SWIG_fail
;
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 Py_INCREF(Py_None
); resultobj
= Py_None
;
1861 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1864 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1866 return Py_BuildValue((char *)"");
1868 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxGridCellStringRenderer
*result
;
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1890 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1893 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1895 return Py_BuildValue((char *)"");
1897 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
*resultobj
;
1899 wxGridCellNumberRenderer
*result
;
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1907 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1909 wxPyEndAllowThreads(__tstate
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1919 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1922 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1924 return Py_BuildValue((char *)"");
1926 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
*resultobj
;
1928 int arg1
= (int) -1 ;
1929 int arg2
= (int) -1 ;
1930 wxGridCellFloatRenderer
*result
;
1931 PyObject
* obj0
= 0 ;
1932 PyObject
* obj1
= 0 ;
1934 (char *) "width",(char *) "precision", NULL
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1939 arg1
= (int) SWIG_AsInt(obj0
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1943 arg2
= (int) SWIG_AsInt(obj1
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1960 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1964 PyObject
* obj0
= 0 ;
1966 (char *) "self", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
1971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 resultobj
= SWIG_FromInt((int)result
);
1986 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
*resultobj
;
1988 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1990 PyObject
* obj0
= 0 ;
1991 PyObject
* obj1
= 0 ;
1993 (char *) "self",(char *) "width", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
1998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1999 arg2
= (int) SWIG_AsInt(obj1
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 (arg1
)->SetWidth(arg2
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 Py_INCREF(Py_None
); resultobj
= Py_None
;
2015 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
*resultobj
;
2017 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2019 PyObject
* obj0
= 0 ;
2021 (char *) "self", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 resultobj
= SWIG_FromInt((int)result
);
2041 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2045 PyObject
* obj0
= 0 ;
2046 PyObject
* obj1
= 0 ;
2048 (char *) "self",(char *) "precision", NULL
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
2052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2054 arg2
= (int) SWIG_AsInt(obj1
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 (arg1
)->SetPrecision(arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 Py_INCREF(Py_None
); resultobj
= Py_None
;
2070 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2073 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
2075 return Py_BuildValue((char *)"");
2077 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
*resultobj
;
2079 wxGridCellBoolRenderer
*result
;
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
2099 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2102 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
2104 return Py_BuildValue((char *)"");
2106 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
2109 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
2110 wxGridCellDateTimeRenderer
*result
;
2111 PyObject
* obj0
= 0 ;
2112 PyObject
* obj1
= 0 ;
2114 (char *) "outformat",(char *) "informat", NULL
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2120 wxString
* sptr
= wxString_in_helper(obj0
);
2121 if (sptr
== NULL
) SWIG_fail
;
2128 wxString
* sptr
= wxString_in_helper(obj1
);
2129 if (sptr
== NULL
) SWIG_fail
;
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2148 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2151 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2153 return Py_BuildValue((char *)"");
2155 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2158 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2159 wxGridCellEnumRenderer
*result
;
2160 bool temp1
= False
;
2161 PyObject
* obj0
= 0 ;
2163 (char *) "choices", NULL
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2169 arg1
= wxString_in_helper(obj0
);
2170 if (arg1
== NULL
) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2196 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2199 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2201 return Py_BuildValue((char *)"");
2203 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
*resultobj
;
2205 wxGridCellAutoWrapStringRenderer
*result
;
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2225 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2228 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2230 return Py_BuildValue((char *)"");
2232 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2235 PyObject
*arg2
= (PyObject
*) 0 ;
2236 PyObject
* obj0
= 0 ;
2237 PyObject
* obj1
= 0 ;
2239 (char *) "self",(char *) "_self", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2264 PyObject
* obj0
= 0 ;
2266 (char *) "self", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= (bool)(arg1
)->IsCreated();
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2288 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "self", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= (wxControl
*)(arg1
)->GetControl();
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2308 resultobj
= wxPyMake_wxObject(result
);
2316 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2319 wxControl
*arg2
= (wxControl
*) 0 ;
2320 PyObject
* obj0
= 0 ;
2321 PyObject
* obj1
= 0 ;
2323 (char *) "self",(char *) "control", NULL
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
2330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 (arg1
)->SetControl(arg2
);
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 Py_INCREF(Py_None
); resultobj
= Py_None
;
2345 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2348 wxGridCellAttr
*result
;
2349 PyObject
* obj0
= 0 ;
2351 (char *) "self", NULL
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2365 resultobj
= wxPyMake_wxGridCellAttr(result
);
2373 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2376 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2378 PyObject
* obj1
= 0 ;
2380 (char *) "self",(char *) "attr", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
2387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2390 (arg1
)->SetCellAttr(arg2
);
2392 wxPyEndAllowThreads(__tstate
);
2393 if (PyErr_Occurred()) SWIG_fail
;
2395 Py_INCREF(Py_None
); resultobj
= Py_None
;
2402 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2405 wxString
*arg2
= 0 ;
2406 bool temp2
= False
;
2407 PyObject
* obj0
= 0 ;
2408 PyObject
* obj1
= 0 ;
2410 (char *) "self",(char *) "params", NULL
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2417 arg2
= wxString_in_helper(obj1
);
2418 if (arg2
== NULL
) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 (arg1
)->SetParameters((wxString
const &)*arg2
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2428 Py_INCREF(Py_None
); resultobj
= Py_None
;
2443 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2445 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2446 PyObject
* obj0
= 0 ;
2448 (char *) "self", NULL
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2461 Py_INCREF(Py_None
); resultobj
= Py_None
;
2468 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
*resultobj
;
2470 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2471 PyObject
* obj0
= 0 ;
2473 (char *) "self", NULL
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2486 Py_INCREF(Py_None
); resultobj
= Py_None
;
2493 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2495 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2496 wxWindow
*arg2
= (wxWindow
*) 0 ;
2498 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2501 PyObject
* obj2
= 0 ;
2502 PyObject
* obj3
= 0 ;
2504 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2512 arg3
= (int) SWIG_AsInt(obj2
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2514 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxEvtHandler
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 (arg1
)->Create(arg2
,arg3
,arg4
);
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 Py_INCREF(Py_None
); resultobj
= Py_None
;
2530 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2535 wxGrid
*arg4
= (wxGrid
*) 0 ;
2536 PyObject
* obj0
= 0 ;
2537 PyObject
* obj1
= 0 ;
2538 PyObject
* obj2
= 0 ;
2539 PyObject
* obj3
= 0 ;
2541 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2547 arg2
= (int) SWIG_AsInt(obj1
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2549 arg3
= (int) SWIG_AsInt(obj2
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2551 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2560 Py_INCREF(Py_None
); resultobj
= Py_None
;
2567 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2569 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2572 wxGrid
*arg4
= (wxGrid
*) 0 ;
2574 PyObject
* obj0
= 0 ;
2575 PyObject
* obj1
= 0 ;
2576 PyObject
* obj2
= 0 ;
2577 PyObject
* obj3
= 0 ;
2579 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2585 arg2
= (int) SWIG_AsInt(obj1
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2587 arg3
= (int) SWIG_AsInt(obj2
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2589 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2607 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
*resultobj
;
2609 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2610 PyObject
* obj0
= 0 ;
2612 (char *) "self", NULL
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2625 Py_INCREF(Py_None
); resultobj
= Py_None
;
2632 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
*resultobj
;
2634 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2635 wxGridCellEditor
*result
;
2636 PyObject
* obj0
= 0 ;
2638 (char *) "self", NULL
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2652 resultobj
= wxPyMake_wxGridCellEditor(result
);
2660 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2665 PyObject
* obj0
= 0 ;
2666 PyObject
* obj1
= 0 ;
2668 (char *) "self",(char *) "rect", NULL
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2676 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 (arg1
)->SetSize((wxRect
const &)*arg2
);
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2685 Py_INCREF(Py_None
); resultobj
= Py_None
;
2692 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2696 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2697 PyObject
* obj0
= 0 ;
2698 PyObject
* obj1
= 0 ;
2699 PyObject
* obj2
= 0 ;
2701 (char *) "self",(char *) "show",(char *) "attr", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 arg2
= (bool) SWIG_AsBool(obj1
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 (arg1
)->Show(arg2
,arg3
);
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) SWIG_fail
;
2720 Py_INCREF(Py_None
); resultobj
= Py_None
;
2727 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2731 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2733 PyObject
* obj0
= 0 ;
2734 PyObject
* obj1
= 0 ;
2735 PyObject
* obj2
= 0 ;
2737 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2745 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2747 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 Py_INCREF(Py_None
); resultobj
= Py_None
;
2763 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2766 wxKeyEvent
*arg2
= 0 ;
2768 PyObject
* obj0
= 0 ;
2769 PyObject
* obj1
= 0 ;
2771 (char *) "self",(char *) "event", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2781 PyErr_SetString(PyExc_TypeError
,"null reference");
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2800 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2803 wxKeyEvent
*arg2
= 0 ;
2804 PyObject
* obj0
= 0 ;
2805 PyObject
* obj1
= 0 ;
2807 (char *) "self",(char *) "event", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2817 PyErr_SetString(PyExc_TypeError
,"null reference");
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 (arg1
)->StartingKey(*arg2
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2834 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2837 PyObject
* obj0
= 0 ;
2839 (char *) "self", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 (arg1
)->StartingClick();
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2852 Py_INCREF(Py_None
); resultobj
= Py_None
;
2859 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
*resultobj
;
2861 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2862 wxKeyEvent
*arg2
= 0 ;
2863 PyObject
* obj0
= 0 ;
2864 PyObject
* obj1
= 0 ;
2866 (char *) "self",(char *) "event", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2876 PyErr_SetString(PyExc_TypeError
,"null reference");
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 (arg1
)->HandleReturn(*arg2
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2886 Py_INCREF(Py_None
); resultobj
= Py_None
;
2893 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
*resultobj
;
2895 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2896 PyObject
* obj0
= 0 ;
2898 (char *) "self", NULL
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2911 Py_INCREF(Py_None
); resultobj
= Py_None
;
2918 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2921 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2923 return Py_BuildValue((char *)"");
2925 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxPyGridCellEditor
*result
;
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
2947 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2949 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2950 PyObject
*arg2
= (PyObject
*) 0 ;
2951 PyObject
*arg3
= (PyObject
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2953 PyObject
* obj1
= 0 ;
2954 PyObject
* obj2
= 0 ;
2956 (char *) "self",(char *) "self",(char *) "_class", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
2961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2971 Py_INCREF(Py_None
); resultobj
= Py_None
;
2978 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2983 PyObject
* obj0
= 0 ;
2984 PyObject
* obj1
= 0 ;
2986 (char *) "self",(char *) "rect", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
2991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2994 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3014 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3015 PyObject
* obj0
= 0 ;
3016 PyObject
* obj1
= 0 ;
3017 PyObject
* obj2
= 0 ;
3019 (char *) "self",(char *) "show",(char *) "attr", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3025 arg2
= (bool) SWIG_AsBool(obj1
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3028 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 (arg1
)->base_Show(arg2
,arg3
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3038 Py_INCREF(Py_None
); resultobj
= Py_None
;
3045 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3047 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3049 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3051 PyObject
* obj0
= 0 ;
3052 PyObject
* obj1
= 0 ;
3053 PyObject
* obj2
= 0 ;
3055 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3065 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 Py_INCREF(Py_None
); resultobj
= Py_None
;
3081 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3084 wxKeyEvent
*arg2
= 0 ;
3086 PyObject
* obj0
= 0 ;
3087 PyObject
* obj1
= 0 ;
3089 (char *) "self",(char *) "event", NULL
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3099 PyErr_SetString(PyExc_TypeError
,"null reference");
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3118 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
;
3120 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3121 wxKeyEvent
*arg2
= 0 ;
3122 PyObject
* obj0
= 0 ;
3123 PyObject
* obj1
= 0 ;
3125 (char *) "self",(char *) "event", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3135 PyErr_SetString(PyExc_TypeError
,"null reference");
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 (arg1
)->base_StartingKey(*arg2
);
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 Py_INCREF(Py_None
); resultobj
= Py_None
;
3152 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3155 PyObject
* obj0
= 0 ;
3157 (char *) "self", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 (arg1
)->base_StartingClick();
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3170 Py_INCREF(Py_None
); resultobj
= Py_None
;
3177 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3180 wxKeyEvent
*arg2
= 0 ;
3181 PyObject
* obj0
= 0 ;
3182 PyObject
* obj1
= 0 ;
3184 (char *) "self",(char *) "event", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3194 PyErr_SetString(PyExc_TypeError
,"null reference");
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 (arg1
)->base_HandleReturn(*arg2
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3204 Py_INCREF(Py_None
); resultobj
= Py_None
;
3211 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3214 PyObject
* obj0
= 0 ;
3216 (char *) "self", NULL
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 (arg1
)->base_Destroy();
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 Py_INCREF(Py_None
); resultobj
= Py_None
;
3236 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3239 wxString
*arg2
= 0 ;
3240 bool temp2
= False
;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3244 (char *) "self",(char *) "params", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3251 arg2
= wxString_in_helper(obj1
);
3252 if (arg2
== NULL
) SWIG_fail
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3262 Py_INCREF(Py_None
); resultobj
= Py_None
;
3277 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3280 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3282 return Py_BuildValue((char *)"");
3284 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxGridCellTextEditor
*result
;
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
3306 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3312 (char *) "self", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellTextEditor
,
3317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (arg1
)->GetValue();
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3338 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3341 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3343 return Py_BuildValue((char *)"");
3345 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 int arg1
= (int) -1 ;
3348 int arg2
= (int) -1 ;
3349 wxGridCellNumberEditor
*result
;
3350 PyObject
* obj0
= 0 ;
3351 PyObject
* obj1
= 0 ;
3353 (char *) "min",(char *) "max", NULL
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3358 arg1
= (int) SWIG_AsInt(obj0
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 arg2
= (int) SWIG_AsInt(obj1
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3379 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3385 (char *) "self", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellNumberEditor
,
3390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (arg1
)->GetValue();
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3411 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3414 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3416 return Py_BuildValue((char *)"");
3418 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
*resultobj
;
3420 int arg1
= (int) -1 ;
3421 int arg2
= (int) -1 ;
3422 wxGridCellFloatEditor
*result
;
3423 PyObject
* obj0
= 0 ;
3424 PyObject
* obj1
= 0 ;
3426 (char *) "width",(char *) "precision", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 arg1
= (int) SWIG_AsInt(obj0
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3435 arg2
= (int) SWIG_AsInt(obj1
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3452 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3456 PyObject
* obj0
= 0 ;
3458 (char *) "self", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatEditor
,
3463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 result
= (arg1
)->GetValue();
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3484 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3487 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3489 return Py_BuildValue((char *)"");
3491 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxGridCellBoolEditor
*result
;
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3513 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3519 (char *) "self", NULL
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellBoolEditor
,
3524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= (arg1
)->GetValue();
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3545 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3548 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3550 return Py_BuildValue((char *)"");
3552 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 int arg1
= (int) 0 ;
3555 wxString
*arg2
= (wxString
*) NULL
;
3556 bool arg3
= (bool) False
;
3557 wxGridCellChoiceEditor
*result
;
3558 PyObject
* obj0
= 0 ;
3559 PyObject
* obj1
= 0 ;
3561 (char *) "choices",(char *) "allowOthers", NULL
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 arg1
= PyList_Size(obj0
);
3568 arg2
= wxString_LIST_helper(obj0
);
3569 if (arg2
== NULL
) SWIG_fail
;
3573 arg3
= (bool) SWIG_AsBool(obj1
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3585 if (arg2
) delete [] arg2
;
3590 if (arg2
) delete [] arg2
;
3596 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3600 PyObject
* obj0
= 0 ;
3602 (char *) "self", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellChoiceEditor
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 result
= (arg1
)->GetValue();
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3628 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3631 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3633 return Py_BuildValue((char *)"");
3635 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3638 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3639 wxGridCellEnumEditor
*result
;
3640 bool temp1
= False
;
3641 PyObject
* obj0
= 0 ;
3643 (char *) "choices", NULL
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3649 arg1
= wxString_in_helper(obj0
);
3650 if (arg1
== NULL
) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3676 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3680 PyObject
* obj0
= 0 ;
3682 (char *) "self", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEnumEditor
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= (arg1
)->GetValue();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3708 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3711 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3713 return Py_BuildValue((char *)"");
3715 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxGridCellAutoWrapStringEditor
*result
;
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3737 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3741 PyObject
* obj0
= 0 ;
3743 (char *) "self", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 result
= (arg1
)->GetValue();
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3769 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3772 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3774 return Py_BuildValue((char *)"");
3776 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3779 PyObject
*arg2
= (PyObject
*) 0 ;
3780 PyObject
* obj0
= 0 ;
3781 PyObject
* obj1
= 0 ;
3783 (char *) "self",(char *) "_self", NULL
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3807 wxGridCellAttr
*result
;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "attrDefault", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= wxPyMake_wxGridCellAttr(result
);
3834 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3837 wxGridCellAttr
*result
;
3838 PyObject
* obj0
= 0 ;
3840 (char *) "self", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= wxPyMake_wxGridCellAttr(result
);
3862 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3865 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3866 PyObject
* obj0
= 0 ;
3867 PyObject
* obj1
= 0 ;
3869 (char *) "self",(char *) "mergefrom", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 (arg1
)->MergeWith(arg2
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 Py_INCREF(Py_None
); resultobj
= Py_None
;
3891 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3894 PyObject
* obj0
= 0 ;
3896 (char *) "self", NULL
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3919 PyObject
* obj0
= 0 ;
3921 (char *) "self", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 Py_INCREF(Py_None
); resultobj
= Py_None
;
3941 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3944 wxColour
*arg2
= 0 ;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3949 (char *) "self",(char *) "colText", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3957 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3976 wxColour
*arg2
= 0 ;
3978 PyObject
* obj0
= 0 ;
3979 PyObject
* obj1
= 0 ;
3981 (char *) "self",(char *) "colBack", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 Py_INCREF(Py_None
); resultobj
= Py_None
;
4005 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4009 PyObject
* obj0
= 0 ;
4010 PyObject
* obj1
= 0 ;
4012 (char *) "self",(char *) "font", NULL
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
4016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
4019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4022 PyErr_SetString(PyExc_TypeError
,"null reference");
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 (arg1
)->SetFont((wxFont
const &)*arg2
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 Py_INCREF(Py_None
); resultobj
= Py_None
;
4039 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4044 PyObject
* obj0
= 0 ;
4045 PyObject
* obj1
= 0 ;
4046 PyObject
* obj2
= 0 ;
4048 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4054 arg2
= (int) SWIG_AsInt(obj1
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4056 arg3
= (int) SWIG_AsInt(obj2
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 (arg1
)->SetAlignment(arg2
,arg3
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 Py_INCREF(Py_None
); resultobj
= Py_None
;
4072 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4077 PyObject
* obj0
= 0 ;
4078 PyObject
* obj1
= 0 ;
4079 PyObject
* obj2
= 0 ;
4081 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4087 arg2
= (int) SWIG_AsInt(obj1
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4089 arg3
= (int) SWIG_AsInt(obj2
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 (arg1
)->SetSize(arg2
,arg3
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 Py_INCREF(Py_None
); resultobj
= Py_None
;
4105 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4108 bool arg2
= (bool) True
;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "allow", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 arg2
= (bool) SWIG_AsBool(obj1
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 (arg1
)->SetOverflow(arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4139 bool arg2
= (bool) True
;
4140 PyObject
* obj0
= 0 ;
4141 PyObject
* obj1
= 0 ;
4143 (char *) "self",(char *) "isReadOnly", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
4147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4150 arg2
= (bool) SWIG_AsBool(obj1
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 (arg1
)->SetReadOnly(arg2
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 Py_INCREF(Py_None
); resultobj
= Py_None
;
4167 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4170 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4174 (char *) "self",(char *) "renderer", NULL
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
4178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
4181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 (arg1
)->SetRenderer(arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 Py_INCREF(Py_None
); resultobj
= Py_None
;
4196 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4199 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
4200 PyObject
* obj0
= 0 ;
4201 PyObject
* obj1
= 0 ;
4203 (char *) "self",(char *) "editor", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
4210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 (arg1
)->SetEditor(arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 Py_INCREF(Py_None
); resultobj
= Py_None
;
4225 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4232 (char *) "self",(char *) "kind", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4238 arg2
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj1
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 Py_INCREF(Py_None
); resultobj
= Py_None
;
4254 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4258 PyObject
* obj0
= 0 ;
4260 (char *) "self", NULL
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4282 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "self", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4310 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4316 (char *) "self", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4338 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4340 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4342 PyObject
* obj0
= 0 ;
4344 (char *) "self", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4366 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4372 (char *) "self", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4394 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4398 PyObject
* obj0
= 0 ;
4400 (char *) "self", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4422 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4426 PyObject
* obj0
= 0 ;
4428 (char *) "self", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4450 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4454 PyObject
* obj0
= 0 ;
4456 (char *) "self", NULL
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4478 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4482 PyObject
* obj0
= 0 ;
4484 (char *) "self", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4498 wxColour
* resultptr
;
4499 resultptr
= new wxColour((wxColour
&) result
);
4500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4508 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4514 (char *) "self", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4528 wxColour
* resultptr
;
4529 resultptr
= new wxColour((wxColour
&) result
);
4530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4538 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
;
4540 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4542 PyObject
* obj0
= 0 ;
4544 (char *) "self", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4559 resultptr
= new wxFont((wxFont
&) result
);
4560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
4568 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4571 int *arg2
= (int *) 0 ;
4572 int *arg3
= (int *) 0 ;
4575 PyObject
* obj0
= 0 ;
4577 (char *) "self", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 Py_INCREF(Py_None
); resultobj
= Py_None
;
4594 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4595 resultobj
= t_output_helper(resultobj
,o
);
4598 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4599 resultobj
= t_output_helper(resultobj
,o
);
4607 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4610 int *arg2
= (int *) 0 ;
4611 int *arg3
= (int *) 0 ;
4614 PyObject
* obj0
= 0 ;
4616 (char *) "self", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4633 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4634 resultobj
= t_output_helper(resultobj
,o
);
4637 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4638 resultobj
= t_output_helper(resultobj
,o
);
4646 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
;
4648 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4650 PyObject
* obj0
= 0 ;
4652 (char *) "self", NULL
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4674 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4677 wxGrid
*arg2
= (wxGrid
*) 0 ;
4680 wxGridCellRenderer
*result
;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4683 PyObject
* obj2
= 0 ;
4684 PyObject
* obj3
= 0 ;
4686 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4694 arg3
= (int) SWIG_AsInt(obj2
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4696 arg4
= (int) SWIG_AsInt(obj3
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4714 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4717 wxGrid
*arg2
= (wxGrid
*) 0 ;
4720 wxGridCellEditor
*result
;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4723 PyObject
* obj2
= 0 ;
4724 PyObject
* obj3
= 0 ;
4726 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4734 arg3
= (int) SWIG_AsInt(obj2
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4736 arg4
= (int) SWIG_AsInt(obj3
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= wxPyMake_wxGridCellEditor(result
);
4754 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4758 PyObject
* obj0
= 0 ;
4760 (char *) "self", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4782 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4788 (char *) "self", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
4792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 result
= (int)(arg1
)->GetKind();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= SWIG_FromInt((int)result
);
4808 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4811 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4815 (char *) "self",(char *) "defAttr", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 (arg1
)->SetDefAttr(arg2
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 Py_INCREF(Py_None
); resultobj
= Py_None
;
4837 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4840 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4842 return Py_BuildValue((char *)"");
4844 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxGridCellAttrProvider
*result
;
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4868 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4871 PyObject
*arg2
= (PyObject
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4875 (char *) "self",(char *) "_self", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 Py_INCREF(Py_None
); resultobj
= Py_None
;
4896 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4902 wxGridCellAttr
*result
;
4903 PyObject
* obj0
= 0 ;
4904 PyObject
* obj1
= 0 ;
4905 PyObject
* obj2
= 0 ;
4906 PyObject
* obj3
= 0 ;
4908 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",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 arg2
= (int) SWIG_AsInt(obj1
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4916 arg3
= (int) SWIG_AsInt(obj2
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4918 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= wxPyMake_wxGridCellAttr(result
);
4936 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4939 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4944 PyObject
* obj2
= 0 ;
4945 PyObject
* obj3
= 0 ;
4947 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4955 arg3
= (int) SWIG_AsInt(obj2
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4957 arg4
= (int) SWIG_AsInt(obj3
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4976 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4978 PyObject
* obj0
= 0 ;
4979 PyObject
* obj1
= 0 ;
4980 PyObject
* obj2
= 0 ;
4982 (char *) "self",(char *) "attr",(char *) "row", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4990 arg3
= (int) SWIG_AsInt(obj2
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 (arg1
)->SetRowAttr(arg2
,arg3
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 Py_INCREF(Py_None
); resultobj
= Py_None
;
5006 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5009 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5012 PyObject
* obj1
= 0 ;
5013 PyObject
* obj2
= 0 ;
5015 (char *) "self",(char *) "attr",(char *) "col", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 arg3
= (int) SWIG_AsInt(obj2
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->SetColAttr(arg2
,arg3
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 PyObject
* obj2
= 0 ;
5048 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5054 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5056 arg3
= (int) SWIG_AsInt(obj2
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 (arg1
)->UpdateAttrRows(arg2
,arg3
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5079 PyObject
* obj2
= 0 ;
5081 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5089 arg3
= (int) SWIG_AsInt(obj2
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 (arg1
)->UpdateAttrCols(arg2
,arg3
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 Py_INCREF(Py_None
); resultobj
= Py_None
;
5105 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
5110 return Py_BuildValue((char *)"");
5112 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxPyGridCellAttrProvider
*result
;
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
5134 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5137 PyObject
*arg2
= (PyObject
*) 0 ;
5138 PyObject
*arg3
= (PyObject
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 PyObject
* obj2
= 0 ;
5143 (char *) "self",(char *) "self",(char *) "_class", NULL
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 Py_INCREF(Py_None
); resultobj
= Py_None
;
5165 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5171 wxGridCellAttr
*result
;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5174 PyObject
* obj2
= 0 ;
5175 PyObject
* obj3
= 0 ;
5177 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",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 arg2
= (int) SWIG_AsInt(obj1
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5185 arg3
= (int) SWIG_AsInt(obj2
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5187 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= wxPyMake_wxGridCellAttr(result
);
5205 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5208 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5213 PyObject
* obj2
= 0 ;
5214 PyObject
* obj3
= 0 ;
5216 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5224 arg3
= (int) SWIG_AsInt(obj2
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5226 arg4
= (int) SWIG_AsInt(obj3
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5245 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5249 PyObject
* obj2
= 0 ;
5251 (char *) "self",(char *) "attr",(char *) "row", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5259 arg3
= (int) SWIG_AsInt(obj2
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5268 Py_INCREF(Py_None
); resultobj
= Py_None
;
5275 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5278 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5281 PyObject
* obj1
= 0 ;
5282 PyObject
* obj2
= 0 ;
5284 (char *) "self",(char *) "attr",(char *) "col", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 arg3
= (int) SWIG_AsInt(obj2
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 (arg1
)->base_SetColAttr(arg2
,arg3
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 Py_INCREF(Py_None
); resultobj
= Py_None
;
5308 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5311 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5313 return Py_BuildValue((char *)"");
5315 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5318 PyObject
*arg2
= (PyObject
*) 0 ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5322 (char *) "self",(char *) "_self", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 wxGridTableBase__setOORInfo(arg1
,arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5346 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5350 (char *) "self",(char *) "attrProvider", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
,
5357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 (arg1
)->SetAttrProvider(arg2
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 Py_INCREF(Py_None
); resultobj
= Py_None
;
5372 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5375 wxGridCellAttrProvider
*result
;
5376 PyObject
* obj0
= 0 ;
5378 (char *) "self", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
5400 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5403 wxGrid
*arg2
= (wxGrid
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5407 (char *) "self",(char *) "grid", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 (arg1
)->SetView(arg2
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 Py_INCREF(Py_None
); resultobj
= Py_None
;
5429 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5435 (char *) "self", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= wxPyMake_wxObject(result
);
5457 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5463 (char *) "self", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (int)(arg1
)->GetNumberRows();
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_FromInt((int)result
);
5483 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5489 (char *) "self", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (int)(arg1
)->GetNumberCols();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_FromInt((int)result
);
5509 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5517 PyObject
* obj2
= 0 ;
5519 (char *) "self",(char *) "row",(char *) "col", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 arg2
= (int) SWIG_AsInt(obj1
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5527 arg3
= (int) SWIG_AsInt(obj2
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5545 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 PyObject
* obj2
= 0 ;
5555 (char *) "self",(char *) "row",(char *) "col", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5561 arg2
= (int) SWIG_AsInt(obj1
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5563 arg3
= (int) SWIG_AsInt(obj2
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (arg1
)->GetValue(arg2
,arg3
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5585 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5587 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5590 wxString
*arg4
= 0 ;
5591 bool temp4
= False
;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5594 PyObject
* obj2
= 0 ;
5595 PyObject
* obj3
= 0 ;
5597 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5603 arg2
= (int) SWIG_AsInt(obj1
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5605 arg3
= (int) SWIG_AsInt(obj2
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 arg4
= wxString_in_helper(obj3
);
5609 if (arg4
== NULL
) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5634 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5640 PyObject
* obj0
= 0 ;
5641 PyObject
* obj1
= 0 ;
5642 PyObject
* obj2
= 0 ;
5644 (char *) "self",(char *) "row",(char *) "col", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 arg2
= (int) SWIG_AsInt(obj1
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5652 arg3
= (int) SWIG_AsInt(obj2
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5674 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5676 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5679 wxString
*arg4
= 0 ;
5681 bool temp4
= False
;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5684 PyObject
* obj2
= 0 ;
5685 PyObject
* obj3
= 0 ;
5687 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5693 arg2
= (int) SWIG_AsInt(obj1
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5695 arg3
= (int) SWIG_AsInt(obj2
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 arg4
= wxString_in_helper(obj3
);
5699 if (arg4
== NULL
) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5726 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5731 wxString
*arg4
= 0 ;
5733 bool temp4
= False
;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5736 PyObject
* obj2
= 0 ;
5737 PyObject
* obj3
= 0 ;
5739 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5745 arg2
= (int) SWIG_AsInt(obj1
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5747 arg3
= (int) SWIG_AsInt(obj2
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5750 arg4
= wxString_in_helper(obj3
);
5751 if (arg4
== NULL
) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5778 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
;
5780 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5786 PyObject
* obj2
= 0 ;
5788 (char *) "self",(char *) "row",(char *) "col", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 arg2
= (int) SWIG_AsInt(obj1
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5796 arg3
= (int) SWIG_AsInt(obj2
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= SWIG_FromLong((long)result
);
5812 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5819 PyObject
* obj1
= 0 ;
5820 PyObject
* obj2
= 0 ;
5822 (char *) "self",(char *) "row",(char *) "col", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 arg2
= (int) SWIG_AsInt(obj1
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5830 arg3
= (int) SWIG_AsInt(obj2
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= SWIG_FromDouble((double)result
);
5846 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5848 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5854 PyObject
* obj2
= 0 ;
5856 (char *) "self",(char *) "row",(char *) "col", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5862 arg2
= (int) SWIG_AsInt(obj1
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5864 arg3
= (int) SWIG_AsInt(obj2
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5882 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5890 PyObject
* obj2
= 0 ;
5891 PyObject
* obj3
= 0 ;
5893 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 arg2
= (int) SWIG_AsInt(obj1
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5901 arg3
= (int) SWIG_AsInt(obj2
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5903 arg4
= (long) SWIG_AsLong(obj3
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 Py_INCREF(Py_None
); resultobj
= Py_None
;
5919 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5925 PyObject
* obj0
= 0 ;
5926 PyObject
* obj1
= 0 ;
5927 PyObject
* obj2
= 0 ;
5928 PyObject
* obj3
= 0 ;
5930 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 arg2
= (int) SWIG_AsInt(obj1
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5938 arg3
= (int) SWIG_AsInt(obj2
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5940 arg4
= (double) SWIG_AsDouble(obj3
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 Py_INCREF(Py_None
); resultobj
= Py_None
;
5956 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 PyObject
* obj2
= 0 ;
5965 PyObject
* obj3
= 0 ;
5967 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 arg2
= (int) SWIG_AsInt(obj1
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5975 arg3
= (int) SWIG_AsInt(obj2
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5977 arg4
= (bool) SWIG_AsBool(obj3
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 Py_INCREF(Py_None
); resultobj
= Py_None
;
5993 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5998 (char *) "self", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 Py_INCREF(Py_None
); resultobj
= Py_None
;
6018 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6021 size_t arg2
= (size_t) 0 ;
6022 size_t arg3
= (size_t) 1 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6026 PyObject
* obj2
= 0 ;
6028 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6035 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6039 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6058 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6061 size_t arg2
= (size_t) 1 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6066 (char *) "self",(char *) "numRows", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6073 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (bool)(arg1
)->AppendRows(arg2
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6092 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
;
6094 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6095 size_t arg2
= (size_t) 0 ;
6096 size_t arg3
= (size_t) 1 ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 PyObject
* obj2
= 0 ;
6102 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6109 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6113 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6132 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6135 size_t arg2
= (size_t) 0 ;
6136 size_t arg3
= (size_t) 1 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6140 PyObject
* obj2
= 0 ;
6142 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6153 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6172 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6175 size_t arg2
= (size_t) 1 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6180 (char *) "self",(char *) "numCols", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6187 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (bool)(arg1
)->AppendCols(arg2
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6206 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6209 size_t arg2
= (size_t) 0 ;
6210 size_t arg3
= (size_t) 1 ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6214 PyObject
* obj2
= 0 ;
6216 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6227 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6246 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6252 PyObject
* obj1
= 0 ;
6254 (char *) "self",(char *) "row", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6260 arg2
= (int) SWIG_AsInt(obj1
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (arg1
)->GetRowLabelValue(arg2
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6282 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "self",(char *) "col", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 arg2
= (int) SWIG_AsInt(obj1
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= (arg1
)->GetColLabelValue(arg2
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6318 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6322 wxString
*arg3
= 0 ;
6323 bool temp3
= False
;
6324 PyObject
* obj0
= 0 ;
6325 PyObject
* obj1
= 0 ;
6326 PyObject
* obj2
= 0 ;
6328 (char *) "self",(char *) "row",(char *) "value", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 arg2
= (int) SWIG_AsInt(obj1
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 arg3
= wxString_in_helper(obj2
);
6338 if (arg3
== NULL
) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6367 wxString
*arg3
= 0 ;
6368 bool temp3
= False
;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6371 PyObject
* obj2
= 0 ;
6373 (char *) "self",(char *) "col",(char *) "value", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 arg2
= (int) SWIG_AsInt(obj1
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 arg3
= wxString_in_helper(obj2
);
6383 if (arg3
== NULL
) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 Py_INCREF(Py_None
); resultobj
= Py_None
;
6408 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6414 (char *) "self", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (bool)(arg1
)->CanHaveAttributes();
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6436 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6442 wxGridCellAttr
*result
;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 PyObject
* obj2
= 0 ;
6446 PyObject
* obj3
= 0 ;
6448 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",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 arg2
= (int) SWIG_AsInt(obj1
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6456 arg3
= (int) SWIG_AsInt(obj2
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6458 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= wxPyMake_wxGridCellAttr(result
);
6476 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6479 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6484 PyObject
* obj2
= 0 ;
6485 PyObject
* obj3
= 0 ;
6487 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6495 arg3
= (int) SWIG_AsInt(obj2
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6497 arg4
= (int) SWIG_AsInt(obj3
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 Py_INCREF(Py_None
); resultobj
= Py_None
;
6513 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6516 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6519 PyObject
* obj1
= 0 ;
6520 PyObject
* obj2
= 0 ;
6522 (char *) "self",(char *) "attr",(char *) "row", NULL
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 arg3
= (int) SWIG_AsInt(obj2
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 (arg1
)->SetRowAttr(arg2
,arg3
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 Py_INCREF(Py_None
); resultobj
= Py_None
;
6546 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
;
6548 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6549 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6551 PyObject
* obj0
= 0 ;
6552 PyObject
* obj1
= 0 ;
6553 PyObject
* obj2
= 0 ;
6555 (char *) "self",(char *) "attr",(char *) "col", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 arg3
= (int) SWIG_AsInt(obj2
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 (arg1
)->SetColAttr(arg2
,arg3
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 Py_INCREF(Py_None
); resultobj
= Py_None
;
6579 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6582 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6584 return Py_BuildValue((char *)"");
6586 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxPyGridTableBase
*result
;
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
6608 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6611 PyObject
*arg2
= (PyObject
*) 0 ;
6612 PyObject
*arg3
= (PyObject
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 PyObject
* obj2
= 0 ;
6617 (char *) "self",(char *) "self",(char *) "_class", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6639 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6644 (char *) "self", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 wxPyGridTableBase_Destroy(arg1
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 Py_INCREF(Py_None
); resultobj
= Py_None
;
6664 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6666 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6672 PyObject
* obj2
= 0 ;
6674 (char *) "self",(char *) "row",(char *) "col", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 arg2
= (int) SWIG_AsInt(obj1
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6682 arg3
= (int) SWIG_AsInt(obj2
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6704 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6709 wxString
*arg4
= 0 ;
6711 bool temp4
= False
;
6712 PyObject
* obj0
= 0 ;
6713 PyObject
* obj1
= 0 ;
6714 PyObject
* obj2
= 0 ;
6715 PyObject
* obj3
= 0 ;
6717 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 arg2
= (int) SWIG_AsInt(obj1
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6725 arg3
= (int) SWIG_AsInt(obj2
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 arg4
= wxString_in_helper(obj3
);
6729 if (arg4
== NULL
) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6756 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6761 wxString
*arg4
= 0 ;
6763 bool temp4
= False
;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6766 PyObject
* obj2
= 0 ;
6767 PyObject
* obj3
= 0 ;
6769 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 arg2
= (int) SWIG_AsInt(obj1
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6777 arg3
= (int) SWIG_AsInt(obj2
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 arg4
= wxString_in_helper(obj3
);
6781 if (arg4
== NULL
) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6808 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6811 PyObject
* obj0
= 0 ;
6813 (char *) "self", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 (arg1
)->base_Clear();
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 Py_INCREF(Py_None
); resultobj
= Py_None
;
6833 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6836 size_t arg2
= (size_t) 0 ;
6837 size_t arg3
= (size_t) 1 ;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6841 PyObject
* obj2
= 0 ;
6843 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6850 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6854 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6873 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
;
6875 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6876 size_t arg2
= (size_t) 1 ;
6878 PyObject
* obj0
= 0 ;
6879 PyObject
* obj1
= 0 ;
6881 (char *) "self",(char *) "numRows", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6907 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6910 size_t arg2
= (size_t) 0 ;
6911 size_t arg3
= (size_t) 1 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6915 PyObject
* obj2
= 0 ;
6917 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6924 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6947 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6950 size_t arg2
= (size_t) 0 ;
6951 size_t arg3
= (size_t) 1 ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6955 PyObject
* obj2
= 0 ;
6957 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6964 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6987 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6990 size_t arg2
= (size_t) 1 ;
6992 PyObject
* obj0
= 0 ;
6993 PyObject
* obj1
= 0 ;
6995 (char *) "self",(char *) "numCols", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7002 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 result
= (bool)(arg1
)->base_AppendCols(arg2
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7021 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7024 size_t arg2
= (size_t) 0 ;
7025 size_t arg3
= (size_t) 1 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7029 PyObject
* obj2
= 0 ;
7031 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7038 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7042 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7061 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
;
7063 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7069 (char *) "self",(char *) "row", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7075 arg2
= (int) SWIG_AsInt(obj1
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= (arg1
)->base_GetRowLabelValue(arg2
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7097 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7103 PyObject
* obj1
= 0 ;
7105 (char *) "self",(char *) "col", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7111 arg2
= (int) SWIG_AsInt(obj1
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (arg1
)->base_GetColLabelValue(arg2
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7133 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7137 wxString
*arg3
= 0 ;
7138 bool temp3
= False
;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7141 PyObject
* obj2
= 0 ;
7143 (char *) "self",(char *) "row",(char *) "value", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7149 arg2
= (int) SWIG_AsInt(obj1
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 arg3
= wxString_in_helper(obj2
);
7153 if (arg3
== NULL
) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 Py_INCREF(Py_None
); resultobj
= Py_None
;
7178 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7182 wxString
*arg3
= 0 ;
7183 bool temp3
= False
;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7186 PyObject
* obj2
= 0 ;
7188 (char *) "self",(char *) "col",(char *) "value", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7194 arg2
= (int) SWIG_AsInt(obj1
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 arg3
= wxString_in_helper(obj2
);
7198 if (arg3
== NULL
) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (bool)(arg1
)->base_CanHaveAttributes();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7251 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7257 wxGridCellAttr
*result
;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7260 PyObject
* obj2
= 0 ;
7261 PyObject
* obj3
= 0 ;
7263 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",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 arg2
= (int) SWIG_AsInt(obj1
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7271 arg3
= (int) SWIG_AsInt(obj2
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7273 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= wxPyMake_wxGridCellAttr(result
);
7291 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7294 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7298 PyObject
* obj1
= 0 ;
7299 PyObject
* obj2
= 0 ;
7300 PyObject
* obj3
= 0 ;
7302 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 arg3
= (int) SWIG_AsInt(obj2
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7312 arg4
= (int) SWIG_AsInt(obj3
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7331 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7335 PyObject
* obj2
= 0 ;
7337 (char *) "self",(char *) "attr",(char *) "row", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7345 arg3
= (int) SWIG_AsInt(obj2
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 Py_INCREF(Py_None
); resultobj
= Py_None
;
7361 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7364 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7366 PyObject
* obj0
= 0 ;
7367 PyObject
* obj1
= 0 ;
7368 PyObject
* obj2
= 0 ;
7370 (char *) "self",(char *) "attr",(char *) "col", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7378 arg3
= (int) SWIG_AsInt(obj2
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 (arg1
)->base_SetColAttr(arg2
,arg3
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 Py_INCREF(Py_None
); resultobj
= Py_None
;
7394 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
7396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7397 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7399 return Py_BuildValue((char *)"");
7401 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 int arg1
= (int) 0 ;
7404 int arg2
= (int) 0 ;
7405 wxGridStringTable
*result
;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7409 (char *) "numRows",(char *) "numCols", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7414 arg1
= (int) SWIG_AsInt(obj0
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7418 arg2
= (int) SWIG_AsInt(obj1
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
7435 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
7437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7438 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7440 return Py_BuildValue((char *)"");
7442 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7446 int arg3
= (int) -1 ;
7447 int arg4
= (int) -1 ;
7448 wxGridTableMessage
*result
;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7451 PyObject
* obj2
= 0 ;
7452 PyObject
* obj3
= 0 ;
7454 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
7459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7460 arg2
= (int) SWIG_AsInt(obj1
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 arg3
= (int) SWIG_AsInt(obj2
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 arg4
= (int) SWIG_AsInt(obj3
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
7484 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "self", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7509 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7512 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7516 (char *) "self",(char *) "table", NULL
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
7523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 (arg1
)->SetTableObject(arg2
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 Py_INCREF(Py_None
); resultobj
= Py_None
;
7538 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7541 wxGridTableBase
*result
;
7542 PyObject
* obj0
= 0 ;
7544 (char *) "self", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= wxPyMake_wxGridTableBase(result
);
7566 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7571 PyObject
* obj1
= 0 ;
7573 (char *) "self",(char *) "id", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7579 arg2
= (int) SWIG_AsInt(obj1
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 (arg1
)->SetId(arg2
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 Py_INCREF(Py_None
); resultobj
= Py_None
;
7595 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7601 (char *) "self", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= (int)(arg1
)->GetId();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_FromInt((int)result
);
7621 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7626 PyObject
* obj1
= 0 ;
7628 (char *) "self",(char *) "comInt1", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7634 arg2
= (int) SWIG_AsInt(obj1
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 (arg1
)->SetCommandInt(arg2
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 Py_INCREF(Py_None
); resultobj
= Py_None
;
7650 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (int)(arg1
)->GetCommandInt();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_FromInt((int)result
);
7676 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7683 (char *) "self",(char *) "comInt2", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7689 arg2
= (int) SWIG_AsInt(obj1
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 (arg1
)->SetCommandInt2(arg2
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 Py_INCREF(Py_None
); resultobj
= Py_None
;
7705 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7709 PyObject
* obj0
= 0 ;
7711 (char *) "self", NULL
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (int)(arg1
)->GetCommandInt2();
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_FromInt((int)result
);
7731 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
7733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7734 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7736 return Py_BuildValue((char *)"");
7738 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
;
7740 int arg1
= (int) -1 ;
7741 int arg2
= (int) -1 ;
7742 wxGridCellCoords
*result
;
7743 PyObject
* obj0
= 0 ;
7744 PyObject
* obj1
= 0 ;
7746 (char *) "r",(char *) "c", NULL
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7751 arg1
= (int) SWIG_AsInt(obj0
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7755 arg2
= (int) SWIG_AsInt(obj1
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
7772 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7777 (char *) "self", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 Py_INCREF(Py_None
); resultobj
= Py_None
;
7797 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_FromInt((int)result
);
7823 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7830 (char *) "self",(char *) "n", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7836 arg2
= (int) SWIG_AsInt(obj1
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 (arg1
)->SetRow(arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 Py_INCREF(Py_None
); resultobj
= Py_None
;
7852 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7858 (char *) "self", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= SWIG_FromInt((int)result
);
7878 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7885 (char *) "self",(char *) "n", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
7889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 arg2
= (int) SWIG_AsInt(obj1
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 (arg1
)->SetCol(arg2
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 Py_INCREF(Py_None
); resultobj
= Py_None
;
7907 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7914 PyObject
* obj2
= 0 ;
7916 (char *) "self",(char *) "row",(char *) "col", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7922 arg2
= (int) SWIG_AsInt(obj1
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7924 arg3
= (int) SWIG_AsInt(obj2
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 (arg1
)->Set(arg2
,arg3
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 Py_INCREF(Py_None
); resultobj
= Py_None
;
7940 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7943 wxGridCellCoords
*arg2
= 0 ;
7945 wxGridCellCoords temp2
;
7946 PyObject
* obj0
= 0 ;
7947 PyObject
* obj1
= 0 ;
7949 (char *) "self",(char *) "other", NULL
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7957 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7975 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7978 wxGridCellCoords
*arg2
= 0 ;
7980 wxGridCellCoords temp2
;
7981 PyObject
* obj0
= 0 ;
7982 PyObject
* obj1
= 0 ;
7984 (char *) "self",(char *) "other", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8010 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8036 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
8038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8039 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
8041 return Py_BuildValue((char *)"");
8043 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxWindow
*arg1
= (wxWindow
*) 0 ;
8046 int arg2
= (int) -1 ;
8047 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8048 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8049 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8050 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8051 long arg5
= (long) wxWANTS_CHARS
;
8052 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8053 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8057 bool temp6
= False
;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8060 PyObject
* obj2
= 0 ;
8061 PyObject
* obj3
= 0 ;
8062 PyObject
* obj4
= 0 ;
8063 PyObject
* obj5
= 0 ;
8065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 arg2
= (int) SWIG_AsInt(obj1
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8084 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8088 arg5
= (long) SWIG_AsLong(obj4
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8093 arg6
= wxString_in_helper(obj5
);
8094 if (arg6
== NULL
) SWIG_fail
;
8099 if (!wxPyCheckForApp()) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= wxPyMake_wxObject(result
);
8123 static PyObject
*_wrap_new_PreGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
8132 if (!wxPyCheckForApp()) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxGrid
*)new wxGrid();
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= wxPyMake_wxObject(result
);
8148 static PyObject
*_wrap_Grid_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
;
8150 wxGrid
*arg1
= (wxGrid
*) 0 ;
8151 wxWindow
*arg2
= (wxWindow
*) 0 ;
8152 int arg3
= (int) -1 ;
8153 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8154 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8155 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8156 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8157 long arg6
= (long) wxWANTS_CHARS
;
8158 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8159 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8163 bool temp7
= False
;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8167 PyObject
* obj3
= 0 ;
8168 PyObject
* obj4
= 0 ;
8169 PyObject
* obj5
= 0 ;
8170 PyObject
* obj6
= 0 ;
8172 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8181 arg3
= (int) SWIG_AsInt(obj2
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8187 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8193 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8197 arg6
= (long) SWIG_AsLong(obj5
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8202 arg7
= wxString_in_helper(obj6
);
8203 if (arg7
== NULL
) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8231 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxGrid
*arg1
= (wxGrid
*) 0 ;
8236 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 PyObject
* obj2
= 0 ;
8241 PyObject
* obj3
= 0 ;
8243 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8249 arg2
= (int) SWIG_AsInt(obj1
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8251 arg3
= (int) SWIG_AsInt(obj2
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8273 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxGrid
*arg1
= (wxGrid
*) 0 ;
8276 WXGRIDSELECTIONMODES arg2
;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8280 (char *) "self",(char *) "selmode", NULL
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8286 arg2
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj1
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 (arg1
)->SetSelectionMode(arg2
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 Py_INCREF(Py_None
); resultobj
= Py_None
;
8302 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
;
8304 wxGrid
*arg1
= (wxGrid
*) 0 ;
8305 WXGRIDSELECTIONMODES result
;
8306 PyObject
* obj0
= 0 ;
8308 (char *) "self", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= SWIG_FromInt((int)result
);
8328 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
;
8330 wxGrid
*arg1
= (wxGrid
*) 0 ;
8332 PyObject
* obj0
= 0 ;
8334 (char *) "self", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 result
= (int)(arg1
)->GetNumberRows();
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= SWIG_FromInt((int)result
);
8354 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxGrid
*arg1
= (wxGrid
*) 0 ;
8358 PyObject
* obj0
= 0 ;
8360 (char *) "self", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= (int)(arg1
)->GetNumberCols();
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_FromInt((int)result
);
8380 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxGrid
*arg1
= (wxGrid
*) 0 ;
8383 wxGridTableMessage
*arg2
= 0 ;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8388 (char *) "self","arg2", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
,
8395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8398 PyErr_SetString(PyExc_TypeError
,"null reference");
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8417 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxGrid
*arg1
= (wxGrid
*) 0 ;
8420 wxGridTableBase
*result
;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= wxPyMake_wxGridTableBase(result
);
8445 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxGrid
*arg1
= (wxGrid
*) 0 ;
8448 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8449 bool arg3
= (bool) False
;
8450 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8454 PyObject
* obj2
= 0 ;
8455 PyObject
* obj3
= 0 ;
8457 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
8464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8466 arg3
= (bool) SWIG_AsBool(obj2
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8470 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8489 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxGrid
*arg1
= (wxGrid
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 (arg1
)->ClearGrid();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 Py_INCREF(Py_None
); resultobj
= Py_None
;
8514 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxGrid
*arg1
= (wxGrid
*) 0 ;
8517 int arg2
= (int) 0 ;
8518 int arg3
= (int) 1 ;
8519 bool arg4
= (bool) True
;
8521 PyObject
* obj0
= 0 ;
8522 PyObject
* obj1
= 0 ;
8523 PyObject
* obj2
= 0 ;
8524 PyObject
* obj3
= 0 ;
8526 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 arg2
= (int) SWIG_AsInt(obj1
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8537 arg3
= (int) SWIG_AsInt(obj2
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8541 arg4
= (bool) SWIG_AsBool(obj3
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8560 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
;
8562 wxGrid
*arg1
= (wxGrid
*) 0 ;
8563 int arg2
= (int) 1 ;
8564 bool arg3
= (bool) True
;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8568 PyObject
* obj2
= 0 ;
8570 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8577 arg2
= (int) SWIG_AsInt(obj1
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8581 arg3
= (bool) SWIG_AsBool(obj2
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8600 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxGrid
*arg1
= (wxGrid
*) 0 ;
8603 int arg2
= (int) 0 ;
8604 int arg3
= (int) 1 ;
8605 bool arg4
= (bool) True
;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8609 PyObject
* obj2
= 0 ;
8610 PyObject
* obj3
= 0 ;
8612 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8619 arg2
= (int) SWIG_AsInt(obj1
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8623 arg3
= (int) SWIG_AsInt(obj2
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8627 arg4
= (bool) SWIG_AsBool(obj3
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8646 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxGrid
*arg1
= (wxGrid
*) 0 ;
8649 int arg2
= (int) 0 ;
8650 int arg3
= (int) 1 ;
8651 bool arg4
= (bool) True
;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 PyObject
* obj2
= 0 ;
8656 PyObject
* obj3
= 0 ;
8658 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8665 arg2
= (int) SWIG_AsInt(obj1
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8669 arg3
= (int) SWIG_AsInt(obj2
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8673 arg4
= (bool) SWIG_AsBool(obj3
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8692 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxGrid
*arg1
= (wxGrid
*) 0 ;
8695 int arg2
= (int) 1 ;
8696 bool arg3
= (bool) True
;
8698 PyObject
* obj0
= 0 ;
8699 PyObject
* obj1
= 0 ;
8700 PyObject
* obj2
= 0 ;
8702 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8709 arg2
= (int) SWIG_AsInt(obj1
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 arg3
= (bool) SWIG_AsBool(obj2
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8732 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxGrid
*arg1
= (wxGrid
*) 0 ;
8735 int arg2
= (int) 0 ;
8736 int arg3
= (int) 1 ;
8737 bool arg4
= (bool) True
;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 PyObject
* obj2
= 0 ;
8742 PyObject
* obj3
= 0 ;
8744 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8751 arg2
= (int) SWIG_AsInt(obj1
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8755 arg3
= (int) SWIG_AsInt(obj2
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8759 arg4
= (bool) SWIG_AsBool(obj3
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8778 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxGrid
*arg1
= (wxGrid
*) 0 ;
8782 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8787 (char *) "self",(char *) "dc",(char *) "attr", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8797 PyErr_SetString(PyExc_TypeError
,"null reference");
8800 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
8801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 Py_INCREF(Py_None
); resultobj
= Py_None
;
8816 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxGrid
*arg1
= (wxGrid
*) 0 ;
8820 wxString
*arg3
= 0 ;
8822 int arg5
= (int) wxLEFT
;
8823 int arg6
= (int) wxTOP
;
8824 int arg7
= (int) wxHORIZONTAL
;
8825 bool temp3
= False
;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8829 PyObject
* obj2
= 0 ;
8830 PyObject
* obj3
= 0 ;
8831 PyObject
* obj4
= 0 ;
8832 PyObject
* obj5
= 0 ;
8833 PyObject
* obj6
= 0 ;
8835 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8845 PyErr_SetString(PyExc_TypeError
,"null reference");
8849 arg3
= wxString_in_helper(obj2
);
8850 if (arg3
== NULL
) SWIG_fail
;
8855 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8858 arg5
= (int) SWIG_AsInt(obj4
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8862 arg6
= (int) SWIG_AsInt(obj5
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 arg7
= (int) SWIG_AsInt(obj6
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxGrid
*arg1
= (wxGrid
*) 0 ;
8895 wxArrayString
*arg3
= 0 ;
8896 long *arg4
= (long *) 0 ;
8897 long *arg5
= (long *) 0 ;
8898 bool temp3
= False
;
8901 PyObject
* obj0
= 0 ;
8902 PyObject
* obj1
= 0 ;
8903 PyObject
* obj2
= 0 ;
8905 (char *) "self",(char *) "dc",(char *) "lines", NULL
8910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8917 PyErr_SetString(PyExc_TypeError
,"null reference");
8921 if (! PySequence_Check(obj2
)) {
8922 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8925 arg3
= new wxArrayString
;
8927 int i
, len
=PySequence_Length(obj2
);
8928 for (i
=0; i
<len
; i
++) {
8929 PyObject
* item
= PySequence_GetItem(obj2
, i
);
8931 PyObject
* str
= PyObject_Unicode(item
);
8933 PyObject
* str
= PyObject_Str(item
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8936 arg3
->Add(Py2wxString(str
));
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8951 resultobj
= t_output_helper(resultobj
,o
);
8954 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8955 resultobj
= t_output_helper(resultobj
,o
);
8958 if (temp3
) delete arg3
;
8963 if (temp3
) delete arg3
;
8969 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxGrid
*arg1
= (wxGrid
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8974 (char *) "self", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->BeginBatch();
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8994 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxGrid
*arg1
= (wxGrid
*) 0 ;
8997 PyObject
* obj0
= 0 ;
8999 (char *) "self", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxGrid
*arg1
= (wxGrid
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "self", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (int)(arg1
)->GetBatchCount();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= SWIG_FromInt((int)result
);
9045 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxGrid
*arg1
= (wxGrid
*) 0 ;
9048 PyObject
* obj0
= 0 ;
9050 (char *) "self", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 (arg1
)->ForceRefresh();
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 Py_INCREF(Py_None
); resultobj
= Py_None
;
9070 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxGrid
*arg1
= (wxGrid
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)(arg1
)->IsEditable();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9098 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxGrid
*arg1
= (wxGrid
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9105 (char *) "self",(char *) "edit", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
9109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 arg2
= (bool) SWIG_AsBool(obj1
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 (arg1
)->EnableEditing(arg2
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 Py_INCREF(Py_None
); resultobj
= Py_None
;
9127 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxGrid
*arg1
= (wxGrid
*) 0 ;
9130 bool arg2
= (bool) True
;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9134 (char *) "self",(char *) "enable", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9141 arg2
= (bool) SWIG_AsBool(obj1
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 (arg1
)->EnableCellEditControl(arg2
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 Py_INCREF(Py_None
); resultobj
= Py_None
;
9158 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9160 wxGrid
*arg1
= (wxGrid
*) 0 ;
9161 PyObject
* obj0
= 0 ;
9163 (char *) "self", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 (arg1
)->DisableCellEditControl();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 Py_INCREF(Py_None
); resultobj
= Py_None
;
9183 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxGrid
*arg1
= (wxGrid
*) 0 ;
9187 PyObject
* obj0
= 0 ;
9189 (char *) "self", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9211 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxGrid
*arg1
= (wxGrid
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9217 (char *) "self", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9239 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxGrid
*arg1
= (wxGrid
*) 0 ;
9243 PyObject
* obj0
= 0 ;
9245 (char *) "self", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
9249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9267 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxGrid
*arg1
= (wxGrid
*) 0 ;
9271 PyObject
* obj0
= 0 ;
9273 (char *) "self", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9295 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxGrid
*arg1
= (wxGrid
*) 0 ;
9298 PyObject
* obj0
= 0 ;
9300 (char *) "self", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 (arg1
)->ShowCellEditControl();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 Py_INCREF(Py_None
); resultobj
= Py_None
;
9320 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxGrid
*arg1
= (wxGrid
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9325 (char *) "self", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 (arg1
)->HideCellEditControl();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 Py_INCREF(Py_None
); resultobj
= Py_None
;
9345 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxGrid
*arg1
= (wxGrid
*) 0 ;
9348 PyObject
* obj0
= 0 ;
9350 (char *) "self", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 (arg1
)->SaveEditControlValue();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 Py_INCREF(Py_None
); resultobj
= Py_None
;
9370 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxGrid
*arg1
= (wxGrid
*) 0 ;
9375 wxGridCellCoords result
;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9380 (char *) "self",(char *) "x",(char *) "y", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9386 arg2
= (int) SWIG_AsInt(obj1
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9388 arg3
= (int) SWIG_AsInt(obj2
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9398 wxGridCellCoords
* resultptr
;
9399 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
9408 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxGrid
*arg1
= (wxGrid
*) 0 ;
9413 PyObject
* obj0
= 0 ;
9414 PyObject
* obj1
= 0 ;
9416 (char *) "self",(char *) "y", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9422 arg2
= (int) SWIG_AsInt(obj1
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (int)(arg1
)->YToRow(arg2
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_FromInt((int)result
);
9438 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxGrid
*arg1
= (wxGrid
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9446 (char *) "self",(char *) "x", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 arg2
= (int) SWIG_AsInt(obj1
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (int)(arg1
)->XToCol(arg2
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= SWIG_FromInt((int)result
);
9468 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxGrid
*arg1
= (wxGrid
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9476 (char *) "self",(char *) "y", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 arg2
= (int) SWIG_AsInt(obj1
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_FromInt((int)result
);
9498 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxGrid
*arg1
= (wxGrid
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9504 PyObject
* obj1
= 0 ;
9506 (char *) "self",(char *) "x", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9512 arg2
= (int) SWIG_AsInt(obj1
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_FromInt((int)result
);
9528 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxGrid
*arg1
= (wxGrid
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9536 PyObject
* obj2
= 0 ;
9538 (char *) "self",(char *) "row",(char *) "col", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9544 arg2
= (int) SWIG_AsInt(obj1
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9546 arg3
= (int) SWIG_AsInt(obj2
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (arg1
)->CellToRect(arg2
,arg3
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9557 resultptr
= new wxRect((wxRect
&) result
);
9558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9566 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxGrid
*arg1
= (wxGrid
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (int)(arg1
)->GetGridCursorRow();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_FromInt((int)result
);
9592 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxGrid
*arg1
= (wxGrid
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "self", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (int)(arg1
)->GetGridCursorCol();
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_FromInt((int)result
);
9618 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxGrid
*arg1
= (wxGrid
*) 0 ;
9623 bool arg4
= (bool) True
;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9627 PyObject
* obj2
= 0 ;
9628 PyObject
* obj3
= 0 ;
9630 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9636 arg2
= (int) SWIG_AsInt(obj1
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9638 arg3
= (int) SWIG_AsInt(obj2
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 arg4
= (bool) SWIG_AsBool(obj3
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9660 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxGrid
*arg1
= (wxGrid
*) 0 ;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 PyObject
* obj2
= 0 ;
9669 (char *) "self",(char *) "row",(char *) "col", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9675 arg2
= (int) SWIG_AsInt(obj1
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9677 arg3
= (int) SWIG_AsInt(obj2
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 (arg1
)->MakeCellVisible(arg2
,arg3
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 Py_INCREF(Py_None
); resultobj
= Py_None
;
9693 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxGrid
*arg1
= (wxGrid
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 PyObject
* obj2
= 0 ;
9702 (char *) "self",(char *) "row",(char *) "col", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9708 arg2
= (int) SWIG_AsInt(obj1
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9710 arg3
= (int) SWIG_AsInt(obj2
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 (arg1
)->SetGridCursor(arg2
,arg3
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 Py_INCREF(Py_None
); resultobj
= Py_None
;
9726 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxGrid
*arg1
= (wxGrid
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9732 PyObject
* obj1
= 0 ;
9734 (char *) "self",(char *) "expandSelection", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9740 arg2
= (bool) SWIG_AsBool(obj1
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9758 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxGrid
*arg1
= (wxGrid
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9764 PyObject
* obj1
= 0 ;
9766 (char *) "self",(char *) "expandSelection", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 arg2
= (bool) SWIG_AsBool(obj1
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9790 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxGrid
*arg1
= (wxGrid
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9798 (char *) "self",(char *) "expandSelection", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9804 arg2
= (bool) SWIG_AsBool(obj1
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9822 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxGrid
*arg1
= (wxGrid
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9830 (char *) "self",(char *) "expandSelection", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9836 arg2
= (bool) SWIG_AsBool(obj1
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9854 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxGrid
*arg1
= (wxGrid
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (bool)(arg1
)->MovePageDown();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9882 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxGrid
*arg1
= (wxGrid
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (bool)(arg1
)->MovePageUp();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9910 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxGrid
*arg1
= (wxGrid
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9918 (char *) "self",(char *) "expandSelection", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9924 arg2
= (bool) SWIG_AsBool(obj1
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9942 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxGrid
*arg1
= (wxGrid
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9948 PyObject
* obj1
= 0 ;
9950 (char *) "self",(char *) "expandSelection", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9956 arg2
= (bool) SWIG_AsBool(obj1
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9974 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxGrid
*arg1
= (wxGrid
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9980 PyObject
* obj1
= 0 ;
9982 (char *) "self",(char *) "expandSelection", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9988 arg2
= (bool) SWIG_AsBool(obj1
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10006 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxGrid
*arg1
= (wxGrid
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "expandSelection", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 arg2
= (bool) SWIG_AsBool(obj1
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10038 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxGrid
*arg1
= (wxGrid
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (int)(arg1
)->GetDefaultRowLabelSize();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_FromInt((int)result
);
10064 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxGrid
*arg1
= (wxGrid
*) 0 ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (int)(arg1
)->GetRowLabelSize();
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_FromInt((int)result
);
10090 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxGrid
*arg1
= (wxGrid
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (int)(arg1
)->GetDefaultColLabelSize();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_FromInt((int)result
);
10116 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxGrid
*arg1
= (wxGrid
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (int)(arg1
)->GetColLabelSize();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_FromInt((int)result
);
10142 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxGrid
*arg1
= (wxGrid
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (arg1
)->GetLabelBackgroundColour();
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10162 wxColour
* resultptr
;
10163 resultptr
= new wxColour((wxColour
&) result
);
10164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10172 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxGrid
*arg1
= (wxGrid
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (arg1
)->GetLabelTextColour();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10192 wxColour
* resultptr
;
10193 resultptr
= new wxColour((wxColour
&) result
);
10194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10202 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxGrid
*arg1
= (wxGrid
*) 0 ;
10206 PyObject
* obj0
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (arg1
)->GetLabelFont();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10222 wxFont
* resultptr
;
10223 resultptr
= new wxFont((wxFont
&) result
);
10224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
10232 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxGrid
*arg1
= (wxGrid
*) 0 ;
10235 int *arg2
= (int *) 0 ;
10236 int *arg3
= (int *) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 Py_INCREF(Py_None
); resultobj
= Py_None
;
10258 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10259 resultobj
= t_output_helper(resultobj
,o
);
10262 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10263 resultobj
= t_output_helper(resultobj
,o
);
10271 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
;
10273 wxGrid
*arg1
= (wxGrid
*) 0 ;
10274 int *arg2
= (int *) 0 ;
10275 int *arg3
= (int *) 0 ;
10278 PyObject
* obj0
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 Py_INCREF(Py_None
); resultobj
= Py_None
;
10297 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10298 resultobj
= t_output_helper(resultobj
,o
);
10301 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10302 resultobj
= t_output_helper(resultobj
,o
);
10310 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxGrid
*arg1
= (wxGrid
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (int)(arg1
)->GetColLabelTextOrientation();
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= SWIG_FromInt((int)result
);
10336 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxGrid
*arg1
= (wxGrid
*) 0 ;
10341 PyObject
* obj0
= 0 ;
10342 PyObject
* obj1
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self",(char *) "row", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10350 arg2
= (int) SWIG_AsInt(obj1
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (arg1
)->GetRowLabelValue(arg2
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10372 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxGrid
*arg1
= (wxGrid
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self",(char *) "col", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 arg2
= (int) SWIG_AsInt(obj1
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (arg1
)->GetColLabelValue(arg2
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10408 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxGrid
*arg1
= (wxGrid
*) 0 ;
10412 PyObject
* obj0
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (arg1
)->GetGridLineColour();
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10428 wxColour
* resultptr
;
10429 resultptr
= new wxColour((wxColour
&) result
);
10430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10438 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxGrid
*arg1
= (wxGrid
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (arg1
)->GetCellHighlightColour();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10458 wxColour
* resultptr
;
10459 resultptr
= new wxColour((wxColour
&) result
);
10460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10468 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
;
10470 wxGrid
*arg1
= (wxGrid
*) 0 ;
10472 PyObject
* obj0
= 0 ;
10473 char *kwnames
[] = {
10474 (char *) "self", NULL
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 resultobj
= SWIG_FromInt((int)result
);
10494 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxGrid
*arg1
= (wxGrid
*) 0 ;
10498 PyObject
* obj0
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_FromInt((int)result
);
10520 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxGrid
*arg1
= (wxGrid
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "self",(char *) "width", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10533 arg2
= (int) SWIG_AsInt(obj1
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 (arg1
)->SetRowLabelSize(arg2
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 Py_INCREF(Py_None
); resultobj
= Py_None
;
10549 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxGrid
*arg1
= (wxGrid
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self",(char *) "height", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10562 arg2
= (int) SWIG_AsInt(obj1
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 (arg1
)->SetColLabelSize(arg2
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 Py_INCREF(Py_None
); resultobj
= Py_None
;
10578 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxGrid
*arg1
= (wxGrid
*) 0 ;
10581 wxColour
*arg2
= 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self","arg2", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10594 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 Py_INCREF(Py_None
); resultobj
= Py_None
;
10610 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
*resultobj
;
10612 wxGrid
*arg1
= (wxGrid
*) 0 ;
10613 wxColour
*arg2
= 0 ;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "self","arg2", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10626 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 Py_INCREF(Py_None
); resultobj
= Py_None
;
10642 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxGrid
*arg1
= (wxGrid
*) 0 ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self","arg2", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
10656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10658 if (arg2
== NULL
) {
10659 PyErr_SetString(PyExc_TypeError
,"null reference");
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 Py_INCREF(Py_None
); resultobj
= Py_None
;
10676 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxGrid
*arg1
= (wxGrid
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10691 arg2
= (int) SWIG_AsInt(obj1
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10693 arg3
= (int) SWIG_AsInt(obj2
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 Py_INCREF(Py_None
); resultobj
= Py_None
;
10709 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxGrid
*arg1
= (wxGrid
*) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 PyObject
* obj2
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10724 arg2
= (int) SWIG_AsInt(obj1
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10726 arg3
= (int) SWIG_AsInt(obj2
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 Py_INCREF(Py_None
); resultobj
= Py_None
;
10742 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxGrid
*arg1
= (wxGrid
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self",(char *) "textOrientation", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10755 arg2
= (int) SWIG_AsInt(obj1
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 (arg1
)->SetColLabelTextOrientation(arg2
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 Py_INCREF(Py_None
); resultobj
= Py_None
;
10771 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxGrid
*arg1
= (wxGrid
*) 0 ;
10775 wxString
*arg3
= 0 ;
10776 bool temp3
= False
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 PyObject
* obj2
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self",(char *) "row","arg3", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10787 arg2
= (int) SWIG_AsInt(obj1
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 arg3
= wxString_in_helper(obj2
);
10791 if (arg3
== NULL
) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 Py_INCREF(Py_None
); resultobj
= Py_None
;
10816 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxGrid
*arg1
= (wxGrid
*) 0 ;
10820 wxString
*arg3
= 0 ;
10821 bool temp3
= False
;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 PyObject
* obj2
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "col","arg3", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10832 arg2
= (int) SWIG_AsInt(obj1
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 arg3
= wxString_in_helper(obj2
);
10836 if (arg3
== NULL
) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 Py_INCREF(Py_None
); resultobj
= Py_None
;
10861 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxGrid
*arg1
= (wxGrid
*) 0 ;
10864 wxColour
*arg2
= 0 ;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self","arg2", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10877 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxGrid
*arg1
= (wxGrid
*) 0 ;
10896 wxColour
*arg2
= 0 ;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self","arg2", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 Py_INCREF(Py_None
); resultobj
= Py_None
;
10925 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxGrid
*arg1
= (wxGrid
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "width", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 arg2
= (int) SWIG_AsInt(obj1
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 (arg1
)->SetCellHighlightPenWidth(arg2
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxGrid
*arg1
= (wxGrid
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 PyObject
* obj1
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self",(char *) "width", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10967 arg2
= (int) SWIG_AsInt(obj1
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 (arg1
)->SetCellHighlightROPenWidth(arg2
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxGrid
*arg1
= (wxGrid
*) 0 ;
10986 bool arg2
= (bool) True
;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "enable", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10997 arg2
= (bool) SWIG_AsBool(obj1
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 (arg1
)->EnableDragRowSize(arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 Py_INCREF(Py_None
); resultobj
= Py_None
;
11014 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxGrid
*arg1
= (wxGrid
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 (arg1
)->DisableDragRowSize();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxGrid
*arg1
= (wxGrid
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (bool)(arg1
)->CanDragRowSize();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11067 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxGrid
*arg1
= (wxGrid
*) 0 ;
11070 bool arg2
= (bool) True
;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "enable", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 arg2
= (bool) SWIG_AsBool(obj1
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 (arg1
)->EnableDragColSize(arg2
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 Py_INCREF(Py_None
); resultobj
= Py_None
;
11098 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxGrid
*arg1
= (wxGrid
*) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 (arg1
)->DisableDragColSize();
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 Py_INCREF(Py_None
); resultobj
= Py_None
;
11123 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxGrid
*arg1
= (wxGrid
*) 0 ;
11127 PyObject
* obj0
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
11133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (bool)(arg1
)->CanDragColSize();
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11151 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxGrid
*arg1
= (wxGrid
*) 0 ;
11154 bool arg2
= (bool) True
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "enable", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 arg2
= (bool) SWIG_AsBool(obj1
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->EnableDragGridSize(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxGrid
*arg1
= (wxGrid
*) 0 ;
11185 PyObject
* obj0
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
11191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 (arg1
)->DisableDragGridSize();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 Py_INCREF(Py_None
); resultobj
= Py_None
;
11207 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
;
11209 wxGrid
*arg1
= (wxGrid
*) 0 ;
11211 PyObject
* obj0
= 0 ;
11212 char *kwnames
[] = {
11213 (char *) "self", NULL
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
11217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 result
= (bool)(arg1
)->CanDragGridSize();
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11235 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11236 PyObject
*resultobj
;
11237 wxGrid
*arg1
= (wxGrid
*) 0 ;
11240 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 PyObject
* obj2
= 0 ;
11244 PyObject
* obj3
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11252 arg2
= (int) SWIG_AsInt(obj1
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11254 arg3
= (int) SWIG_AsInt(obj2
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11256 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
,
11257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 Py_INCREF(Py_None
); resultobj
= Py_None
;
11272 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxGrid
*arg1
= (wxGrid
*) 0 ;
11276 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11277 PyObject
* obj0
= 0 ;
11278 PyObject
* obj1
= 0 ;
11279 PyObject
* obj2
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self",(char *) "row",(char *) "attr", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11287 arg2
= (int) SWIG_AsInt(obj1
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11289 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 (arg1
)->SetRowAttr(arg2
,arg3
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxGrid
*arg1
= (wxGrid
*) 0 ;
11309 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 PyObject
* obj2
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self",(char *) "col",(char *) "attr", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11320 arg2
= (int) SWIG_AsInt(obj1
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11322 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->SetColAttr(arg2
,arg3
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxGrid
*arg1
= (wxGrid
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "col", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11351 arg2
= (int) SWIG_AsInt(obj1
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 (arg1
)->SetColFormatBool(arg2
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 Py_INCREF(Py_None
); resultobj
= Py_None
;
11367 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxGrid
*arg1
= (wxGrid
*) 0 ;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self",(char *) "col", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11380 arg2
= (int) SWIG_AsInt(obj1
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 (arg1
)->SetColFormatNumber(arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 Py_INCREF(Py_None
); resultobj
= Py_None
;
11396 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxGrid
*arg1
= (wxGrid
*) 0 ;
11400 int arg3
= (int) -1 ;
11401 int arg4
= (int) -1 ;
11402 PyObject
* obj0
= 0 ;
11403 PyObject
* obj1
= 0 ;
11404 PyObject
* obj2
= 0 ;
11405 PyObject
* obj3
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11413 arg2
= (int) SWIG_AsInt(obj1
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 arg3
= (int) SWIG_AsInt(obj2
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11420 arg4
= (int) SWIG_AsInt(obj3
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11437 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxGrid
*arg1
= (wxGrid
*) 0 ;
11441 wxString
*arg3
= 0 ;
11442 bool temp3
= False
;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 PyObject
* obj2
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "col",(char *) "typeName", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11453 arg2
= (int) SWIG_AsInt(obj1
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 arg3
= wxString_in_helper(obj2
);
11457 if (arg3
== NULL
) SWIG_fail
;
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 Py_INCREF(Py_None
); resultobj
= Py_None
;
11482 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxGrid
*arg1
= (wxGrid
*) 0 ;
11485 bool arg2
= (bool) True
;
11486 PyObject
* obj0
= 0 ;
11487 PyObject
* obj1
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self",(char *) "enable", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11496 arg2
= (bool) SWIG_AsBool(obj1
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->EnableGridLines(arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 Py_INCREF(Py_None
); resultobj
= Py_None
;
11513 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxGrid
*arg1
= (wxGrid
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (bool)(arg1
)->GridLinesEnabled();
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11541 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxGrid
*arg1
= (wxGrid
*) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (int)(arg1
)->GetDefaultRowSize();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_FromInt((int)result
);
11567 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxGrid
*arg1
= (wxGrid
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "row", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11581 arg2
= (int) SWIG_AsInt(obj1
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (int)(arg1
)->GetRowSize(arg2
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_FromInt((int)result
);
11597 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxGrid
*arg1
= (wxGrid
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "self", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (int)(arg1
)->GetDefaultColSize();
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_FromInt((int)result
);
11623 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxGrid
*arg1
= (wxGrid
*) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self",(char *) "col", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11637 arg2
= (int) SWIG_AsInt(obj1
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (int)(arg1
)->GetColSize(arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_FromInt((int)result
);
11653 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxGrid
*arg1
= (wxGrid
*) 0 ;
11657 PyObject
* obj0
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (arg1
)->GetDefaultCellBackgroundColour();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 wxColour
* resultptr
;
11674 resultptr
= new wxColour((wxColour
&) result
);
11675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11683 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxGrid
*arg1
= (wxGrid
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 PyObject
* obj2
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "row",(char *) "col", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11699 arg2
= (int) SWIG_AsInt(obj1
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11701 arg3
= (int) SWIG_AsInt(obj2
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 wxColour
* resultptr
;
11712 resultptr
= new wxColour((wxColour
&) result
);
11713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11721 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxGrid
*arg1
= (wxGrid
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (arg1
)->GetDefaultCellTextColour();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11741 wxColour
* resultptr
;
11742 resultptr
= new wxColour((wxColour
&) result
);
11743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11751 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxGrid
*arg1
= (wxGrid
*) 0 ;
11757 PyObject
* obj0
= 0 ;
11758 PyObject
* obj1
= 0 ;
11759 PyObject
* obj2
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "self",(char *) "row",(char *) "col", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",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 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11779 wxColour
* resultptr
;
11780 resultptr
= new wxColour((wxColour
&) result
);
11781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11789 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxGrid
*arg1
= (wxGrid
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (arg1
)->GetDefaultCellFont();
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11809 wxFont
* resultptr
;
11810 resultptr
= new wxFont((wxFont
&) result
);
11811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11819 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxGrid
*arg1
= (wxGrid
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 PyObject
* obj2
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self",(char *) "row",(char *) "col", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11835 arg2
= (int) SWIG_AsInt(obj1
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11837 arg3
= (int) SWIG_AsInt(obj2
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (arg1
)->GetCellFont(arg2
,arg3
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11847 wxFont
* resultptr
;
11848 resultptr
= new wxFont((wxFont
&) result
);
11849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11857 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxGrid
*arg1
= (wxGrid
*) 0 ;
11860 int *arg2
= (int *) 0 ;
11861 int *arg3
= (int *) 0 ;
11864 PyObject
* obj0
= 0 ;
11865 char *kwnames
[] = {
11866 (char *) "self", NULL
11871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
11872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 Py_INCREF(Py_None
); resultobj
= Py_None
;
11883 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11884 resultobj
= t_output_helper(resultobj
,o
);
11887 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11888 resultobj
= t_output_helper(resultobj
,o
);
11896 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxGrid
*arg1
= (wxGrid
*) 0 ;
11901 int *arg4
= (int *) 0 ;
11902 int *arg5
= (int *) 0 ;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 PyObject
* obj2
= 0 ;
11908 char *kwnames
[] = {
11909 (char *) "self",(char *) "row",(char *) "col", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11917 arg2
= (int) SWIG_AsInt(obj1
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11919 arg3
= (int) SWIG_AsInt(obj2
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 Py_INCREF(Py_None
); resultobj
= Py_None
;
11930 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11931 resultobj
= t_output_helper(resultobj
,o
);
11934 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11935 resultobj
= t_output_helper(resultobj
,o
);
11943 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
;
11945 wxGrid
*arg1
= (wxGrid
*) 0 ;
11947 PyObject
* obj0
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (bool)(arg1
)->GetDefaultCellOverflow();
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11971 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxGrid
*arg1
= (wxGrid
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 PyObject
* obj2
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self",(char *) "row",(char *) "col", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",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
;
11989 arg3
= (int) SWIG_AsInt(obj2
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12007 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxGrid
*arg1
= (wxGrid
*) 0 ;
12012 int *arg4
= (int *) 0 ;
12013 int *arg5
= (int *) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 PyObject
* obj2
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self",(char *) "row",(char *) "col", NULL
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12028 arg2
= (int) SWIG_AsInt(obj1
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12030 arg3
= (int) SWIG_AsInt(obj2
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 Py_INCREF(Py_None
); resultobj
= Py_None
;
12041 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12042 resultobj
= t_output_helper(resultobj
,o
);
12045 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12046 resultobj
= t_output_helper(resultobj
,o
);
12054 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxGrid
*arg1
= (wxGrid
*) 0 ;
12058 bool arg3
= (bool) False
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 PyObject
* obj2
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12069 arg2
= (int) SWIG_AsInt(obj1
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 arg3
= (bool) SWIG_AsBool(obj2
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 Py_INCREF(Py_None
); resultobj
= Py_None
;
12089 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxGrid
*arg1
= (wxGrid
*) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 PyObject
* obj2
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self",(char *) "row",(char *) "height", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12104 arg2
= (int) SWIG_AsInt(obj1
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12106 arg3
= (int) SWIG_AsInt(obj2
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 (arg1
)->SetRowSize(arg2
,arg3
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 Py_INCREF(Py_None
); resultobj
= Py_None
;
12122 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxGrid
*arg1
= (wxGrid
*) 0 ;
12126 bool arg3
= (bool) False
;
12127 PyObject
* obj0
= 0 ;
12128 PyObject
* obj1
= 0 ;
12129 PyObject
* obj2
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12137 arg2
= (int) SWIG_AsInt(obj1
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 arg3
= (bool) SWIG_AsBool(obj2
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->SetDefaultColSize(arg2
,arg3
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 Py_INCREF(Py_None
); resultobj
= Py_None
;
12157 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxGrid
*arg1
= (wxGrid
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 PyObject
* obj2
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self",(char *) "col",(char *) "width", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12172 arg2
= (int) SWIG_AsInt(obj1
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12174 arg3
= (int) SWIG_AsInt(obj2
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 (arg1
)->SetColSize(arg2
,arg3
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 Py_INCREF(Py_None
); resultobj
= Py_None
;
12190 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxGrid
*arg1
= (wxGrid
*) 0 ;
12194 bool arg3
= (bool) True
;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 PyObject
* obj2
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12205 arg2
= (int) SWIG_AsInt(obj1
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 arg3
= (bool) SWIG_AsBool(obj2
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 (arg1
)->AutoSizeColumn(arg2
,arg3
);
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12225 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxGrid
*arg1
= (wxGrid
*) 0 ;
12229 bool arg3
= (bool) True
;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 PyObject
* obj2
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 arg2
= (int) SWIG_AsInt(obj1
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 arg3
= (bool) SWIG_AsBool(obj2
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 (arg1
)->AutoSizeRow(arg2
,arg3
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 Py_INCREF(Py_None
); resultobj
= Py_None
;
12260 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxGrid
*arg1
= (wxGrid
*) 0 ;
12263 bool arg2
= (bool) True
;
12264 PyObject
* obj0
= 0 ;
12265 PyObject
* obj1
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self",(char *) "setAsMin", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 arg2
= (bool) SWIG_AsBool(obj1
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 (arg1
)->AutoSizeColumns(arg2
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 Py_INCREF(Py_None
); resultobj
= Py_None
;
12291 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
;
12293 wxGrid
*arg1
= (wxGrid
*) 0 ;
12294 bool arg2
= (bool) True
;
12295 PyObject
* obj0
= 0 ;
12296 PyObject
* obj1
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self",(char *) "setAsMin", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12305 arg2
= (bool) SWIG_AsBool(obj1
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 (arg1
)->AutoSizeRows(arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxGrid
*arg1
= (wxGrid
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 (arg1
)->AutoSize();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 Py_INCREF(Py_None
); resultobj
= Py_None
;
12347 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxGrid
*arg1
= (wxGrid
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self",(char *) "row", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12360 arg2
= (int) SWIG_AsInt(obj1
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 (arg1
)->AutoSizeRowLabelSize(arg2
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 Py_INCREF(Py_None
); resultobj
= Py_None
;
12376 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxGrid
*arg1
= (wxGrid
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "self",(char *) "col", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12389 arg2
= (int) SWIG_AsInt(obj1
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 (arg1
)->AutoSizeColLabelSize(arg2
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 Py_INCREF(Py_None
); resultobj
= Py_None
;
12405 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxGrid
*arg1
= (wxGrid
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 PyObject
* obj1
= 0 ;
12412 PyObject
* obj2
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "col",(char *) "width", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 arg2
= (int) SWIG_AsInt(obj1
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12422 arg3
= (int) SWIG_AsInt(obj2
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 Py_INCREF(Py_None
); resultobj
= Py_None
;
12438 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxGrid
*arg1
= (wxGrid
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 PyObject
* obj2
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self",(char *) "row",(char *) "width", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12453 arg2
= (int) SWIG_AsInt(obj1
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12455 arg3
= (int) SWIG_AsInt(obj2
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 Py_INCREF(Py_None
); resultobj
= Py_None
;
12471 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxGrid
*arg1
= (wxGrid
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 char *kwnames
[] = {
12478 (char *) "self",(char *) "width", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12484 arg2
= (int) SWIG_AsInt(obj1
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 Py_INCREF(Py_None
); resultobj
= Py_None
;
12500 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxGrid
*arg1
= (wxGrid
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 PyObject
* obj1
= 0 ;
12506 char *kwnames
[] = {
12507 (char *) "self",(char *) "width", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 arg2
= (int) SWIG_AsInt(obj1
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 Py_INCREF(Py_None
); resultobj
= Py_None
;
12529 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxGrid
*arg1
= (wxGrid
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= SWIG_FromInt((int)result
);
12555 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxGrid
*arg1
= (wxGrid
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= SWIG_FromInt((int)result
);
12581 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxGrid
*arg1
= (wxGrid
*) 0 ;
12584 wxColour
*arg2
= 0 ;
12586 PyObject
* obj0
= 0 ;
12587 PyObject
* obj1
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self","arg2", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12597 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 Py_INCREF(Py_None
); resultobj
= Py_None
;
12613 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxGrid
*arg1
= (wxGrid
*) 0 ;
12618 wxColour
*arg4
= 0 ;
12620 PyObject
* obj0
= 0 ;
12621 PyObject
* obj1
= 0 ;
12622 PyObject
* obj2
= 0 ;
12623 PyObject
* obj3
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12631 arg2
= (int) SWIG_AsInt(obj1
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12633 arg3
= (int) SWIG_AsInt(obj2
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12637 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 Py_INCREF(Py_None
); resultobj
= Py_None
;
12653 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxGrid
*arg1
= (wxGrid
*) 0 ;
12656 wxColour
*arg2
= 0 ;
12658 PyObject
* obj0
= 0 ;
12659 PyObject
* obj1
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self","arg2", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12669 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 Py_INCREF(Py_None
); resultobj
= Py_None
;
12685 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxGrid
*arg1
= (wxGrid
*) 0 ;
12690 wxColour
*arg4
= 0 ;
12692 PyObject
* obj0
= 0 ;
12693 PyObject
* obj1
= 0 ;
12694 PyObject
* obj2
= 0 ;
12695 PyObject
* obj3
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
12709 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 Py_INCREF(Py_None
); resultobj
= Py_None
;
12725 static PyObject
*_wrap_Grid_SetDefaultCellFont(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","arg2", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12741 if (arg2
== NULL
) {
12742 PyErr_SetString(PyExc_TypeError
,"null reference");
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 Py_INCREF(Py_None
); resultobj
= Py_None
;
12759 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxGrid
*arg1
= (wxGrid
*) 0 ;
12765 PyObject
* obj0
= 0 ;
12766 PyObject
* obj1
= 0 ;
12767 PyObject
* obj2
= 0 ;
12768 PyObject
* obj3
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12776 arg2
= (int) SWIG_AsInt(obj1
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12778 arg3
= (int) SWIG_AsInt(obj2
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12780 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
12781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12783 if (arg4
== NULL
) {
12784 PyErr_SetString(PyExc_TypeError
,"null reference");
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 Py_INCREF(Py_None
); resultobj
= Py_None
;
12801 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxGrid
*arg1
= (wxGrid
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12816 arg2
= (int) SWIG_AsInt(obj1
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12818 arg3
= (int) SWIG_AsInt(obj2
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 Py_INCREF(Py_None
); resultobj
= Py_None
;
12834 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxGrid
*arg1
= (wxGrid
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 PyObject
* obj2
= 0 ;
12844 PyObject
* obj3
= 0 ;
12845 PyObject
* obj4
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12853 arg2
= (int) SWIG_AsInt(obj1
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12855 arg3
= (int) SWIG_AsInt(obj2
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12857 arg4
= (int) SWIG_AsInt(obj3
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12859 arg5
= (int) SWIG_AsInt(obj4
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 Py_INCREF(Py_None
); resultobj
= Py_None
;
12875 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
;
12877 wxGrid
*arg1
= (wxGrid
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self",(char *) "allow", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
12886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 arg2
= (bool) SWIG_AsBool(obj1
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 (arg1
)->SetDefaultCellOverflow(arg2
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12904 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxGrid
*arg1
= (wxGrid
*) 0 ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 PyObject
* obj3
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12921 arg2
= (int) SWIG_AsInt(obj1
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12923 arg3
= (int) SWIG_AsInt(obj2
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12925 arg4
= (bool) SWIG_AsBool(obj3
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 Py_INCREF(Py_None
); resultobj
= Py_None
;
12941 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxGrid
*arg1
= (wxGrid
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 PyObject
* obj2
= 0 ;
12951 PyObject
* obj3
= 0 ;
12952 PyObject
* obj4
= 0 ;
12953 char *kwnames
[] = {
12954 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12960 arg2
= (int) SWIG_AsInt(obj1
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12962 arg3
= (int) SWIG_AsInt(obj2
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12964 arg4
= (int) SWIG_AsInt(obj3
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12966 arg5
= (int) SWIG_AsInt(obj4
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 Py_INCREF(Py_None
); resultobj
= Py_None
;
12982 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
;
12984 wxGrid
*arg1
= (wxGrid
*) 0 ;
12985 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self",(char *) "renderer", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
12993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 (arg1
)->SetDefaultRenderer(arg2
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 Py_INCREF(Py_None
); resultobj
= Py_None
;
13011 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxGrid
*arg1
= (wxGrid
*) 0 ;
13016 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
13017 PyObject
* obj0
= 0 ;
13018 PyObject
* obj1
= 0 ;
13019 PyObject
* obj2
= 0 ;
13020 PyObject
* obj3
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 arg2
= (int) SWIG_AsInt(obj1
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13030 arg3
= (int) SWIG_AsInt(obj2
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13032 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
,
13033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 Py_INCREF(Py_None
); resultobj
= Py_None
;
13048 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxGrid
*arg1
= (wxGrid
*) 0 ;
13051 wxGridCellRenderer
*result
;
13052 PyObject
* obj0
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= wxPyMake_wxGridCellRenderer(result
);
13076 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxGrid
*arg1
= (wxGrid
*) 0 ;
13081 wxGridCellRenderer
*result
;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 PyObject
* obj2
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self",(char *) "row",(char *) "col", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13092 arg2
= (int) SWIG_AsInt(obj1
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13094 arg3
= (int) SWIG_AsInt(obj2
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= wxPyMake_wxGridCellRenderer(result
);
13112 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxGrid
*arg1
= (wxGrid
*) 0 ;
13115 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self",(char *) "editor", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 (arg1
)->SetDefaultEditor(arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxGrid
*arg1
= (wxGrid
*) 0 ;
13146 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 PyObject
* obj2
= 0 ;
13150 PyObject
* obj3
= 0 ;
13151 char *kwnames
[] = {
13152 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 arg2
= (int) SWIG_AsInt(obj1
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13160 arg3
= (int) SWIG_AsInt(obj2
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13162 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 Py_INCREF(Py_None
); resultobj
= Py_None
;
13178 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxGrid
*arg1
= (wxGrid
*) 0 ;
13181 wxGridCellEditor
*result
;
13182 PyObject
* obj0
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
13188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= wxPyMake_wxGridCellEditor(result
);
13206 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
;
13208 wxGrid
*arg1
= (wxGrid
*) 0 ;
13211 wxGridCellEditor
*result
;
13212 PyObject
* obj0
= 0 ;
13213 PyObject
* obj1
= 0 ;
13214 PyObject
* obj2
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "self",(char *) "row",(char *) "col", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13222 arg2
= (int) SWIG_AsInt(obj1
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13224 arg3
= (int) SWIG_AsInt(obj2
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= wxPyMake_wxGridCellEditor(result
);
13242 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxGrid
*arg1
= (wxGrid
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 PyObject
* obj1
= 0 ;
13250 PyObject
* obj2
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self",(char *) "row",(char *) "col", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13258 arg2
= (int) SWIG_AsInt(obj1
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13260 arg3
= (int) SWIG_AsInt(obj2
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13282 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxGrid
*arg1
= (wxGrid
*) 0 ;
13287 wxString
*arg4
= 0 ;
13288 bool temp4
= False
;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 PyObject
* obj2
= 0 ;
13292 PyObject
* obj3
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13300 arg2
= (int) SWIG_AsInt(obj1
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13302 arg3
= (int) SWIG_AsInt(obj2
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 arg4
= wxString_in_helper(obj3
);
13306 if (arg4
== NULL
) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 Py_INCREF(Py_None
); resultobj
= Py_None
;
13331 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxGrid
*arg1
= (wxGrid
*) 0 ;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 PyObject
* obj2
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self",(char *) "row",(char *) "col", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13367 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxGrid
*arg1
= (wxGrid
*) 0 ;
13372 bool arg4
= (bool) True
;
13373 PyObject
* obj0
= 0 ;
13374 PyObject
* obj1
= 0 ;
13375 PyObject
* obj2
= 0 ;
13376 PyObject
* obj3
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13384 arg2
= (int) SWIG_AsInt(obj1
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13386 arg3
= (int) SWIG_AsInt(obj2
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 arg4
= (bool) SWIG_AsBool(obj3
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 Py_INCREF(Py_None
); resultobj
= Py_None
;
13406 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxGrid
*arg1
= (wxGrid
*) 0 ;
13410 bool arg3
= (bool) False
;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 PyObject
* obj2
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13421 arg2
= (int) SWIG_AsInt(obj1
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 arg3
= (bool) SWIG_AsBool(obj2
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 (arg1
)->SelectRow(arg2
,arg3
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 Py_INCREF(Py_None
); resultobj
= Py_None
;
13441 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxGrid
*arg1
= (wxGrid
*) 0 ;
13445 bool arg3
= (bool) False
;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 PyObject
* obj2
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 arg2
= (int) SWIG_AsInt(obj1
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 arg3
= (bool) SWIG_AsBool(obj2
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 (arg1
)->SelectCol(arg2
,arg3
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 Py_INCREF(Py_None
); resultobj
= Py_None
;
13476 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxGrid
*arg1
= (wxGrid
*) 0 ;
13483 bool arg6
= (bool) False
;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 PyObject
* obj2
= 0 ;
13487 PyObject
* obj3
= 0 ;
13488 PyObject
* obj4
= 0 ;
13489 PyObject
* obj5
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 arg2
= (int) SWIG_AsInt(obj1
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13499 arg3
= (int) SWIG_AsInt(obj2
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13501 arg4
= (int) SWIG_AsInt(obj3
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13503 arg5
= (int) SWIG_AsInt(obj4
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 arg6
= (bool) SWIG_AsBool(obj5
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 Py_INCREF(Py_None
); resultobj
= Py_None
;
13523 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxGrid
*arg1
= (wxGrid
*) 0 ;
13526 PyObject
* obj0
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 (arg1
)->SelectAll();
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 Py_INCREF(Py_None
); resultobj
= Py_None
;
13548 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
;
13550 wxGrid
*arg1
= (wxGrid
*) 0 ;
13552 PyObject
* obj0
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 result
= (bool)(arg1
)->IsSelection();
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13576 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxGrid
*arg1
= (wxGrid
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 (arg1
)->ClearSelection();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 Py_INCREF(Py_None
); resultobj
= Py_None
;
13601 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxGrid
*arg1
= (wxGrid
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 PyObject
* obj2
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self",(char *) "row",(char *) "col", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13617 arg2
= (int) SWIG_AsInt(obj1
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13619 arg3
= (int) SWIG_AsInt(obj2
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13637 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxGrid
*arg1
= (wxGrid
*) 0 ;
13640 wxGridCellCoordsArray result
;
13641 PyObject
* obj0
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= wxGridCellCoordsArray_helper(result
);
13665 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
;
13667 wxGrid
*arg1
= (wxGrid
*) 0 ;
13668 wxGridCellCoordsArray result
;
13669 PyObject
* obj0
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= wxGridCellCoordsArray_helper(result
);
13693 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxGrid
*arg1
= (wxGrid
*) 0 ;
13696 wxGridCellCoordsArray result
;
13697 PyObject
* obj0
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= wxGridCellCoordsArray_helper(result
);
13721 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
;
13723 wxGrid
*arg1
= (wxGrid
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 char *kwnames
[] = {
13727 (char *) "self", NULL
13730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= PyList_New(0);
13743 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13744 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13745 PyList_Append(resultobj
, val
);
13755 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxGrid
*arg1
= (wxGrid
*) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
13765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= PyList_New(0);
13777 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13778 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13779 PyList_Append(resultobj
, val
);
13789 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
;
13791 wxGrid
*arg1
= (wxGrid
*) 0 ;
13793 PyObject
* obj0
= 0 ;
13794 PyObject
* obj1
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self",(char *) "row", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13802 arg2
= (int) SWIG_AsInt(obj1
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 (arg1
)->DeselectRow(arg2
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 Py_INCREF(Py_None
); resultobj
= Py_None
;
13818 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxGrid
*arg1
= (wxGrid
*) 0 ;
13822 PyObject
* obj0
= 0 ;
13823 PyObject
* obj1
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self",(char *) "col", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13831 arg2
= (int) SWIG_AsInt(obj1
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 (arg1
)->DeselectCol(arg2
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 Py_INCREF(Py_None
); resultobj
= Py_None
;
13847 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxGrid
*arg1
= (wxGrid
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 PyObject
* obj2
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "self",(char *) "row",(char *) "col", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 arg2
= (int) SWIG_AsInt(obj1
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13864 arg3
= (int) SWIG_AsInt(obj2
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 (arg1
)->DeselectCell(arg2
,arg3
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 Py_INCREF(Py_None
); resultobj
= Py_None
;
13880 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxGrid
*arg1
= (wxGrid
*) 0 ;
13883 wxGridCellCoords
*arg2
= 0 ;
13884 wxGridCellCoords
*arg3
= 0 ;
13886 wxGridCellCoords temp2
;
13887 wxGridCellCoords temp3
;
13888 PyObject
* obj0
= 0 ;
13889 PyObject
* obj1
= 0 ;
13890 PyObject
* obj2
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13900 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
13904 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 wxRect
* resultptr
;
13915 resultptr
= new wxRect((wxRect
&) result
);
13916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13924 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxGrid
*arg1
= (wxGrid
*) 0 ;
13928 PyObject
* obj0
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "self", NULL
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
13934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13944 wxColour
* resultptr
;
13945 resultptr
= new wxColour((wxColour
&) result
);
13946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13954 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxGrid
*arg1
= (wxGrid
*) 0 ;
13958 PyObject
* obj0
= 0 ;
13959 char *kwnames
[] = {
13960 (char *) "self", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
13964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13974 wxColour
* resultptr
;
13975 resultptr
= new wxColour((wxColour
&) result
);
13976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13984 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13985 PyObject
*resultobj
;
13986 wxGrid
*arg1
= (wxGrid
*) 0 ;
13987 wxColour
*arg2
= 0 ;
13989 PyObject
* obj0
= 0 ;
13990 PyObject
* obj1
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self",(char *) "c", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14000 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 Py_INCREF(Py_None
); resultobj
= Py_None
;
14016 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxGrid
*arg1
= (wxGrid
*) 0 ;
14019 wxColour
*arg2
= 0 ;
14021 PyObject
* obj0
= 0 ;
14022 PyObject
* obj1
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self",(char *) "c", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 Py_INCREF(Py_None
); resultobj
= Py_None
;
14048 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
;
14050 wxGrid
*arg1
= (wxGrid
*) 0 ;
14051 wxString
*arg2
= 0 ;
14052 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
14053 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
14054 bool temp2
= False
;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 PyObject
* obj2
= 0 ;
14058 PyObject
* obj3
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 arg2
= wxString_in_helper(obj1
);
14068 if (arg2
== NULL
) SWIG_fail
;
14071 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14073 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
14074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 Py_INCREF(Py_None
); resultobj
= Py_None
;
14097 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxGrid
*arg1
= (wxGrid
*) 0 ;
14102 wxGridCellEditor
*result
;
14103 PyObject
* obj0
= 0 ;
14104 PyObject
* obj1
= 0 ;
14105 PyObject
* obj2
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self",(char *) "row",(char *) "col", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14113 arg2
= (int) SWIG_AsInt(obj1
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14115 arg3
= (int) SWIG_AsInt(obj2
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= wxPyMake_wxGridCellEditor(result
);
14133 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxGrid
*arg1
= (wxGrid
*) 0 ;
14138 wxGridCellRenderer
*result
;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 PyObject
* obj2
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self",(char *) "row",(char *) "col", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14149 arg2
= (int) SWIG_AsInt(obj1
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14151 arg3
= (int) SWIG_AsInt(obj2
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14169 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxGrid
*arg1
= (wxGrid
*) 0 ;
14172 wxString
*arg2
= 0 ;
14173 wxGridCellEditor
*result
;
14174 bool temp2
= False
;
14175 PyObject
* obj0
= 0 ;
14176 PyObject
* obj1
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self",(char *) "typeName", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 arg2
= wxString_in_helper(obj1
);
14186 if (arg2
== NULL
) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= wxPyMake_wxGridCellEditor(result
);
14213 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxGrid
*arg1
= (wxGrid
*) 0 ;
14216 wxString
*arg2
= 0 ;
14217 wxGridCellRenderer
*result
;
14218 bool temp2
= False
;
14219 PyObject
* obj0
= 0 ;
14220 PyObject
* obj1
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self",(char *) "typeName", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14229 arg2
= wxString_in_helper(obj1
);
14230 if (arg2
== NULL
) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14257 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxGrid
*arg1
= (wxGrid
*) 0 ;
14262 PyObject
* obj0
= 0 ;
14263 PyObject
* obj1
= 0 ;
14264 PyObject
* obj2
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14272 arg2
= (int) SWIG_AsInt(obj1
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14274 arg3
= (int) SWIG_AsInt(obj2
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 (arg1
)->SetMargins(arg2
,arg3
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 Py_INCREF(Py_None
); resultobj
= Py_None
;
14290 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxGrid
*arg1
= (wxGrid
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= wxPyMake_wxObject(result
);
14318 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxGrid
*arg1
= (wxGrid
*) 0 ;
14322 PyObject
* obj0
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= wxPyMake_wxObject(result
);
14346 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxGrid
*arg1
= (wxGrid
*) 0 ;
14350 PyObject
* obj0
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "self", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= wxPyMake_wxObject(result
);
14374 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxGrid
*arg1
= (wxGrid
*) 0 ;
14378 PyObject
* obj0
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "self", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= wxPyMake_wxObject(result
);
14402 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14405 wxVisualAttributes result
;
14406 PyObject
* obj0
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "variant", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14413 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14417 if (!wxPyCheckForApp()) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= wxGrid::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14425 wxVisualAttributes
* resultptr
;
14426 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14435 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
14437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14438 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14440 return Py_BuildValue((char *)"");
14442 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14446 wxGrid
*arg3
= (wxGrid
*) 0 ;
14447 int arg4
= (int) -1 ;
14448 int arg5
= (int) -1 ;
14449 int arg6
= (int) -1 ;
14450 int arg7
= (int) -1 ;
14451 bool arg8
= (bool) True
;
14452 bool arg9
= (bool) False
;
14453 bool arg10
= (bool) False
;
14454 bool arg11
= (bool) False
;
14455 bool arg12
= (bool) False
;
14456 wxGridEvent
*result
;
14457 PyObject
* obj0
= 0 ;
14458 PyObject
* obj1
= 0 ;
14459 PyObject
* obj2
= 0 ;
14460 PyObject
* obj3
= 0 ;
14461 PyObject
* obj4
= 0 ;
14462 PyObject
* obj5
= 0 ;
14463 PyObject
* obj6
= 0 ;
14464 PyObject
* obj7
= 0 ;
14465 PyObject
* obj8
= 0 ;
14466 PyObject
* obj9
= 0 ;
14467 PyObject
* obj10
= 0 ;
14468 PyObject
* obj11
= 0 ;
14469 char *kwnames
[] = {
14470 (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
14473 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
;
14474 arg1
= (int) SWIG_AsInt(obj0
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14476 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 arg4
= (int) SWIG_AsInt(obj3
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 arg5
= (int) SWIG_AsInt(obj4
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14489 arg6
= (int) SWIG_AsInt(obj5
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14493 arg7
= (int) SWIG_AsInt(obj6
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14497 arg8
= (bool) SWIG_AsBool(obj7
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14501 arg9
= (bool) SWIG_AsBool(obj8
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14505 arg10
= (bool) SWIG_AsBool(obj9
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 arg11
= (bool) SWIG_AsBool(obj10
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 arg12
= (bool) SWIG_AsBool(obj11
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
14530 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14534 PyObject
* obj0
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "self", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (int)(arg1
)->GetRow();
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_FromInt((int)result
);
14556 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14560 PyObject
* obj0
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= (int)(arg1
)->GetCol();
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= SWIG_FromInt((int)result
);
14582 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (arg1
)->GetPosition();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 wxPoint
* resultptr
;
14603 resultptr
= new wxPoint((wxPoint
&) result
);
14604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14612 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (bool)(arg1
)->Selecting();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14640 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (bool)(arg1
)->ControlDown();
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14668 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14672 PyObject
* obj0
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (bool)(arg1
)->MetaDown();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14696 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 result
= (bool)(arg1
)->ShiftDown();
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14724 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 result
= (bool)(arg1
)->AltDown();
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14752 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14755 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14757 return Py_BuildValue((char *)"");
14759 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14763 wxGrid
*arg3
= (wxGrid
*) 0 ;
14764 int arg4
= (int) -1 ;
14765 int arg5
= (int) -1 ;
14766 int arg6
= (int) -1 ;
14767 bool arg7
= (bool) False
;
14768 bool arg8
= (bool) False
;
14769 bool arg9
= (bool) False
;
14770 bool arg10
= (bool) False
;
14771 wxGridSizeEvent
*result
;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 PyObject
* obj2
= 0 ;
14775 PyObject
* obj3
= 0 ;
14776 PyObject
* obj4
= 0 ;
14777 PyObject
* obj5
= 0 ;
14778 PyObject
* obj6
= 0 ;
14779 PyObject
* obj7
= 0 ;
14780 PyObject
* obj8
= 0 ;
14781 PyObject
* obj9
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14787 arg1
= (int) SWIG_AsInt(obj0
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14789 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14791 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14794 arg4
= (int) SWIG_AsInt(obj3
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 arg5
= (int) SWIG_AsInt(obj4
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14802 arg6
= (int) SWIG_AsInt(obj5
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 arg7
= (bool) SWIG_AsBool(obj6
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14810 arg8
= (bool) SWIG_AsBool(obj7
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14814 arg9
= (bool) SWIG_AsBool(obj8
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14818 arg10
= (bool) SWIG_AsBool(obj9
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
14835 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
14845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (int)(arg1
)->GetRowOrCol();
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= SWIG_FromInt((int)result
);
14861 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (arg1
)->GetPosition();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14881 wxPoint
* resultptr
;
14882 resultptr
= new wxPoint((wxPoint
&) result
);
14883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14891 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 char *kwnames
[] = {
14897 (char *) "self", NULL
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= (bool)(arg1
)->ControlDown();
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14919 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14923 PyObject
* obj0
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "self", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (bool)(arg1
)->MetaDown();
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14947 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (bool)(arg1
)->ShiftDown();
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14975 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14979 PyObject
* obj0
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (bool)(arg1
)->AltDown();
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15003 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15006 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
15008 return Py_BuildValue((char *)"");
15010 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15014 wxGrid
*arg3
= (wxGrid
*) 0 ;
15015 wxGridCellCoords
*arg4
= 0 ;
15016 wxGridCellCoords
*arg5
= 0 ;
15017 bool arg6
= (bool) True
;
15018 bool arg7
= (bool) False
;
15019 bool arg8
= (bool) False
;
15020 bool arg9
= (bool) False
;
15021 bool arg10
= (bool) False
;
15022 wxGridRangeSelectEvent
*result
;
15023 wxGridCellCoords temp4
;
15024 wxGridCellCoords temp5
;
15025 PyObject
* obj0
= 0 ;
15026 PyObject
* obj1
= 0 ;
15027 PyObject
* obj2
= 0 ;
15028 PyObject
* obj3
= 0 ;
15029 PyObject
* obj4
= 0 ;
15030 PyObject
* obj5
= 0 ;
15031 PyObject
* obj6
= 0 ;
15032 PyObject
* obj7
= 0 ;
15033 PyObject
* obj8
= 0 ;
15034 PyObject
* obj9
= 0 ;
15035 char *kwnames
[] = {
15036 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15040 arg1
= (int) SWIG_AsInt(obj0
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15042 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15044 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15048 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
15052 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
15055 arg6
= (bool) SWIG_AsBool(obj5
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15059 arg7
= (bool) SWIG_AsBool(obj6
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 arg8
= (bool) SWIG_AsBool(obj7
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 arg9
= (bool) SWIG_AsBool(obj8
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15071 arg10
= (bool) SWIG_AsBool(obj9
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
15088 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15091 wxGridCellCoords result
;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (arg1
)->GetTopLeftCoords();
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15108 wxGridCellCoords
* resultptr
;
15109 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
15110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
15118 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15121 wxGridCellCoords result
;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (arg1
)->GetBottomRightCoords();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15138 wxGridCellCoords
* resultptr
;
15139 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
15140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
15148 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (int)(arg1
)->GetTopRow();
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= SWIG_FromInt((int)result
);
15174 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (int)(arg1
)->GetBottomRow();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_FromInt((int)result
);
15200 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15204 PyObject
* obj0
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (int)(arg1
)->GetLeftCol();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_FromInt((int)result
);
15226 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (int)(arg1
)->GetRightCol();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= SWIG_FromInt((int)result
);
15252 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (bool)(arg1
)->Selecting();
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15280 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 result
= (bool)(arg1
)->ControlDown();
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15308 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15309 PyObject
*resultobj
;
15310 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15312 PyObject
* obj0
= 0 ;
15313 char *kwnames
[] = {
15314 (char *) "self", NULL
15317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 result
= (bool)(arg1
)->MetaDown();
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15336 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 result
= (bool)(arg1
)->ShiftDown();
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15364 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15368 PyObject
* obj0
= 0 ;
15369 char *kwnames
[] = {
15370 (char *) "self", NULL
15373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= (bool)(arg1
)->AltDown();
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15392 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15395 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15397 return Py_BuildValue((char *)"");
15399 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15403 wxObject
*arg3
= (wxObject
*) 0 ;
15406 wxControl
*arg6
= (wxControl
*) 0 ;
15407 wxGridEditorCreatedEvent
*result
;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 PyObject
* obj2
= 0 ;
15411 PyObject
* obj3
= 0 ;
15412 PyObject
* obj4
= 0 ;
15413 PyObject
* obj5
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15419 arg1
= (int) SWIG_AsInt(obj0
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15421 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15423 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
,
15424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 arg4
= (int) SWIG_AsInt(obj3
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15427 arg5
= (int) SWIG_AsInt(obj4
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15429 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15445 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15449 PyObject
* obj0
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (int)(arg1
)->GetRow();
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= SWIG_FromInt((int)result
);
15471 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (int)(arg1
)->GetCol();
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_FromInt((int)result
);
15497 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= (wxControl
*)(arg1
)->GetControl();
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= wxPyMake_wxObject(result
);
15525 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
;
15527 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "self",(char *) "row", NULL
15535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15538 arg2
= (int) SWIG_AsInt(obj1
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 (arg1
)->SetRow(arg2
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 Py_INCREF(Py_None
); resultobj
= Py_None
;
15554 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self",(char *) "col", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15567 arg2
= (int) SWIG_AsInt(obj1
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 (arg1
)->SetCol(arg2
);
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 Py_INCREF(Py_None
); resultobj
= Py_None
;
15583 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15586 wxControl
*arg2
= (wxControl
*) 0 ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "ctrl", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 (arg1
)->SetControl(arg2
);
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 Py_INCREF(Py_None
); resultobj
= Py_None
;
15612 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15615 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15617 return Py_BuildValue((char *)"");
15619 static PyMethodDef SwigMethods
[] = {
15620 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15621 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15622 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15623 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15624 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15625 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15626 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15627 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
15628 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15629 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15630 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15631 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
15632 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15633 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
15634 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15635 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
15636 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15637 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15638 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15639 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15640 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15641 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
15642 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15643 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
15644 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15645 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
15646 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15647 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
15648 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15649 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
15650 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15651 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15652 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15653 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15654 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15655 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15656 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15657 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15658 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15659 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15660 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15661 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15662 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15663 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15664 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15665 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15666 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15667 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15668 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15669 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15670 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15671 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15672 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
15673 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15674 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15675 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15676 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15677 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15678 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15679 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15680 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15681 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15682 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15683 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15684 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
15685 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15686 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15687 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
15688 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15689 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15690 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
15691 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15692 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15693 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
15694 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15695 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15696 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
15697 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15698 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15699 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
15700 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15701 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15702 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
15703 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15704 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15705 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
15706 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15707 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15708 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15709 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15710 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15711 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15712 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15713 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15714 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15715 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15716 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15717 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15718 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15719 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15720 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15721 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15722 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15723 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15724 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15725 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15726 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15727 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15728 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15729 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
15730 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15731 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15732 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15733 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15734 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15735 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15736 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15737 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15738 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15739 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
15740 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15741 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
15742 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15743 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15744 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15745 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15746 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15747 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15748 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15749 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15750 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
15751 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15752 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15753 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15754 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15755 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15756 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15757 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
15758 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15759 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15760 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15761 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15762 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15763 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15764 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15765 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15766 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15767 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15768 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15769 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15770 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15771 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15772 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15773 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15774 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15775 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15776 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15777 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15778 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15779 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15780 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15781 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15782 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15783 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15784 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15785 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15786 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15787 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15788 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15789 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15790 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15791 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15792 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15793 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
15794 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15795 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15796 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15797 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15798 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15799 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15800 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15801 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15802 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15803 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15804 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15805 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15806 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15807 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15808 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15809 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15810 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15811 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15812 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15813 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15814 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15815 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15816 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
15817 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15818 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
15819 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15820 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15821 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15822 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15823 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15824 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15825 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15826 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15827 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15828 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15829 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
15830 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15831 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15832 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15833 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15834 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15835 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15836 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15837 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15838 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15839 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
},
15840 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
15841 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
15842 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
},
15843 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
},
15844 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15845 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15846 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15847 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15848 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15849 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15850 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15851 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15852 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15853 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15854 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15855 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15856 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15857 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15858 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15859 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15860 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15861 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15862 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15863 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15864 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15865 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15866 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15867 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15868 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15869 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15870 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15871 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15872 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15873 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15874 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15875 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15876 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15877 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15878 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15879 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15880 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15881 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15882 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15883 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15884 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15885 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15886 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15887 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15888 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15889 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15890 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15891 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15892 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15893 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15894 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15895 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15896 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15897 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15898 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15899 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15900 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15901 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15902 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15903 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15904 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15905 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15906 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15907 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15908 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15909 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15910 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15911 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15912 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15913 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15914 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15915 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15916 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15917 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15918 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15919 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15920 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15921 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15922 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15923 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15924 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15925 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15926 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15927 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15928 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15929 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15930 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15931 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15932 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15933 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15934 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15935 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15936 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15937 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15938 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15939 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15940 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15941 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15942 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15943 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15944 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15945 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15946 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15947 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15948 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15949 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15950 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15951 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15952 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15953 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15954 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15955 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15956 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15957 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15958 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15959 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15960 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15961 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15962 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15963 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15964 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15965 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15966 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15967 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15968 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15969 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15970 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15971 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15972 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15973 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15974 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15975 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15976 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15977 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15978 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15979 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15980 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15981 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15982 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15983 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15984 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15985 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15986 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15987 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15988 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15989 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15990 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15991 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15992 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15993 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15994 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15995 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15996 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15997 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15998 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15999 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
16000 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
16001 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
16002 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
16003 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
16004 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
16005 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
16006 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
16007 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
16008 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
16009 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
16010 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
16011 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
16012 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
16013 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
16014 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
16015 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
16016 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
16017 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
16018 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
16019 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
16020 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
16021 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
16022 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
16023 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
16024 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
16025 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
16026 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
16027 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
16028 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
16029 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
16030 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
16031 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
16032 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
16033 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
16034 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
16035 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
16036 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
16037 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
16038 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
16039 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
16040 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
16041 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
16042 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
16043 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
16044 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
16045 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
16046 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
16047 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
16048 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
16049 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
16050 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
16051 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
16052 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
16053 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
16054 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
16055 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
16056 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
16057 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
16058 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
16059 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
16060 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
16061 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
16062 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
16063 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
16064 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
16065 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
16066 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
16067 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
16068 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
16069 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
16070 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
16071 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
16076 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16078 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
16079 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
16081 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
16082 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
16084 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
16085 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16087 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
16088 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16090 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
16091 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
16093 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
16094 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16096 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
16097 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16099 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
16100 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16102 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
16103 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16105 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
16106 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16108 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
16109 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16111 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
16112 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16114 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
16115 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16117 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
16118 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
16120 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
16121 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16123 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
16124 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16126 static void *_p_wxGridTo_p_wxPanel(void *x
) {
16127 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
16129 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
16130 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16132 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
16133 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16135 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
16136 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
16138 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
16139 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16141 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
16142 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
16144 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
16145 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16147 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
16148 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16150 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
16151 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16153 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
16154 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16156 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
16157 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
16159 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
16160 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16162 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
16163 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
16165 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
16166 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16168 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
16169 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16171 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
16172 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16174 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
16175 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
16177 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
16178 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
16180 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
16181 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16183 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
16184 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16186 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
16187 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16189 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
16190 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16192 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
16193 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16195 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
16196 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16198 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
16199 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16201 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
16202 return (void *)((wxWindow
*) ((wxPanel
*) x
));
16204 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
16205 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
16207 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
16208 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
16210 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
16211 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16213 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
16214 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
16216 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
16217 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16219 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
16220 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
16222 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
16223 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16225 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
16226 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
16228 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
16229 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
16231 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
16232 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
16234 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
16235 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
16237 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
16238 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
16240 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
16241 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16243 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16244 return (void *)((wxWindow
*) ((wxControl
*) x
));
16246 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
16247 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16249 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
16250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16252 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
16253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16255 static void *_p_wxGridTo_p_wxWindow(void *x
) {
16256 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16258 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16259 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16261 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
16262 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
16264 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
16265 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16267 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16268 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16270 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16271 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16273 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16274 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16276 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16277 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16279 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16280 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16282 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16285 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16286 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16288 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16289 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16291 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16292 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16294 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16295 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16297 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16298 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16300 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16301 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16303 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16304 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16306 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16307 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16309 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16310 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16312 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16313 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16315 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16316 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16318 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16319 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16321 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16322 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16324 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16325 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16327 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16328 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16330 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16331 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16333 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16336 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16337 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16339 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16340 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16342 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16343 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16345 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16346 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16348 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16349 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16351 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16354 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16355 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16357 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16358 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16360 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16361 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16363 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16364 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16366 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16367 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16369 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16370 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16372 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16373 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16375 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16376 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16378 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16379 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16381 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16384 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16385 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16387 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16388 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16390 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16391 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16393 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16394 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16396 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16397 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16399 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16402 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16403 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16405 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16406 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16408 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16411 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16414 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16415 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16417 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16418 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16420 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16421 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16423 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16424 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16426 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16427 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16429 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16430 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16432 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16433 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16435 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16436 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16438 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16439 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16441 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16442 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16444 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16445 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16447 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16450 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16453 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16454 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16456 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16457 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16459 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16462 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16463 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16465 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16466 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16468 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16469 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16471 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16472 return (void *)((wxObject
*) ((wxSizer
*) x
));
16474 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16475 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16477 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16480 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16483 static void *_p_wxEventTo_p_wxObject(void *x
) {
16484 return (void *)((wxObject
*) ((wxEvent
*) x
));
16486 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16487 return (void *)((wxObject
*) ((wxFontData
*) x
));
16489 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16490 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16492 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16493 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16495 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16496 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16498 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16499 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16501 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16502 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16504 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16505 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16507 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16510 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16511 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16513 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16514 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16516 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16517 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16519 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16520 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16522 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16523 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16525 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16526 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16528 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16529 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16531 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16534 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16537 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16540 static void *_p_wxControlTo_p_wxObject(void *x
) {
16541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16543 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16544 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16546 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16549 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16550 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16552 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16553 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16555 static void *_p_wxGridTo_p_wxObject(void *x
) {
16556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16558 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16559 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16561 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16564 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16565 return (void *)((wxObject
*) ((wxColourData
*) x
));
16567 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16568 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16570 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16573 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16576 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16579 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16582 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16585 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16588 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16591 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16594 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16597 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16600 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16601 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16603 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16604 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16606 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16607 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16609 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16610 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16612 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16615 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16616 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16618 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16619 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16621 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16622 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16624 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16625 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16627 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16628 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16630 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16631 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16633 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16636 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16639 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16640 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16642 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16643 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16645 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16646 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16648 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16651 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16654 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16655 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16657 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16658 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16660 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16661 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16663 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16666 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16667 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16669 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16670 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16672 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16673 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16675 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16676 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16678 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16681 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16684 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16687 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16688 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16690 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16693 static void *_p_wxImageTo_p_wxObject(void *x
) {
16694 return (void *)((wxObject
*) ((wxImage
*) x
));
16696 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16699 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16700 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16702 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16703 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16705 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16706 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16708 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16711 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16714 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16717 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16718 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16720 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16721 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16723 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16724 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16726 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16727 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16729 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16732 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16735 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16738 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16741 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16744 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16747 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16750 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16753 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16756 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
16759 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16762 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
16763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
16765 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
16766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16768 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
16769 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
16771 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
16772 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
16774 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
16775 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
16777 static void *_p_wxPanelTo_p_wxObject(void *x
) {
16778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
16780 static void *_p_wxDialogTo_p_wxObject(void *x
) {
16781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16783 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
16784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16786 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
16787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16789 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
16790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16792 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
16793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16795 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
16796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16798 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16799 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16801 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16804 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16805 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16807 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16808 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16810 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16811 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16813 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16814 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16816 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16817 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16819 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
16820 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
16822 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
16823 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16825 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16826 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16828 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16829 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16831 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
16832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16834 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
16835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16837 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16838 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16840 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16841 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16843 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16846 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16849 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
16850 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
16852 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
16853 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
16855 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16858 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16859 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16861 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
16862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16864 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
16865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16867 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
16868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16870 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
16871 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
16873 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
16874 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
16876 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
16877 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
16879 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
16880 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
16882 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
16883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16885 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
16886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16888 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
16889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16891 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
16892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16894 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
16895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16897 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
16898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16900 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
16901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16903 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
16904 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
16906 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
16907 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
16909 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
16910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16912 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
16913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
16915 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
16916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16918 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
16919 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
16921 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
16922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16924 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
16925 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
16927 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
16928 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
16930 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
16931 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
16933 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
16934 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
16936 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
16937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16939 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
16940 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
16942 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
16943 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
16945 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
16946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16948 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
16949 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
16951 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
16952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16954 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
16955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16957 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
16958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16960 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
16961 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
16963 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
16964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16966 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
16967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16969 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
16970 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
16972 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
16973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16975 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
16976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16978 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
16979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16981 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16984 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16987 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
16988 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16990 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
16991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16993 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
16994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16996 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
16997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16999 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
17000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
17002 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
17003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
17005 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
17006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
17008 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
17009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
17011 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
17012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
17014 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
17015 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
17017 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
17018 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
17020 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
17021 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
17023 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
17024 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
17026 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
17027 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
17029 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
17030 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17032 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
17033 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
17035 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
17036 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
17038 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
17039 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17041 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
17042 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17044 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
17045 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
17047 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
17048 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17050 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
17051 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17053 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
17054 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
17056 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
17057 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17059 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
17060 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17062 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
17063 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
17065 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
17066 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17068 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
17069 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17071 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
17072 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
17074 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
17075 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
17077 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
17078 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
17080 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
17081 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17083 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
17084 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
17086 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
17087 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
17089 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
17090 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17092 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
17093 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17095 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
17096 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17098 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
17099 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
17101 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
17102 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17104 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}};
17105 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}};
17106 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}};
17107 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}};
17108 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}};
17109 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}};
17110 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}};
17111 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}};
17112 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}};
17113 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}};
17114 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}};
17115 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}};
17116 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}};
17117 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}};
17118 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17119 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}};
17120 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}};
17121 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}};
17122 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}};
17123 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}};
17124 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}};
17125 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}};
17126 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}};
17127 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}};
17128 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}};
17129 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}};
17130 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}};
17131 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}};
17132 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}};
17133 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}};
17134 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}};
17135 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}};
17136 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}};
17137 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}};
17138 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}};
17139 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}};
17140 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}};
17141 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}};
17142 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}};
17143 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}};
17144 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}};
17145 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}};
17146 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}};
17147 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}};
17148 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}};
17149 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}};
17150 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}};
17151 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}};
17152 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}};
17153 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}};
17154 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}};
17155 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}};
17156 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}};
17158 static swig_type_info
*swig_types_initial
[] = {
17159 _swigt__p_wxGridCellAutoWrapStringRenderer
,
17160 _swigt__p_wxGridCellEnumRenderer
,
17161 _swigt__p_wxGridCellDateTimeRenderer
,
17162 _swigt__p_wxGridCellBoolRenderer
,
17163 _swigt__p_wxGridCellFloatRenderer
,
17164 _swigt__p_wxGridCellNumberRenderer
,
17165 _swigt__p_wxPyGridCellRenderer
,
17166 _swigt__p_wxGridCellRenderer
,
17167 _swigt__p_wxGridCellStringRenderer
,
17168 _swigt__p_wxGridCellAttr
,
17169 _swigt__p_wxColour
,
17171 _swigt__p_wxGridTableMessage
,
17173 _swigt__p_wxVisualAttributes
,
17176 _swigt__p_wxNotifyEvent
,
17177 _swigt__p_wxGridRangeSelectEvent
,
17179 _swigt__p_wxGridCellCoords
,
17180 _swigt__p_wxScrolledWindow
,
17181 _swigt__p_wxWindow
,
17183 _swigt__p_wxControl
,
17185 _swigt__p_wxObject
,
17186 _swigt__p_wxGridSizeEvent
,
17189 _swigt__p_wxString
,
17190 _swigt__p_wxEvtHandler
,
17192 _swigt__p_wxGridEvent
,
17193 _swigt__p_wxGridEditorCreatedEvent
,
17194 _swigt__p_wxGridTableBase
,
17195 _swigt__p_wxGridCellNumberEditor
,
17196 _swigt__p_wxPyGridCellEditor
,
17197 _swigt__p_wxGridCellEditor
,
17198 _swigt__p_wxGridCellTextEditor
,
17199 _swigt__p_wxGridCellFloatEditor
,
17200 _swigt__p_wxGridCellBoolEditor
,
17201 _swigt__p_wxPyGridTableBase
,
17202 _swigt__p_wxGridStringTable
,
17203 _swigt__p_wxArrayString
,
17204 _swigt__p_wxCommandEvent
,
17205 _swigt__p_wxGridCellAttrProvider
,
17206 _swigt__p_wxKeyEvent
,
17207 _swigt__p_wxGridCellChoiceEditor
,
17208 _swigt__p_wxGridCellEnumEditor
,
17209 _swigt__p_wxGridCellAutoWrapStringEditor
,
17211 _swigt__p_wxPyGridCellAttrProvider
,
17216 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17218 static swig_const_info swig_const_table
[] = {
17219 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17220 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
17221 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17222 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
17223 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
17224 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17225 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17226 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
17227 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
17237 SWIGEXPORT(void) SWIG_init(void) {
17238 static PyObject
*SWIG_globals
= 0;
17239 static int typeinit
= 0;
17242 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17243 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17244 d
= PyModule_GetDict(m
);
17247 for (i
= 0; swig_types_initial
[i
]; i
++) {
17248 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17252 SWIG_InstallConstants(d
,swig_const_table
);
17254 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17255 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
17256 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17257 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17258 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17259 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17260 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17261 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17262 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17263 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17264 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17265 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
17266 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
17267 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any
));
17268 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default
));
17269 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell
));
17270 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row
));
17271 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col
));
17272 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged
));
17273 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
17274 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
17275 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
17276 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
17277 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
17278 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
17279 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
17280 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
17281 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells
));
17282 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows
));
17283 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns
));
17284 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17285 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17286 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17287 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17288 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17289 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17290 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17291 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17292 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17293 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17294 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17295 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17296 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17297 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17298 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17299 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));